azure-native.blueprint.Assignment
Explore with Pulumi AI
Represents a blueprint assignment. Azure REST API version: 2018-11-01-preview. Prior API version in Azure Native 1.x: 2018-11-01-preview.
Example Usage
Assignment with system-assigned managed identity at management group scope
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var assignment = new AzureNative.Blueprint.Assignment("assignment", new()
    {
        AssignmentName = "assignSimpleBlueprint",
        BlueprintId = "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
        Description = "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
        Identity = new AzureNative.Blueprint.Inputs.ManagedServiceIdentityArgs
        {
            Type = AzureNative.Blueprint.ManagedServiceIdentityType.SystemAssigned,
        },
        Location = "eastus",
        Parameters = 
        {
            { "costCenter", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = "Contoso/Online/Shopping/Production",
            } },
            { "owners", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = new[]
                {
                    "johnDoe@contoso.com",
                    "johnsteam@contoso.com",
                },
            } },
            { "storageAccountType", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = "Standard_LRS",
            } },
        },
        ResourceGroups = 
        {
            { "storageRG", new AzureNative.Blueprint.Inputs.ResourceGroupValueArgs
            {
                Location = "eastus",
                Name = "defaultRG",
            } },
        },
        ResourceScope = "managementGroups/ContosoOnlineGroup",
        Scope = "subscriptions/00000000-0000-0000-0000-000000000000",
    });
});
package main
import (
	blueprint "github.com/pulumi/pulumi-azure-native-sdk/blueprint/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blueprint.NewAssignment(ctx, "assignment", &blueprint.AssignmentArgs{
			AssignmentName: pulumi.String("assignSimpleBlueprint"),
			BlueprintId:    pulumi.String("/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint"),
			Description:    pulumi.String("enforce pre-defined simpleBlueprint to this XXXXXXXX subscription."),
			Identity: &blueprint.ManagedServiceIdentityArgs{
				Type: pulumi.String(blueprint.ManagedServiceIdentityTypeSystemAssigned),
			},
			Location: pulumi.String("eastus"),
			Parameters: blueprint.ParameterValueMap{
				"costCenter": &blueprint.ParameterValueArgs{
					Value: pulumi.Any("Contoso/Online/Shopping/Production"),
				},
				"owners": &blueprint.ParameterValueArgs{
					Value: pulumi.Any{
						"johnDoe@contoso.com",
						"johnsteam@contoso.com",
					},
				},
				"storageAccountType": &blueprint.ParameterValueArgs{
					Value: pulumi.Any("Standard_LRS"),
				},
			},
			ResourceGroups: blueprint.ResourceGroupValueMap{
				"storageRG": &blueprint.ResourceGroupValueArgs{
					Location: pulumi.String("eastus"),
					Name:     pulumi.String("defaultRG"),
				},
			},
			ResourceScope: pulumi.String("managementGroups/ContosoOnlineGroup"),
			Scope:         pulumi.String("subscriptions/00000000-0000-0000-0000-000000000000"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.blueprint.Assignment;
import com.pulumi.azurenative.blueprint.AssignmentArgs;
import com.pulumi.azurenative.blueprint.inputs.ManagedServiceIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var assignment = new Assignment("assignment", AssignmentArgs.builder()
            .assignmentName("assignSimpleBlueprint")
            .blueprintId("/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint")
            .description("enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.")
            .identity(ManagedServiceIdentityArgs.builder()
                .type("SystemAssigned")
                .build())
            .location("eastus")
            .parameters(Map.ofEntries(
                Map.entry("costCenter", Map.of("value", "Contoso/Online/Shopping/Production")),
                Map.entry("owners", Map.of("value",                 
                    "johnDoe@contoso.com",
                    "johnsteam@contoso.com")),
                Map.entry("storageAccountType", Map.of("value", "Standard_LRS"))
            ))
            .resourceGroups(Map.of("storageRG", Map.ofEntries(
                Map.entry("location", "eastus"),
                Map.entry("name", "defaultRG")
            )))
            .resourceScope("managementGroups/ContosoOnlineGroup")
            .scope("subscriptions/00000000-0000-0000-0000-000000000000")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const assignment = new azure_native.blueprint.Assignment("assignment", {
    assignmentName: "assignSimpleBlueprint",
    blueprintId: "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
    description: "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
    identity: {
        type: azure_native.blueprint.ManagedServiceIdentityType.SystemAssigned,
    },
    location: "eastus",
    parameters: {
        costCenter: {
            value: "Contoso/Online/Shopping/Production",
        },
        owners: {
            value: [
                "johnDoe@contoso.com",
                "johnsteam@contoso.com",
            ],
        },
        storageAccountType: {
            value: "Standard_LRS",
        },
    },
    resourceGroups: {
        storageRG: {
            location: "eastus",
            name: "defaultRG",
        },
    },
    resourceScope: "managementGroups/ContosoOnlineGroup",
    scope: "subscriptions/00000000-0000-0000-0000-000000000000",
});
import pulumi
import pulumi_azure_native as azure_native
assignment = azure_native.blueprint.Assignment("assignment",
    assignment_name="assignSimpleBlueprint",
    blueprint_id="/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
    description="enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
    identity={
        "type": azure_native.blueprint.ManagedServiceIdentityType.SYSTEM_ASSIGNED,
    },
    location="eastus",
    parameters={
        "costCenter": {
            "value": "Contoso/Online/Shopping/Production",
        },
        "owners": {
            "value": [
                "johnDoe@contoso.com",
                "johnsteam@contoso.com",
            ],
        },
        "storageAccountType": {
            "value": "Standard_LRS",
        },
    },
    resource_groups={
        "storageRG": {
            "location": "eastus",
            "name": "defaultRG",
        },
    },
    resource_scope="managementGroups/ContosoOnlineGroup",
    scope="subscriptions/00000000-0000-0000-0000-000000000000")
resources:
  assignment:
    type: azure-native:blueprint:Assignment
    properties:
      assignmentName: assignSimpleBlueprint
      blueprintId: /providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint
      description: enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.
      identity:
        type: SystemAssigned
      location: eastus
      parameters:
        costCenter:
          value: Contoso/Online/Shopping/Production
        owners:
          value:
            - johnDoe@contoso.com
            - johnsteam@contoso.com
        storageAccountType:
          value: Standard_LRS
      resourceGroups:
        storageRG:
          location: eastus
          name: defaultRG
      resourceScope: managementGroups/ContosoOnlineGroup
      scope: subscriptions/00000000-0000-0000-0000-000000000000
Assignment with system-assigned managed identity at subscription scope
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var assignment = new AzureNative.Blueprint.Assignment("assignment", new()
    {
        AssignmentName = "assignSimpleBlueprint",
        BlueprintId = "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
        Description = "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
        Identity = new AzureNative.Blueprint.Inputs.ManagedServiceIdentityArgs
        {
            Type = AzureNative.Blueprint.ManagedServiceIdentityType.SystemAssigned,
        },
        Location = "eastus",
        Parameters = 
        {
            { "costCenter", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = "Contoso/Online/Shopping/Production",
            } },
            { "owners", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = new[]
                {
                    "johnDoe@contoso.com",
                    "johnsteam@contoso.com",
                },
            } },
            { "storageAccountType", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = "Standard_LRS",
            } },
        },
        ResourceGroups = 
        {
            { "storageRG", new AzureNative.Blueprint.Inputs.ResourceGroupValueArgs
            {
                Location = "eastus",
                Name = "defaultRG",
            } },
        },
        ResourceScope = "subscriptions/00000000-0000-0000-0000-000000000000",
    });
});
package main
import (
	blueprint "github.com/pulumi/pulumi-azure-native-sdk/blueprint/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blueprint.NewAssignment(ctx, "assignment", &blueprint.AssignmentArgs{
			AssignmentName: pulumi.String("assignSimpleBlueprint"),
			BlueprintId:    pulumi.String("/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint"),
			Description:    pulumi.String("enforce pre-defined simpleBlueprint to this XXXXXXXX subscription."),
			Identity: &blueprint.ManagedServiceIdentityArgs{
				Type: pulumi.String(blueprint.ManagedServiceIdentityTypeSystemAssigned),
			},
			Location: pulumi.String("eastus"),
			Parameters: blueprint.ParameterValueMap{
				"costCenter": &blueprint.ParameterValueArgs{
					Value: pulumi.Any("Contoso/Online/Shopping/Production"),
				},
				"owners": &blueprint.ParameterValueArgs{
					Value: pulumi.Any{
						"johnDoe@contoso.com",
						"johnsteam@contoso.com",
					},
				},
				"storageAccountType": &blueprint.ParameterValueArgs{
					Value: pulumi.Any("Standard_LRS"),
				},
			},
			ResourceGroups: blueprint.ResourceGroupValueMap{
				"storageRG": &blueprint.ResourceGroupValueArgs{
					Location: pulumi.String("eastus"),
					Name:     pulumi.String("defaultRG"),
				},
			},
			ResourceScope: pulumi.String("subscriptions/00000000-0000-0000-0000-000000000000"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.blueprint.Assignment;
import com.pulumi.azurenative.blueprint.AssignmentArgs;
import com.pulumi.azurenative.blueprint.inputs.ManagedServiceIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var assignment = new Assignment("assignment", AssignmentArgs.builder()
            .assignmentName("assignSimpleBlueprint")
            .blueprintId("/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint")
            .description("enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.")
            .identity(ManagedServiceIdentityArgs.builder()
                .type("SystemAssigned")
                .build())
            .location("eastus")
            .parameters(Map.ofEntries(
                Map.entry("costCenter", Map.of("value", "Contoso/Online/Shopping/Production")),
                Map.entry("owners", Map.of("value",                 
                    "johnDoe@contoso.com",
                    "johnsteam@contoso.com")),
                Map.entry("storageAccountType", Map.of("value", "Standard_LRS"))
            ))
            .resourceGroups(Map.of("storageRG", Map.ofEntries(
                Map.entry("location", "eastus"),
                Map.entry("name", "defaultRG")
            )))
            .resourceScope("subscriptions/00000000-0000-0000-0000-000000000000")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const assignment = new azure_native.blueprint.Assignment("assignment", {
    assignmentName: "assignSimpleBlueprint",
    blueprintId: "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
    description: "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
    identity: {
        type: azure_native.blueprint.ManagedServiceIdentityType.SystemAssigned,
    },
    location: "eastus",
    parameters: {
        costCenter: {
            value: "Contoso/Online/Shopping/Production",
        },
        owners: {
            value: [
                "johnDoe@contoso.com",
                "johnsteam@contoso.com",
            ],
        },
        storageAccountType: {
            value: "Standard_LRS",
        },
    },
    resourceGroups: {
        storageRG: {
            location: "eastus",
            name: "defaultRG",
        },
    },
    resourceScope: "subscriptions/00000000-0000-0000-0000-000000000000",
});
import pulumi
import pulumi_azure_native as azure_native
assignment = azure_native.blueprint.Assignment("assignment",
    assignment_name="assignSimpleBlueprint",
    blueprint_id="/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
    description="enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
    identity={
        "type": azure_native.blueprint.ManagedServiceIdentityType.SYSTEM_ASSIGNED,
    },
    location="eastus",
    parameters={
        "costCenter": {
            "value": "Contoso/Online/Shopping/Production",
        },
        "owners": {
            "value": [
                "johnDoe@contoso.com",
                "johnsteam@contoso.com",
            ],
        },
        "storageAccountType": {
            "value": "Standard_LRS",
        },
    },
    resource_groups={
        "storageRG": {
            "location": "eastus",
            "name": "defaultRG",
        },
    },
    resource_scope="subscriptions/00000000-0000-0000-0000-000000000000")
resources:
  assignment:
    type: azure-native:blueprint:Assignment
    properties:
      assignmentName: assignSimpleBlueprint
      blueprintId: /providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint
      description: enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.
      identity:
        type: SystemAssigned
      location: eastus
      parameters:
        costCenter:
          value: Contoso/Online/Shopping/Production
        owners:
          value:
            - johnDoe@contoso.com
            - johnsteam@contoso.com
        storageAccountType:
          value: Standard_LRS
      resourceGroups:
        storageRG:
          location: eastus
          name: defaultRG
      resourceScope: subscriptions/00000000-0000-0000-0000-000000000000
Assignment with user-assigned managed identity at management group scope
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var assignment = new AzureNative.Blueprint.Assignment("assignment", new()
    {
        AssignmentName = "assignSimpleBlueprint",
        BlueprintId = "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
        Description = "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
        Identity = new AzureNative.Blueprint.Inputs.ManagedServiceIdentityArgs
        {
            Type = AzureNative.Blueprint.ManagedServiceIdentityType.UserAssigned,
            UserAssignedIdentities = 
            {
                { "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity", null },
            },
        },
        Location = "eastus",
        Parameters = 
        {
            { "costCenter", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = "Contoso/Online/Shopping/Production",
            } },
            { "owners", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = new[]
                {
                    "johnDoe@contoso.com",
                    "johnsteam@contoso.com",
                },
            } },
            { "storageAccountType", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = "Standard_LRS",
            } },
        },
        ResourceGroups = 
        {
            { "storageRG", new AzureNative.Blueprint.Inputs.ResourceGroupValueArgs
            {
                Location = "eastus",
                Name = "defaultRG",
            } },
        },
        ResourceScope = "managementGroups/ContosoOnlineGroup",
        Scope = "subscriptions/00000000-0000-0000-0000-000000000000",
    });
});
package main
import (
	blueprint "github.com/pulumi/pulumi-azure-native-sdk/blueprint/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blueprint.NewAssignment(ctx, "assignment", &blueprint.AssignmentArgs{
			AssignmentName: pulumi.String("assignSimpleBlueprint"),
			BlueprintId:    pulumi.String("/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint"),
			Description:    pulumi.String("enforce pre-defined simpleBlueprint to this XXXXXXXX subscription."),
			Identity: &blueprint.ManagedServiceIdentityArgs{
				Type: pulumi.String(blueprint.ManagedServiceIdentityTypeUserAssigned),
				UserAssignedIdentities: blueprint.UserAssignedIdentityMap{
					"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity": &blueprint.UserAssignedIdentityArgs{},
				},
			},
			Location: pulumi.String("eastus"),
			Parameters: blueprint.ParameterValueMap{
				"costCenter": &blueprint.ParameterValueArgs{
					Value: pulumi.Any("Contoso/Online/Shopping/Production"),
				},
				"owners": &blueprint.ParameterValueArgs{
					Value: pulumi.Any{
						"johnDoe@contoso.com",
						"johnsteam@contoso.com",
					},
				},
				"storageAccountType": &blueprint.ParameterValueArgs{
					Value: pulumi.Any("Standard_LRS"),
				},
			},
			ResourceGroups: blueprint.ResourceGroupValueMap{
				"storageRG": &blueprint.ResourceGroupValueArgs{
					Location: pulumi.String("eastus"),
					Name:     pulumi.String("defaultRG"),
				},
			},
			ResourceScope: pulumi.String("managementGroups/ContosoOnlineGroup"),
			Scope:         pulumi.String("subscriptions/00000000-0000-0000-0000-000000000000"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.blueprint.Assignment;
import com.pulumi.azurenative.blueprint.AssignmentArgs;
import com.pulumi.azurenative.blueprint.inputs.ManagedServiceIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var assignment = new Assignment("assignment", AssignmentArgs.builder()
            .assignmentName("assignSimpleBlueprint")
            .blueprintId("/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint")
            .description("enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.")
            .identity(ManagedServiceIdentityArgs.builder()
                .type("UserAssigned")
                .userAssignedIdentities(Map.of("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity", ))
                .build())
            .location("eastus")
            .parameters(Map.ofEntries(
                Map.entry("costCenter", Map.of("value", "Contoso/Online/Shopping/Production")),
                Map.entry("owners", Map.of("value",                 
                    "johnDoe@contoso.com",
                    "johnsteam@contoso.com")),
                Map.entry("storageAccountType", Map.of("value", "Standard_LRS"))
            ))
            .resourceGroups(Map.of("storageRG", Map.ofEntries(
                Map.entry("location", "eastus"),
                Map.entry("name", "defaultRG")
            )))
            .resourceScope("managementGroups/ContosoOnlineGroup")
            .scope("subscriptions/00000000-0000-0000-0000-000000000000")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const assignment = new azure_native.blueprint.Assignment("assignment", {
    assignmentName: "assignSimpleBlueprint",
    blueprintId: "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
    description: "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
    identity: {
        type: azure_native.blueprint.ManagedServiceIdentityType.UserAssigned,
        userAssignedIdentities: {
            "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity": {},
        },
    },
    location: "eastus",
    parameters: {
        costCenter: {
            value: "Contoso/Online/Shopping/Production",
        },
        owners: {
            value: [
                "johnDoe@contoso.com",
                "johnsteam@contoso.com",
            ],
        },
        storageAccountType: {
            value: "Standard_LRS",
        },
    },
    resourceGroups: {
        storageRG: {
            location: "eastus",
            name: "defaultRG",
        },
    },
    resourceScope: "managementGroups/ContosoOnlineGroup",
    scope: "subscriptions/00000000-0000-0000-0000-000000000000",
});
import pulumi
import pulumi_azure_native as azure_native
assignment = azure_native.blueprint.Assignment("assignment",
    assignment_name="assignSimpleBlueprint",
    blueprint_id="/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
    description="enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
    identity={
        "type": azure_native.blueprint.ManagedServiceIdentityType.USER_ASSIGNED,
        "user_assigned_identities": {
            "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity": {},
        },
    },
    location="eastus",
    parameters={
        "costCenter": {
            "value": "Contoso/Online/Shopping/Production",
        },
        "owners": {
            "value": [
                "johnDoe@contoso.com",
                "johnsteam@contoso.com",
            ],
        },
        "storageAccountType": {
            "value": "Standard_LRS",
        },
    },
    resource_groups={
        "storageRG": {
            "location": "eastus",
            "name": "defaultRG",
        },
    },
    resource_scope="managementGroups/ContosoOnlineGroup",
    scope="subscriptions/00000000-0000-0000-0000-000000000000")
resources:
  assignment:
    type: azure-native:blueprint:Assignment
    properties:
      assignmentName: assignSimpleBlueprint
      blueprintId: /providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint
      description: enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.
      identity:
        type: UserAssigned
        userAssignedIdentities:
          ? /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity
          : {}
      location: eastus
      parameters:
        costCenter:
          value: Contoso/Online/Shopping/Production
        owners:
          value:
            - johnDoe@contoso.com
            - johnsteam@contoso.com
        storageAccountType:
          value: Standard_LRS
      resourceGroups:
        storageRG:
          location: eastus
          name: defaultRG
      resourceScope: managementGroups/ContosoOnlineGroup
      scope: subscriptions/00000000-0000-0000-0000-000000000000
Assignment with user-assigned managed identity at subscription scope
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var assignment = new AzureNative.Blueprint.Assignment("assignment", new()
    {
        AssignmentName = "assignSimpleBlueprint",
        BlueprintId = "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
        Description = "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
        Identity = new AzureNative.Blueprint.Inputs.ManagedServiceIdentityArgs
        {
            Type = AzureNative.Blueprint.ManagedServiceIdentityType.UserAssigned,
            UserAssignedIdentities = 
            {
                { "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity", null },
            },
        },
        Location = "eastus",
        Parameters = 
        {
            { "costCenter", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = "Contoso/Online/Shopping/Production",
            } },
            { "owners", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = new[]
                {
                    "johnDoe@contoso.com",
                    "johnsteam@contoso.com",
                },
            } },
            { "storageAccountType", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = "Standard_LRS",
            } },
        },
        ResourceGroups = 
        {
            { "storageRG", new AzureNative.Blueprint.Inputs.ResourceGroupValueArgs
            {
                Location = "eastus",
                Name = "defaultRG",
            } },
        },
        ResourceScope = "subscriptions/00000000-0000-0000-0000-000000000000",
    });
});
package main
import (
	blueprint "github.com/pulumi/pulumi-azure-native-sdk/blueprint/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blueprint.NewAssignment(ctx, "assignment", &blueprint.AssignmentArgs{
			AssignmentName: pulumi.String("assignSimpleBlueprint"),
			BlueprintId:    pulumi.String("/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint"),
			Description:    pulumi.String("enforce pre-defined simpleBlueprint to this XXXXXXXX subscription."),
			Identity: &blueprint.ManagedServiceIdentityArgs{
				Type: pulumi.String(blueprint.ManagedServiceIdentityTypeUserAssigned),
				UserAssignedIdentities: blueprint.UserAssignedIdentityMap{
					"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity": &blueprint.UserAssignedIdentityArgs{},
				},
			},
			Location: pulumi.String("eastus"),
			Parameters: blueprint.ParameterValueMap{
				"costCenter": &blueprint.ParameterValueArgs{
					Value: pulumi.Any("Contoso/Online/Shopping/Production"),
				},
				"owners": &blueprint.ParameterValueArgs{
					Value: pulumi.Any{
						"johnDoe@contoso.com",
						"johnsteam@contoso.com",
					},
				},
				"storageAccountType": &blueprint.ParameterValueArgs{
					Value: pulumi.Any("Standard_LRS"),
				},
			},
			ResourceGroups: blueprint.ResourceGroupValueMap{
				"storageRG": &blueprint.ResourceGroupValueArgs{
					Location: pulumi.String("eastus"),
					Name:     pulumi.String("defaultRG"),
				},
			},
			ResourceScope: pulumi.String("subscriptions/00000000-0000-0000-0000-000000000000"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.blueprint.Assignment;
import com.pulumi.azurenative.blueprint.AssignmentArgs;
import com.pulumi.azurenative.blueprint.inputs.ManagedServiceIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var assignment = new Assignment("assignment", AssignmentArgs.builder()
            .assignmentName("assignSimpleBlueprint")
            .blueprintId("/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint")
            .description("enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.")
            .identity(ManagedServiceIdentityArgs.builder()
                .type("UserAssigned")
                .userAssignedIdentities(Map.of("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity", ))
                .build())
            .location("eastus")
            .parameters(Map.ofEntries(
                Map.entry("costCenter", Map.of("value", "Contoso/Online/Shopping/Production")),
                Map.entry("owners", Map.of("value",                 
                    "johnDoe@contoso.com",
                    "johnsteam@contoso.com")),
                Map.entry("storageAccountType", Map.of("value", "Standard_LRS"))
            ))
            .resourceGroups(Map.of("storageRG", Map.ofEntries(
                Map.entry("location", "eastus"),
                Map.entry("name", "defaultRG")
            )))
            .resourceScope("subscriptions/00000000-0000-0000-0000-000000000000")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const assignment = new azure_native.blueprint.Assignment("assignment", {
    assignmentName: "assignSimpleBlueprint",
    blueprintId: "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
    description: "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
    identity: {
        type: azure_native.blueprint.ManagedServiceIdentityType.UserAssigned,
        userAssignedIdentities: {
            "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity": {},
        },
    },
    location: "eastus",
    parameters: {
        costCenter: {
            value: "Contoso/Online/Shopping/Production",
        },
        owners: {
            value: [
                "johnDoe@contoso.com",
                "johnsteam@contoso.com",
            ],
        },
        storageAccountType: {
            value: "Standard_LRS",
        },
    },
    resourceGroups: {
        storageRG: {
            location: "eastus",
            name: "defaultRG",
        },
    },
    resourceScope: "subscriptions/00000000-0000-0000-0000-000000000000",
});
import pulumi
import pulumi_azure_native as azure_native
assignment = azure_native.blueprint.Assignment("assignment",
    assignment_name="assignSimpleBlueprint",
    blueprint_id="/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
    description="enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
    identity={
        "type": azure_native.blueprint.ManagedServiceIdentityType.USER_ASSIGNED,
        "user_assigned_identities": {
            "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity": {},
        },
    },
    location="eastus",
    parameters={
        "costCenter": {
            "value": "Contoso/Online/Shopping/Production",
        },
        "owners": {
            "value": [
                "johnDoe@contoso.com",
                "johnsteam@contoso.com",
            ],
        },
        "storageAccountType": {
            "value": "Standard_LRS",
        },
    },
    resource_groups={
        "storageRG": {
            "location": "eastus",
            "name": "defaultRG",
        },
    },
    resource_scope="subscriptions/00000000-0000-0000-0000-000000000000")
resources:
  assignment:
    type: azure-native:blueprint:Assignment
    properties:
      assignmentName: assignSimpleBlueprint
      blueprintId: /providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint
      description: enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.
      identity:
        type: UserAssigned
        userAssignedIdentities:
          ? /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity
          : {}
      location: eastus
      parameters:
        costCenter:
          value: Contoso/Online/Shopping/Production
        owners:
          value:
            - johnDoe@contoso.com
            - johnsteam@contoso.com
        storageAccountType:
          value: Standard_LRS
      resourceGroups:
        storageRG:
          location: eastus
          name: defaultRG
      resourceScope: subscriptions/00000000-0000-0000-0000-000000000000
Create Assignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Assignment(name: string, args: AssignmentArgs, opts?: CustomResourceOptions);@overload
def Assignment(resource_name: str,
               args: AssignmentArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def Assignment(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               identity: Optional[ManagedServiceIdentityArgs] = None,
               parameters: Optional[Mapping[str, ParameterValueArgs]] = None,
               resource_groups: Optional[Mapping[str, ResourceGroupValueArgs]] = None,
               resource_scope: Optional[str] = None,
               assignment_name: Optional[str] = None,
               blueprint_id: Optional[str] = None,
               description: Optional[str] = None,
               display_name: Optional[str] = None,
               location: Optional[str] = None,
               locks: Optional[AssignmentLockSettingsArgs] = None,
               scope: Optional[str] = None)func NewAssignment(ctx *Context, name string, args AssignmentArgs, opts ...ResourceOption) (*Assignment, error)public Assignment(string name, AssignmentArgs args, CustomResourceOptions? opts = null)
public Assignment(String name, AssignmentArgs args)
public Assignment(String name, AssignmentArgs args, CustomResourceOptions options)
type: azure-native:blueprint:Assignment
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 AssignmentArgs
- 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 AssignmentArgs
- 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 AssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AssignmentArgs
- 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 assignmentResource = new AzureNative.Blueprint.Assignment("assignmentResource", new()
{
    Identity = new AzureNative.Blueprint.Inputs.ManagedServiceIdentityArgs
    {
        Type = "string",
        PrincipalId = "string",
        TenantId = "string",
        UserAssignedIdentities = 
        {
            { "string", new AzureNative.Blueprint.Inputs.UserAssignedIdentityArgs
            {
                ClientId = "string",
                PrincipalId = "string",
            } },
        },
    },
    Parameters = 
    {
        { "string", new AzureNative.Blueprint.Inputs.ParameterValueArgs
        {
            Reference = new AzureNative.Blueprint.Inputs.SecretValueReferenceArgs
            {
                KeyVault = new AzureNative.Blueprint.Inputs.KeyVaultReferenceArgs
                {
                    Id = "string",
                },
                SecretName = "string",
                SecretVersion = "string",
            },
            Value = "any",
        } },
    },
    ResourceGroups = 
    {
        { "string", new AzureNative.Blueprint.Inputs.ResourceGroupValueArgs
        {
            Location = "string",
            Name = "string",
        } },
    },
    ResourceScope = "string",
    AssignmentName = "string",
    BlueprintId = "string",
    Description = "string",
    DisplayName = "string",
    Location = "string",
    Locks = new AzureNative.Blueprint.Inputs.AssignmentLockSettingsArgs
    {
        ExcludedActions = new[]
        {
            "string",
        },
        ExcludedPrincipals = new[]
        {
            "string",
        },
        Mode = "string",
    },
    Scope = "string",
});
example, err := blueprint.NewAssignment(ctx, "assignmentResource", &blueprint.AssignmentArgs{
	Identity: &blueprint.ManagedServiceIdentityArgs{
		Type:        pulumi.String("string"),
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
		UserAssignedIdentities: blueprint.UserAssignedIdentityMap{
			"string": &blueprint.UserAssignedIdentityArgs{
				ClientId:    pulumi.String("string"),
				PrincipalId: pulumi.String("string"),
			},
		},
	},
	Parameters: blueprint.ParameterValueMap{
		"string": &blueprint.ParameterValueArgs{
			Reference: &blueprint.SecretValueReferenceArgs{
				KeyVault: &blueprint.KeyVaultReferenceArgs{
					Id: pulumi.String("string"),
				},
				SecretName:    pulumi.String("string"),
				SecretVersion: pulumi.String("string"),
			},
			Value: pulumi.Any("any"),
		},
	},
	ResourceGroups: blueprint.ResourceGroupValueMap{
		"string": &blueprint.ResourceGroupValueArgs{
			Location: pulumi.String("string"),
			Name:     pulumi.String("string"),
		},
	},
	ResourceScope:  pulumi.String("string"),
	AssignmentName: pulumi.String("string"),
	BlueprintId:    pulumi.String("string"),
	Description:    pulumi.String("string"),
	DisplayName:    pulumi.String("string"),
	Location:       pulumi.String("string"),
	Locks: &blueprint.AssignmentLockSettingsArgs{
		ExcludedActions: pulumi.StringArray{
			pulumi.String("string"),
		},
		ExcludedPrincipals: pulumi.StringArray{
			pulumi.String("string"),
		},
		Mode: pulumi.String("string"),
	},
	Scope: pulumi.String("string"),
})
var assignmentResource = new Assignment("assignmentResource", AssignmentArgs.builder()
    .identity(ManagedServiceIdentityArgs.builder()
        .type("string")
        .principalId("string")
        .tenantId("string")
        .userAssignedIdentities(Map.of("string", Map.ofEntries(
            Map.entry("clientId", "string"),
            Map.entry("principalId", "string")
        )))
        .build())
    .parameters(Map.of("string", Map.ofEntries(
        Map.entry("reference", Map.ofEntries(
            Map.entry("keyVault", Map.of("id", "string")),
            Map.entry("secretName", "string"),
            Map.entry("secretVersion", "string")
        )),
        Map.entry("value", "any")
    )))
    .resourceGroups(Map.of("string", Map.ofEntries(
        Map.entry("location", "string"),
        Map.entry("name", "string")
    )))
    .resourceScope("string")
    .assignmentName("string")
    .blueprintId("string")
    .description("string")
    .displayName("string")
    .location("string")
    .locks(AssignmentLockSettingsArgs.builder()
        .excludedActions("string")
        .excludedPrincipals("string")
        .mode("string")
        .build())
    .scope("string")
    .build());
assignment_resource = azure_native.blueprint.Assignment("assignmentResource",
    identity={
        "type": "string",
        "principal_id": "string",
        "tenant_id": "string",
        "user_assigned_identities": {
            "string": {
                "client_id": "string",
                "principal_id": "string",
            },
        },
    },
    parameters={
        "string": {
            "reference": {
                "key_vault": {
                    "id": "string",
                },
                "secret_name": "string",
                "secret_version": "string",
            },
            "value": "any",
        },
    },
    resource_groups={
        "string": {
            "location": "string",
            "name": "string",
        },
    },
    resource_scope="string",
    assignment_name="string",
    blueprint_id="string",
    description="string",
    display_name="string",
    location="string",
    locks={
        "excluded_actions": ["string"],
        "excluded_principals": ["string"],
        "mode": "string",
    },
    scope="string")
const assignmentResource = new azure_native.blueprint.Assignment("assignmentResource", {
    identity: {
        type: "string",
        principalId: "string",
        tenantId: "string",
        userAssignedIdentities: {
            string: {
                clientId: "string",
                principalId: "string",
            },
        },
    },
    parameters: {
        string: {
            reference: {
                keyVault: {
                    id: "string",
                },
                secretName: "string",
                secretVersion: "string",
            },
            value: "any",
        },
    },
    resourceGroups: {
        string: {
            location: "string",
            name: "string",
        },
    },
    resourceScope: "string",
    assignmentName: "string",
    blueprintId: "string",
    description: "string",
    displayName: "string",
    location: "string",
    locks: {
        excludedActions: ["string"],
        excludedPrincipals: ["string"],
        mode: "string",
    },
    scope: "string",
});
type: azure-native:blueprint:Assignment
properties:
    assignmentName: string
    blueprintId: string
    description: string
    displayName: string
    identity:
        principalId: string
        tenantId: string
        type: string
        userAssignedIdentities:
            string:
                clientId: string
                principalId: string
    location: string
    locks:
        excludedActions:
            - string
        excludedPrincipals:
            - string
        mode: string
    parameters:
        string:
            reference:
                keyVault:
                    id: string
                secretName: string
                secretVersion: string
            value: any
    resourceGroups:
        string:
            location: string
            name: string
    resourceScope: string
    scope: string
Assignment 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 Assignment resource accepts the following input properties:
- Identity
Pulumi.Azure Native. Blueprint. Inputs. Managed Service Identity 
- Managed identity for this blueprint assignment.
- Parameters
Dictionary<string, Pulumi.Azure Native. Blueprint. Inputs. Parameter Value Args> 
- Blueprint assignment parameter values.
- ResourceGroups Dictionary<string, Pulumi.Azure Native. Blueprint. Inputs. Resource Group Value Args> 
- Names and locations of resource group placeholders.
- ResourceScope string
- The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- AssignmentName string
- Name of the blueprint assignment.
- BlueprintId string
- ID of the published version of a blueprint definition.
- Description string
- Multi-line explain this resource.
- DisplayName string
- One-liner string explain this resource.
- Location string
- The location of this blueprint assignment.
- Locks
Pulumi.Azure Native. Blueprint. Inputs. Assignment Lock Settings 
- Defines how resources deployed by a blueprint assignment are locked.
- Scope string
- The target subscription scope of the blueprint assignment (format: '/subscriptions/{subscriptionId}'). For management group level assignments, the property is required.
- Identity
ManagedService Identity Args 
- Managed identity for this blueprint assignment.
- Parameters
map[string]ParameterValue Args 
- Blueprint assignment parameter values.
- ResourceGroups map[string]ResourceGroup Value Args 
- Names and locations of resource group placeholders.
- ResourceScope string
- The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- AssignmentName string
- Name of the blueprint assignment.
- BlueprintId string
- ID of the published version of a blueprint definition.
- Description string
- Multi-line explain this resource.
- DisplayName string
- One-liner string explain this resource.
- Location string
- The location of this blueprint assignment.
- Locks
AssignmentLock Settings Args 
- Defines how resources deployed by a blueprint assignment are locked.
- Scope string
- The target subscription scope of the blueprint assignment (format: '/subscriptions/{subscriptionId}'). For management group level assignments, the property is required.
- identity
ManagedService Identity 
- Managed identity for this blueprint assignment.
- parameters
Map<String,ParameterValue Args> 
- Blueprint assignment parameter values.
- resourceGroups Map<String,ResourceGroup Value Args> 
- Names and locations of resource group placeholders.
- resourceScope String
- The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- assignmentName String
- Name of the blueprint assignment.
- blueprintId String
- ID of the published version of a blueprint definition.
- description String
- Multi-line explain this resource.
- displayName String
- One-liner string explain this resource.
- location String
- The location of this blueprint assignment.
- locks
AssignmentLock Settings 
- Defines how resources deployed by a blueprint assignment are locked.
- scope String
- The target subscription scope of the blueprint assignment (format: '/subscriptions/{subscriptionId}'). For management group level assignments, the property is required.
- identity
ManagedService Identity 
- Managed identity for this blueprint assignment.
- parameters
{[key: string]: ParameterValue Args} 
- Blueprint assignment parameter values.
- resourceGroups {[key: string]: ResourceGroup Value Args} 
- Names and locations of resource group placeholders.
- resourceScope string
- The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- assignmentName string
- Name of the blueprint assignment.
- blueprintId string
- ID of the published version of a blueprint definition.
- description string
- Multi-line explain this resource.
- displayName string
- One-liner string explain this resource.
- location string
- The location of this blueprint assignment.
- locks
AssignmentLock Settings 
- Defines how resources deployed by a blueprint assignment are locked.
- scope string
- The target subscription scope of the blueprint assignment (format: '/subscriptions/{subscriptionId}'). For management group level assignments, the property is required.
- identity
ManagedService Identity Args 
- Managed identity for this blueprint assignment.
- parameters
Mapping[str, ParameterValue Args] 
- Blueprint assignment parameter values.
- resource_groups Mapping[str, ResourceGroup Value Args] 
- Names and locations of resource group placeholders.
- resource_scope str
- The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- assignment_name str
- Name of the blueprint assignment.
- blueprint_id str
- ID of the published version of a blueprint definition.
- description str
- Multi-line explain this resource.
- display_name str
- One-liner string explain this resource.
- location str
- The location of this blueprint assignment.
- locks
AssignmentLock Settings Args 
- Defines how resources deployed by a blueprint assignment are locked.
- scope str
- The target subscription scope of the blueprint assignment (format: '/subscriptions/{subscriptionId}'). For management group level assignments, the property is required.
- identity Property Map
- Managed identity for this blueprint assignment.
- parameters Map<Property Map>
- Blueprint assignment parameter values.
- resourceGroups Map<Property Map>
- Names and locations of resource group placeholders.
- resourceScope String
- The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- assignmentName String
- Name of the blueprint assignment.
- blueprintId String
- ID of the published version of a blueprint definition.
- description String
- Multi-line explain this resource.
- displayName String
- One-liner string explain this resource.
- location String
- The location of this blueprint assignment.
- locks Property Map
- Defines how resources deployed by a blueprint assignment are locked.
- scope String
- The target subscription scope of the blueprint assignment (format: '/subscriptions/{subscriptionId}'). For management group level assignments, the property is required.
Outputs
All input properties are implicitly available as output properties. Additionally, the Assignment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of this resource.
- ProvisioningState string
- State of the blueprint assignment.
- Status
Pulumi.Azure Native. Blueprint. Outputs. Assignment Status Response 
- Status of blueprint assignment. This field is readonly.
- Type string
- Type of this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of this resource.
- ProvisioningState string
- State of the blueprint assignment.
- Status
AssignmentStatus Response 
- Status of blueprint assignment. This field is readonly.
- Type string
- Type of this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of this resource.
- provisioningState String
- State of the blueprint assignment.
- status
AssignmentStatus Response 
- Status of blueprint assignment. This field is readonly.
- type String
- Type of this resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of this resource.
- provisioningState string
- State of the blueprint assignment.
- status
AssignmentStatus Response 
- Status of blueprint assignment. This field is readonly.
- type string
- Type of this resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of this resource.
- provisioning_state str
- State of the blueprint assignment.
- status
AssignmentStatus Response 
- Status of blueprint assignment. This field is readonly.
- type str
- Type of this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of this resource.
- provisioningState String
- State of the blueprint assignment.
- status Property Map
- Status of blueprint assignment. This field is readonly.
- type String
- Type of this resource.
Supporting Types
AssignmentLockMode, AssignmentLockModeArgs      
- None
- None
- AllResources Read Only 
- AllResourcesReadOnly
- AllResources Do Not Delete 
- AllResourcesDoNotDelete
- AssignmentLock Mode None 
- None
- AssignmentLock Mode All Resources Read Only 
- AllResourcesReadOnly
- AssignmentLock Mode All Resources Do Not Delete 
- AllResourcesDoNotDelete
- None
- None
- AllResources Read Only 
- AllResourcesReadOnly
- AllResources Do Not Delete 
- AllResourcesDoNotDelete
- None
- None
- AllResources Read Only 
- AllResourcesReadOnly
- AllResources Do Not Delete 
- AllResourcesDoNotDelete
- NONE
- None
- ALL_RESOURCES_READ_ONLY
- AllResourcesReadOnly
- ALL_RESOURCES_DO_NOT_DELETE
- AllResourcesDoNotDelete
- "None"
- None
- "AllResources Read Only" 
- AllResourcesReadOnly
- "AllResources Do Not Delete" 
- AllResourcesDoNotDelete
AssignmentLockSettings, AssignmentLockSettingsArgs      
- ExcludedActions List<string>
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- ExcludedPrincipals List<string>
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- Mode
string | Pulumi.Azure Native. Blueprint. Assignment Lock Mode 
- Lock mode.
- ExcludedActions []string
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- ExcludedPrincipals []string
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- Mode
string | AssignmentLock Mode 
- Lock mode.
- excludedActions List<String>
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- excludedPrincipals List<String>
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- mode
String | AssignmentLock Mode 
- Lock mode.
- excludedActions string[]
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- excludedPrincipals string[]
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- mode
string | AssignmentLock Mode 
- Lock mode.
- excluded_actions Sequence[str]
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- excluded_principals Sequence[str]
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- mode
str | AssignmentLock Mode 
- Lock mode.
- excludedActions List<String>
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- excludedPrincipals List<String>
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- mode
String | "None" | "AllResources Read Only" | "All Resources Do Not Delete" 
- Lock mode.
AssignmentLockSettingsResponse, AssignmentLockSettingsResponseArgs        
- ExcludedActions List<string>
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- ExcludedPrincipals List<string>
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- Mode string
- Lock mode.
- ExcludedActions []string
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- ExcludedPrincipals []string
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- Mode string
- Lock mode.
- excludedActions List<String>
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- excludedPrincipals List<String>
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- mode String
- Lock mode.
- excludedActions string[]
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- excludedPrincipals string[]
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- mode string
- Lock mode.
- excluded_actions Sequence[str]
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- excluded_principals Sequence[str]
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- mode str
- Lock mode.
- excludedActions List<String>
- List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
- excludedPrincipals List<String>
- List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
- mode String
- Lock mode.
AssignmentStatusResponse, AssignmentStatusResponseArgs      
- LastModified string
- Last modified time of this blueprint definition.
- ManagedResources List<string>
- List of resources that were created by the blueprint assignment.
- TimeCreated string
- Creation time of this blueprint definition.
- LastModified string
- Last modified time of this blueprint definition.
- ManagedResources []string
- List of resources that were created by the blueprint assignment.
- TimeCreated string
- Creation time of this blueprint definition.
- lastModified String
- Last modified time of this blueprint definition.
- managedResources List<String>
- List of resources that were created by the blueprint assignment.
- timeCreated String
- Creation time of this blueprint definition.
- lastModified string
- Last modified time of this blueprint definition.
- managedResources string[]
- List of resources that were created by the blueprint assignment.
- timeCreated string
- Creation time of this blueprint definition.
- last_modified str
- Last modified time of this blueprint definition.
- managed_resources Sequence[str]
- List of resources that were created by the blueprint assignment.
- time_created str
- Creation time of this blueprint definition.
- lastModified String
- Last modified time of this blueprint definition.
- managedResources List<String>
- List of resources that were created by the blueprint assignment.
- timeCreated String
- Creation time of this blueprint definition.
KeyVaultReference, KeyVaultReferenceArgs      
- Id string
- Azure resource ID of the Key Vault.
- Id string
- Azure resource ID of the Key Vault.
- id String
- Azure resource ID of the Key Vault.
- id string
- Azure resource ID of the Key Vault.
- id str
- Azure resource ID of the Key Vault.
- id String
- Azure resource ID of the Key Vault.
KeyVaultReferenceResponse, KeyVaultReferenceResponseArgs        
- Id string
- Azure resource ID of the Key Vault.
- Id string
- Azure resource ID of the Key Vault.
- id String
- Azure resource ID of the Key Vault.
- id string
- Azure resource ID of the Key Vault.
- id str
- Azure resource ID of the Key Vault.
- id String
- Azure resource ID of the Key Vault.
ManagedServiceIdentity, ManagedServiceIdentityArgs      
- Type
string | Pulumi.Azure Native. Blueprint. Managed Service Identity Type 
- Type of the managed identity.
- PrincipalId string
- Azure Active Directory principal ID associated with this Identity.
- TenantId string
- ID of the Azure Active Directory.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Blueprint. Inputs. User Assigned Identity> 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- Type
string | ManagedService Identity Type 
- Type of the managed identity.
- PrincipalId string
- Azure Active Directory principal ID associated with this Identity.
- TenantId string
- ID of the Azure Active Directory.
- UserAssigned map[string]UserIdentities Assigned Identity 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type
String | ManagedService Identity Type 
- Type of the managed identity.
- principalId String
- Azure Active Directory principal ID associated with this Identity.
- tenantId String
- ID of the Azure Active Directory.
- userAssigned Map<String,UserIdentities Assigned Identity> 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type
string | ManagedService Identity Type 
- Type of the managed identity.
- principalId string
- Azure Active Directory principal ID associated with this Identity.
- tenantId string
- ID of the Azure Active Directory.
- userAssigned {[key: string]: UserIdentities Assigned Identity} 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type
str | ManagedService Identity Type 
- Type of the managed identity.
- principal_id str
- Azure Active Directory principal ID associated with this Identity.
- tenant_id str
- ID of the Azure Active Directory.
- user_assigned_ Mapping[str, Useridentities Assigned Identity] 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type
String | "None" | "SystemAssigned" | "User Assigned" 
- Type of the managed identity.
- principalId String
- Azure Active Directory principal ID associated with this Identity.
- tenantId String
- ID of the Azure Active Directory.
- userAssigned Map<Property Map>Identities 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs        
- Type string
- Type of the managed identity.
- PrincipalId string
- Azure Active Directory principal ID associated with this Identity.
- TenantId string
- ID of the Azure Active Directory.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Blueprint. Inputs. User Assigned Identity Response> 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- Type string
- Type of the managed identity.
- PrincipalId string
- Azure Active Directory principal ID associated with this Identity.
- TenantId string
- ID of the Azure Active Directory.
- UserAssigned map[string]UserIdentities Assigned Identity Response 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type String
- Type of the managed identity.
- principalId String
- Azure Active Directory principal ID associated with this Identity.
- tenantId String
- ID of the Azure Active Directory.
- userAssigned Map<String,UserIdentities Assigned Identity Response> 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type string
- Type of the managed identity.
- principalId string
- Azure Active Directory principal ID associated with this Identity.
- tenantId string
- ID of the Azure Active Directory.
- userAssigned {[key: string]: UserIdentities Assigned Identity Response} 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type str
- Type of the managed identity.
- principal_id str
- Azure Active Directory principal ID associated with this Identity.
- tenant_id str
- ID of the Azure Active Directory.
- user_assigned_ Mapping[str, Useridentities Assigned Identity Response] 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
- type String
- Type of the managed identity.
- principalId String
- Azure Active Directory principal ID associated with this Identity.
- tenantId String
- ID of the Azure Active Directory.
- userAssigned Map<Property Map>Identities 
- The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs        
- None
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- ManagedService Identity Type None 
- None
- ManagedService Identity Type System Assigned 
- SystemAssigned
- ManagedService Identity Type User Assigned 
- UserAssigned
- None
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- None
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- "None"
- None
- "SystemAssigned" 
- SystemAssigned
- "UserAssigned" 
- UserAssigned
ParameterValue, ParameterValueArgs    
- Reference
Pulumi.Azure Native. Blueprint. Inputs. Secret Value Reference 
- Parameter value as reference type.
- Value object
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
- Reference
SecretValue Reference 
- Parameter value as reference type.
- Value interface{}
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
- reference
SecretValue Reference 
- Parameter value as reference type.
- value Object
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
- reference
SecretValue Reference 
- Parameter value as reference type.
- value any
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
- reference
SecretValue Reference 
- Parameter value as reference type.
- value Any
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
- reference Property Map
- Parameter value as reference type.
- value Any
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
ParameterValueResponse, ParameterValueResponseArgs      
- Reference
Pulumi.Azure Native. Blueprint. Inputs. Secret Value Reference Response 
- Parameter value as reference type.
- Value object
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
- Reference
SecretValue Reference Response 
- Parameter value as reference type.
- Value interface{}
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
- reference
SecretValue Reference Response 
- Parameter value as reference type.
- value Object
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
- reference
SecretValue Reference Response 
- Parameter value as reference type.
- value any
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
- reference
SecretValue Reference Response 
- Parameter value as reference type.
- value Any
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
- reference Property Map
- Parameter value as reference type.
- value Any
- Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
ResourceGroupValue, ResourceGroupValueArgs      
ResourceGroupValueResponse, ResourceGroupValueResponseArgs        
SecretValueReference, SecretValueReferenceArgs      
- KeyVault Pulumi.Azure Native. Blueprint. Inputs. Key Vault Reference 
- Specifies the reference to a given Azure Key Vault.
- SecretName string
- Name of the secret.
- SecretVersion string
- The version of the secret to use. If left blank, the latest version of the secret is used.
- KeyVault KeyVault Reference 
- Specifies the reference to a given Azure Key Vault.
- SecretName string
- Name of the secret.
- SecretVersion string
- The version of the secret to use. If left blank, the latest version of the secret is used.
- keyVault KeyVault Reference 
- Specifies the reference to a given Azure Key Vault.
- secretName String
- Name of the secret.
- secretVersion String
- The version of the secret to use. If left blank, the latest version of the secret is used.
- keyVault KeyVault Reference 
- Specifies the reference to a given Azure Key Vault.
- secretName string
- Name of the secret.
- secretVersion string
- The version of the secret to use. If left blank, the latest version of the secret is used.
- key_vault KeyVault Reference 
- Specifies the reference to a given Azure Key Vault.
- secret_name str
- Name of the secret.
- secret_version str
- The version of the secret to use. If left blank, the latest version of the secret is used.
- keyVault Property Map
- Specifies the reference to a given Azure Key Vault.
- secretName String
- Name of the secret.
- secretVersion String
- The version of the secret to use. If left blank, the latest version of the secret is used.
SecretValueReferenceResponse, SecretValueReferenceResponseArgs        
- KeyVault Pulumi.Azure Native. Blueprint. Inputs. Key Vault Reference Response 
- Specifies the reference to a given Azure Key Vault.
- SecretName string
- Name of the secret.
- SecretVersion string
- The version of the secret to use. If left blank, the latest version of the secret is used.
- KeyVault KeyVault Reference Response 
- Specifies the reference to a given Azure Key Vault.
- SecretName string
- Name of the secret.
- SecretVersion string
- The version of the secret to use. If left blank, the latest version of the secret is used.
- keyVault KeyVault Reference Response 
- Specifies the reference to a given Azure Key Vault.
- secretName String
- Name of the secret.
- secretVersion String
- The version of the secret to use. If left blank, the latest version of the secret is used.
- keyVault KeyVault Reference Response 
- Specifies the reference to a given Azure Key Vault.
- secretName string
- Name of the secret.
- secretVersion string
- The version of the secret to use. If left blank, the latest version of the secret is used.
- key_vault KeyVault Reference Response 
- Specifies the reference to a given Azure Key Vault.
- secret_name str
- Name of the secret.
- secret_version str
- The version of the secret to use. If left blank, the latest version of the secret is used.
- keyVault Property Map
- Specifies the reference to a given Azure Key Vault.
- secretName String
- Name of the secret.
- secretVersion String
- The version of the secret to use. If left blank, the latest version of the secret is used.
UserAssignedIdentity, UserAssignedIdentityArgs      
- ClientId string
- Client App Id associated with this identity.
- PrincipalId string
- Azure Active Directory principal ID associated with this Identity.
- ClientId string
- Client App Id associated with this identity.
- PrincipalId string
- Azure Active Directory principal ID associated with this Identity.
- clientId String
- Client App Id associated with this identity.
- principalId String
- Azure Active Directory principal ID associated with this Identity.
- clientId string
- Client App Id associated with this identity.
- principalId string
- Azure Active Directory principal ID associated with this Identity.
- client_id str
- Client App Id associated with this identity.
- principal_id str
- Azure Active Directory principal ID associated with this Identity.
- clientId String
- Client App Id associated with this identity.
- principalId String
- Azure Active Directory principal ID associated with this Identity.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs        
- ClientId string
- Client App Id associated with this identity.
- PrincipalId string
- Azure Active Directory principal ID associated with this Identity.
- ClientId string
- Client App Id associated with this identity.
- PrincipalId string
- Azure Active Directory principal ID associated with this Identity.
- clientId String
- Client App Id associated with this identity.
- principalId String
- Azure Active Directory principal ID associated with this Identity.
- clientId string
- Client App Id associated with this identity.
- principalId string
- Azure Active Directory principal ID associated with this Identity.
- client_id str
- Client App Id associated with this identity.
- principal_id str
- Azure Active Directory principal ID associated with this Identity.
- clientId String
- Client App Id associated with this identity.
- principalId String
- Azure Active Directory principal ID associated with this Identity.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:blueprint:Assignment assignSimpleBlueprint /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0