We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a Template Deployment at a Management Group Scope.
Note: Deleting a Deployment at the Management Group Scope will not delete any resources created by the deployment.
Note: Deployments to a Management Group are always Incrementally applied. Existing resources that are not part of the template will not be removed.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleGroup = Output.Create(Azure.Management.GetGroup.InvokeAsync(new Azure.Management.GetGroupArgs
{
Name = "00000000-0000-0000-0000-000000000000",
}));
var exampleGroupTemplateDeployment = new Azure.Management.GroupTemplateDeployment("exampleGroupTemplateDeployment", new Azure.Management.GroupTemplateDeploymentArgs
{
Location = "West Europe",
ManagementGroupId = exampleGroup.Apply(exampleGroup => exampleGroup.Id),
TemplateContent = @"{
""$schema"": ""https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#"",
""contentVersion"": ""1.0.0.0"",
""parameters"": {
""policyAssignmentName"": {
""type"": ""string"",
""defaultValue"": ""[guid(parameters('policyDefinitionID'), resourceGroup().name)]"",
""metadata"": {
""description"": ""Specifies the name of the policy assignment, can be used defined or an idempotent name as the defaultValue provides.""
}
},
""policyDefinitionID"": {
""type"": ""string"",
""metadata"": {
""description"": ""Specifies the ID of the policy definition or policy set definition being assigned.""
}
}
},
""resources"": [
{
""type"": ""Microsoft.Authorization/policyAssignments"",
""name"": ""[parameters('policyAssignmentName')]"",
""apiVersion"": ""2019-09-01"",
""properties"": {
""scope"": ""[subscriptionResourceId('Microsoft.Resources/resourceGroups', resourceGroup().name)]"",
""policyDefinitionId"": ""[parameters('policyDefinitionID')]""
}
}
]
}
",
ParametersContent = @"{
""$schema"": ""https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#"",
""contentVersion"": ""1.0.0.0"",
""parameters"": {
""policyDefinitionID"": {
""value"": ""/providers/Microsoft.Authorization/policyDefinitions/0a914e76-4921-4c19-b460-a2d36003525a""
}
}
}
",
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/management"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleGroup, err := management.LookupGroup(ctx, &management.LookupGroupArgs{
Name: pulumi.StringRef("00000000-0000-0000-0000-000000000000"),
}, nil)
if err != nil {
return err
}
_, err = management.NewGroupTemplateDeployment(ctx, "exampleGroupTemplateDeployment", &management.GroupTemplateDeploymentArgs{
Location: pulumi.String("West Europe"),
ManagementGroupId: pulumi.String(exampleGroup.Id),
TemplateContent: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"", "$", "schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\n", " \"contentVersion\": \"1.0.0.0\",\n", " \"parameters\": {\n", " \"policyAssignmentName\": {\n", " \"type\": \"string\",\n", " \"defaultValue\": \"[guid(parameters('policyDefinitionID'), resourceGroup().name)]\",\n", " \"metadata\": {\n", " \"description\": \"Specifies the name of the policy assignment, can be used defined or an idempotent name as the defaultValue provides.\"\n", " }\n", " },\n", " \"policyDefinitionID\": {\n", " \"type\": \"string\",\n", " \"metadata\": {\n", " \"description\": \"Specifies the ID of the policy definition or policy set definition being assigned.\"\n", " }\n", " }\n", " },\n", " \"resources\": [\n", " {\n", " \"type\": \"Microsoft.Authorization/policyAssignments\",\n", " \"name\": \"[parameters('policyAssignmentName')]\",\n", " \"apiVersion\": \"2019-09-01\",\n", " \"properties\": {\n", " \"scope\": \"[subscriptionResourceId('Microsoft.Resources/resourceGroups', resourceGroup().name)]\",\n", " \"policyDefinitionId\": \"[parameters('policyDefinitionID')]\"\n", " }\n", " }\n", " ]\n", "}\n")),
ParametersContent: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"", "$", "schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#\",\n", " \"contentVersion\": \"1.0.0.0\",\n", " \"parameters\": {\n", " \"policyDefinitionID\": {\n", " \"value\": \"/providers/Microsoft.Authorization/policyDefinitions/0a914e76-4921-4c19-b460-a2d36003525a\"\n", " }\n", " }\n", "}\n")),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleGroup = azure.management.getGroup({
name: "00000000-0000-0000-0000-000000000000",
});
const exampleGroupTemplateDeployment = new azure.management.GroupTemplateDeployment("exampleGroupTemplateDeployment", {
location: "West Europe",
managementGroupId: exampleGroup.then(exampleGroup => exampleGroup.id),
templateContent: `{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"policyAssignmentName": {
"type": "string",
"defaultValue": "[guid(parameters('policyDefinitionID'), resourceGroup().name)]",
"metadata": {
"description": "Specifies the name of the policy assignment, can be used defined or an idempotent name as the defaultValue provides."
}
},
"policyDefinitionID": {
"type": "string",
"metadata": {
"description": "Specifies the ID of the policy definition or policy set definition being assigned."
}
}
},
"resources": [
{
"type": "Microsoft.Authorization/policyAssignments",
"name": "[parameters('policyAssignmentName')]",
"apiVersion": "2019-09-01",
"properties": {
"scope": "[subscriptionResourceId('Microsoft.Resources/resourceGroups', resourceGroup().name)]",
"policyDefinitionId": "[parameters('policyDefinitionID')]"
}
}
]
}
`,
parametersContent: `{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"policyDefinitionID": {
"value": "/providers/Microsoft.Authorization/policyDefinitions/0a914e76-4921-4c19-b460-a2d36003525a"
}
}
}
`,
});
import pulumi
import pulumi_azure as azure
example_group = azure.management.get_group(name="00000000-0000-0000-0000-000000000000")
example_group_template_deployment = azure.management.GroupTemplateDeployment("exampleGroupTemplateDeployment",
location="West Europe",
management_group_id=example_group.id,
template_content="""{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"policyAssignmentName": {
"type": "string",
"defaultValue": "[guid(parameters('policyDefinitionID'), resourceGroup().name)]",
"metadata": {
"description": "Specifies the name of the policy assignment, can be used defined or an idempotent name as the defaultValue provides."
}
},
"policyDefinitionID": {
"type": "string",
"metadata": {
"description": "Specifies the ID of the policy definition or policy set definition being assigned."
}
}
},
"resources": [
{
"type": "Microsoft.Authorization/policyAssignments",
"name": "[parameters('policyAssignmentName')]",
"apiVersion": "2019-09-01",
"properties": {
"scope": "[subscriptionResourceId('Microsoft.Resources/resourceGroups', resourceGroup().name)]",
"policyDefinitionId": "[parameters('policyDefinitionID')]"
}
}
]
}
""",
parameters_content="""{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"policyDefinitionID": {
"value": "/providers/Microsoft.Authorization/policyDefinitions/0a914e76-4921-4c19-b460-a2d36003525a"
}
}
}
""")
Example coming soon!
using System.IO;
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleGroup = Output.Create(Azure.Management.GetGroup.InvokeAsync(new Azure.Management.GetGroupArgs
{
Name = "00000000-0000-0000-0000-000000000000",
}));
var exampleGroupTemplateDeployment = new Azure.Management.GroupTemplateDeployment("exampleGroupTemplateDeployment", new Azure.Management.GroupTemplateDeploymentArgs
{
Location = "West Europe",
ManagementGroupId = exampleGroup.Apply(exampleGroup => exampleGroup.Id),
TemplateContent = File.ReadAllText("templates/example-deploy-template.json"),
ParametersContent = File.ReadAllText("templates/example-deploy-params.json"),
});
}
}
package main
import (
"io/ioutil"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/management"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput {
data, err := ioutil.ReadFile(path)
if err != nil {
panic(err.Error())
}
return pulumi.String(string(data))
}
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleGroup, err := management.LookupGroup(ctx, &management.LookupGroupArgs{
Name: pulumi.StringRef("00000000-0000-0000-0000-000000000000"),
}, nil)
if err != nil {
return err
}
_, err = management.NewGroupTemplateDeployment(ctx, "exampleGroupTemplateDeployment", &management.GroupTemplateDeploymentArgs{
Location: pulumi.String("West Europe"),
ManagementGroupId: pulumi.String(exampleGroup.Id),
TemplateContent: readFileOrPanic("templates/example-deploy-template.json"),
ParametersContent: readFileOrPanic("templates/example-deploy-params.json"),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * from "fs";
const exampleGroup = azure.management.getGroup({
name: "00000000-0000-0000-0000-000000000000",
});
const exampleGroupTemplateDeployment = new azure.management.GroupTemplateDeployment("exampleGroupTemplateDeployment", {
location: "West Europe",
managementGroupId: exampleGroup.then(exampleGroup => exampleGroup.id),
templateContent: fs.readFileSync("templates/example-deploy-template.json"),
parametersContent: fs.readFileSync("templates/example-deploy-params.json"),
});
import pulumi
import pulumi_azure as azure
example_group = azure.management.get_group(name="00000000-0000-0000-0000-000000000000")
example_group_template_deployment = azure.management.GroupTemplateDeployment("exampleGroupTemplateDeployment",
location="West Europe",
management_group_id=example_group.id,
template_content=(lambda path: open(path).read())("templates/example-deploy-template.json"),
parameters_content=(lambda path: open(path).read())("templates/example-deploy-params.json"))
Example coming soon!
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleGroup = Output.Create(Azure.Management.GetGroup.InvokeAsync(new Azure.Management.GetGroupArgs
{
Name = "00000000-0000-0000-0000-000000000000",
}));
var exampleTemplateSpecVersion = Output.Create(Azure.Core.GetTemplateSpecVersion.InvokeAsync(new Azure.Core.GetTemplateSpecVersionArgs
{
Name = "exampleTemplateForManagementGroup",
ResourceGroupName = "exampleResourceGroup",
Version = "v1.0.9",
}));
var exampleGroupTemplateDeployment = new Azure.Management.GroupTemplateDeployment("exampleGroupTemplateDeployment", new Azure.Management.GroupTemplateDeploymentArgs
{
Location = "West Europe",
ManagementGroupId = exampleGroup.Apply(exampleGroup => exampleGroup.Id),
TemplateSpecVersionId = exampleTemplateSpecVersion.Apply(exampleTemplateSpecVersion => exampleTemplateSpecVersion.Id),
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/management"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleGroup, err := management.LookupGroup(ctx, &management.LookupGroupArgs{
Name: pulumi.StringRef("00000000-0000-0000-0000-000000000000"),
}, nil)
if err != nil {
return err
}
exampleTemplateSpecVersion, err := core.GetTemplateSpecVersion(ctx, &core.GetTemplateSpecVersionArgs{
Name: "exampleTemplateForManagementGroup",
ResourceGroupName: "exampleResourceGroup",
Version: "v1.0.9",
}, nil)
if err != nil {
return err
}
_, err = management.NewGroupTemplateDeployment(ctx, "exampleGroupTemplateDeployment", &management.GroupTemplateDeploymentArgs{
Location: pulumi.String("West Europe"),
ManagementGroupId: pulumi.String(exampleGroup.Id),
TemplateSpecVersionId: pulumi.String(exampleTemplateSpecVersion.Id),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleGroup = azure.management.getGroup({
name: "00000000-0000-0000-0000-000000000000",
});
const exampleTemplateSpecVersion = azure.core.getTemplateSpecVersion({
name: "exampleTemplateForManagementGroup",
resourceGroupName: "exampleResourceGroup",
version: "v1.0.9",
});
const exampleGroupTemplateDeployment = new azure.management.GroupTemplateDeployment("exampleGroupTemplateDeployment", {
location: "West Europe",
managementGroupId: exampleGroup.then(exampleGroup => exampleGroup.id),
templateSpecVersionId: exampleTemplateSpecVersion.then(exampleTemplateSpecVersion => exampleTemplateSpecVersion.id),
});
import pulumi
import pulumi_azure as azure
example_group = azure.management.get_group(name="00000000-0000-0000-0000-000000000000")
example_template_spec_version = azure.core.get_template_spec_version(name="exampleTemplateForManagementGroup",
resource_group_name="exampleResourceGroup",
version="v1.0.9")
example_group_template_deployment = azure.management.GroupTemplateDeployment("exampleGroupTemplateDeployment",
location="West Europe",
management_group_id=example_group.id,
template_spec_version_id=example_template_spec_version.id)
Example coming soon!
Create GroupTemplateDeployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GroupTemplateDeployment(name: string, args: GroupTemplateDeploymentArgs, opts?: CustomResourceOptions);@overload
def GroupTemplateDeployment(resource_name: str,
args: GroupTemplateDeploymentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GroupTemplateDeployment(resource_name: str,
opts: Optional[ResourceOptions] = None,
management_group_id: Optional[str] = None,
debug_level: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
parameters_content: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template_content: Optional[str] = None,
template_spec_version_id: Optional[str] = None)func NewGroupTemplateDeployment(ctx *Context, name string, args GroupTemplateDeploymentArgs, opts ...ResourceOption) (*GroupTemplateDeployment, error)public GroupTemplateDeployment(string name, GroupTemplateDeploymentArgs args, CustomResourceOptions? opts = null)
public GroupTemplateDeployment(String name, GroupTemplateDeploymentArgs args)
public GroupTemplateDeployment(String name, GroupTemplateDeploymentArgs args, CustomResourceOptions options)
type: azure:management:GroupTemplateDeployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GroupTemplateDeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GroupTemplateDeploymentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GroupTemplateDeploymentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GroupTemplateDeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GroupTemplateDeploymentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var groupTemplateDeploymentResource = new Azure.Management.GroupTemplateDeployment("groupTemplateDeploymentResource", new()
{
ManagementGroupId = "string",
DebugLevel = "string",
Location = "string",
Name = "string",
ParametersContent = "string",
Tags =
{
{ "string", "string" },
},
TemplateContent = "string",
TemplateSpecVersionId = "string",
});
example, err := management.NewGroupTemplateDeployment(ctx, "groupTemplateDeploymentResource", &management.GroupTemplateDeploymentArgs{
ManagementGroupId: pulumi.String("string"),
DebugLevel: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
ParametersContent: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TemplateContent: pulumi.String("string"),
TemplateSpecVersionId: pulumi.String("string"),
})
var groupTemplateDeploymentResource = new GroupTemplateDeployment("groupTemplateDeploymentResource", GroupTemplateDeploymentArgs.builder()
.managementGroupId("string")
.debugLevel("string")
.location("string")
.name("string")
.parametersContent("string")
.tags(Map.of("string", "string"))
.templateContent("string")
.templateSpecVersionId("string")
.build());
group_template_deployment_resource = azure.management.GroupTemplateDeployment("groupTemplateDeploymentResource",
management_group_id="string",
debug_level="string",
location="string",
name="string",
parameters_content="string",
tags={
"string": "string",
},
template_content="string",
template_spec_version_id="string")
const groupTemplateDeploymentResource = new azure.management.GroupTemplateDeployment("groupTemplateDeploymentResource", {
managementGroupId: "string",
debugLevel: "string",
location: "string",
name: "string",
parametersContent: "string",
tags: {
string: "string",
},
templateContent: "string",
templateSpecVersionId: "string",
});
type: azure:management:GroupTemplateDeployment
properties:
debugLevel: string
location: string
managementGroupId: string
name: string
parametersContent: string
tags:
string: string
templateContent: string
templateSpecVersionId: string
GroupTemplateDeployment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GroupTemplateDeployment resource accepts the following input properties:
- Management
Group stringId - Debug
Level string - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - Location string
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- Name string
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- Parameters
Content string - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Template.
- Template
Content string - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - Template
Spec stringVersion Id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
- Management
Group stringId - Debug
Level string - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - Location string
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- Name string
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- Parameters
Content string - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- map[string]string
- A mapping of tags which should be assigned to the Template.
- Template
Content string - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - Template
Spec stringVersion Id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
- management
Group StringId - debug
Level String - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - location String
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- name String
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- parameters
Content String - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- Map<String,String>
- A mapping of tags which should be assigned to the Template.
- template
Content String - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - template
Spec StringVersion Id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
- management
Group stringId - debug
Level string - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - location string
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- name string
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- parameters
Content string - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Template.
- template
Content string - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - template
Spec stringVersion Id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
- management_
group_ strid - debug_
level str - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - location str
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- name str
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- parameters_
content str - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Template.
- template_
content str - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - template_
spec_ strversion_ id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
- management
Group StringId - debug
Level String - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - location String
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- name String
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- parameters
Content String - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- Map<String>
- A mapping of tags which should be assigned to the Template.
- template
Content String - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - template
Spec StringVersion Id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
Outputs
All input properties are implicitly available as output properties. Additionally, the GroupTemplateDeployment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Output
Content string - The JSON Content of the Outputs of the ARM Template Deployment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Output
Content string - The JSON Content of the Outputs of the ARM Template Deployment.
- id String
- The provider-assigned unique ID for this managed resource.
- output
Content String - The JSON Content of the Outputs of the ARM Template Deployment.
- id string
- The provider-assigned unique ID for this managed resource.
- output
Content string - The JSON Content of the Outputs of the ARM Template Deployment.
- id str
- The provider-assigned unique ID for this managed resource.
- output_
content str - The JSON Content of the Outputs of the ARM Template Deployment.
- id String
- The provider-assigned unique ID for this managed resource.
- output
Content String - The JSON Content of the Outputs of the ARM Template Deployment.
Look up Existing GroupTemplateDeployment Resource
Get an existing GroupTemplateDeployment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GroupTemplateDeploymentState, opts?: CustomResourceOptions): GroupTemplateDeployment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
debug_level: Optional[str] = None,
location: Optional[str] = None,
management_group_id: Optional[str] = None,
name: Optional[str] = None,
output_content: Optional[str] = None,
parameters_content: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
template_content: Optional[str] = None,
template_spec_version_id: Optional[str] = None) -> GroupTemplateDeploymentfunc GetGroupTemplateDeployment(ctx *Context, name string, id IDInput, state *GroupTemplateDeploymentState, opts ...ResourceOption) (*GroupTemplateDeployment, error)public static GroupTemplateDeployment Get(string name, Input<string> id, GroupTemplateDeploymentState? state, CustomResourceOptions? opts = null)public static GroupTemplateDeployment get(String name, Output<String> id, GroupTemplateDeploymentState state, CustomResourceOptions options)resources: _: type: azure:management:GroupTemplateDeployment get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Debug
Level string - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - Location string
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- Management
Group stringId - Name string
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- Output
Content string - The JSON Content of the Outputs of the ARM Template Deployment.
- Parameters
Content string - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Template.
- Template
Content string - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - Template
Spec stringVersion Id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
- Debug
Level string - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - Location string
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- Management
Group stringId - Name string
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- Output
Content string - The JSON Content of the Outputs of the ARM Template Deployment.
- Parameters
Content string - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- map[string]string
- A mapping of tags which should be assigned to the Template.
- Template
Content string - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - Template
Spec stringVersion Id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
- debug
Level String - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - location String
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- management
Group StringId - name String
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- output
Content String - The JSON Content of the Outputs of the ARM Template Deployment.
- parameters
Content String - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- Map<String,String>
- A mapping of tags which should be assigned to the Template.
- template
Content String - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - template
Spec StringVersion Id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
- debug
Level string - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - location string
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- management
Group stringId - name string
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- output
Content string - The JSON Content of the Outputs of the ARM Template Deployment.
- parameters
Content string - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Template.
- template
Content string - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - template
Spec stringVersion Id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
- debug_
level str - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - location str
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- management_
group_ strid - name str
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- output_
content str - The JSON Content of the Outputs of the ARM Template Deployment.
- parameters_
content str - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Template.
- template_
content str - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - template_
spec_ strversion_ id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
- debug
Level String - The Debug Level which should be used for this Resource Group Template Deployment. Possible values are
none,requestContent,responseContentandrequestContent, responseContent. - location String
- The Azure Region where the Template should exist. Changing this forces a new Template to be created.
- management
Group StringId - name String
- The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
- output
Content String - The JSON Content of the Outputs of the ARM Template Deployment.
- parameters
Content String - The contents of the ARM Template parameters file - containing a JSON list of parameters.
- Map<String>
- A mapping of tags which should be assigned to the Template.
- template
Content String - The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with
template_spec_version_id. - template
Spec StringVersion Id - The ID of the Template Spec Version to deploy. Cannot be specified with
template_content.
Import
Management Group Template Deployments can be imported using the resource id, e.g.
$ pulumi import azure:management/groupTemplateDeployment:GroupTemplateDeployment example /providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Resources/deployments/deploy1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
