capabilities.work

Create Resource Group and Deploy From Template Link

A 3-step recipe with Microsoft Azure. We can help you get access.

Recipe · 3 steps

Create Resource Group and Deploy From Template Link

with Microsoft Azure · IT Infrastructure Management

Provision a resource group and deploy a linked ARM template, polling to completion.

  1. Create or update the target resource group so the deployment has a scope.
  2. Start an incremental deployment that references the template and parameters by URI rather than embedding them in the request.
  3. Get the deployment and branch on its provisioning state: end on Succeeded, end on Failed or Canceled, otherwise loop back and poll again.
What you'll need to have ready
  • accessToken: An Azure Resource Manager OAuth2 bearer access token.
  • subscriptionId: The ID of the target subscription.
  • resourceGroupName: The name of the resource group to create and deploy into.
  • location: The Azure region for the resource group (e.g. eastus).
  • deploymentName: The name of the deployment.
  • templateUri: The URI of the hosted ARM template JSON file.
  • parametersUri: The URI of the hosted deployment parameters JSON file.
  • apiVersion: The Azure Resource Manager API version.
For your developer

Arazzo workflow microsoft-azure:deploy-from-template-link, 3 operations: ResourceGroups_CreateOrUpdate → putSubscriptionsBySubscriptionIdResourcegroupsByResourceGroupNameDeploymentsByDeploymentName → getSubscriptionsBySubscriptionIdResourcegroupsByResourceGroupNameDeploymentsByDeploymentName. Specs on APIs.io.