1. Packages
  2. Azure Native v2
  3. API Docs
  4. blueprint
  5. Assignment
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. AssignmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. AssignmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AssignmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 = 
    {
        { "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", new[]
        {
            "string",
        } },
        { "excludedPrincipals", new[]
        {
            "string",
        } },
        { "mode", "string" },
    },
    Scope = "string",
});
Copy
example, err := blueprint.NewAssignment(ctx, "assignmentResource", &blueprint.AssignmentArgs{
	Identity: map[string]interface{}{
		"type":        "string",
		"principalId": "string",
		"tenantId":    "string",
		"userAssignedIdentities": map[string]interface{}{
			"string": map[string]interface{}{
				"clientId":    "string",
				"principalId": "string",
			},
		},
	},
	Parameters: map[string]interface{}{
		"string": map[string]interface{}{
			"reference": map[string]interface{}{
				"keyVault": map[string]interface{}{
					"id": "string",
				},
				"secretName":    "string",
				"secretVersion": "string",
			},
			"value": "any",
		},
	},
	ResourceGroups: map[string]interface{}{
		"string": map[string]interface{}{
			"location": "string",
			"name":     "string",
		},
	},
	ResourceScope:  "string",
	AssignmentName: "string",
	BlueprintId:    "string",
	Description:    "string",
	DisplayName:    "string",
	Location:       "string",
	Locks: map[string]interface{}{
		"excludedActions": []string{
			"string",
		},
		"excludedPrincipals": []string{
			"string",
		},
		"mode": "string",
	},
	Scope: "string",
})
Copy
var assignmentResource = new com.pulumi.azurenative.blueprint.Assignment("assignmentResource", com.pulumi.azurenative.blueprint.AssignmentArgs.builder()
    .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .parameters(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroups(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceScope("string")
    .assignmentName("string")
    .blueprintId("string")
    .description("string")
    .displayName("string")
    .location("string")
    .locks(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .scope("string")
    .build());
Copy
assignment_resource = 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,
        },
    },
    resource_groups={
        string: {
            location: string,
            name: string,
        },
    },
    resource_scope=string,
    assignment_name=string,
    blueprint_id=string,
    description=string,
    display_name=string,
    location=string,
    locks={
        excludedActions: [string],
        excludedPrincipals: [string],
        mode: string,
    },
    scope=string)
Copy
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",
});
Copy
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
Copy

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 This property is required. Pulumi.AzureNative.Blueprint.Inputs.ManagedServiceIdentity
Managed identity for this blueprint assignment.
Parameters This property is required. Dictionary<string, Pulumi.AzureNative.Blueprint.Inputs.ParameterValueArgs>
Blueprint assignment parameter values.
ResourceGroups This property is required. Dictionary<string, Pulumi.AzureNative.Blueprint.Inputs.ResourceGroupValueArgs>
Names and locations of resource group placeholders.
ResourceScope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
AssignmentName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The location of this blueprint assignment.
Locks Pulumi.AzureNative.Blueprint.Inputs.AssignmentLockSettings
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 This property is required. ManagedServiceIdentityArgs
Managed identity for this blueprint assignment.
Parameters This property is required. map[string]ParameterValueArgs
Blueprint assignment parameter values.
ResourceGroups This property is required. map[string]ResourceGroupValueArgs
Names and locations of resource group placeholders.
ResourceScope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
AssignmentName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The location of this blueprint assignment.
Locks AssignmentLockSettingsArgs
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 This property is required. ManagedServiceIdentity
Managed identity for this blueprint assignment.
parameters This property is required. Map<String,ParameterValueArgs>
Blueprint assignment parameter values.
resourceGroups This property is required. Map<String,ResourceGroupValueArgs>
Names and locations of resource group placeholders.
resourceScope
This property is required.
Changes to this property will trigger replacement.
String
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
assignmentName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The location of this blueprint assignment.
locks AssignmentLockSettings
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 This property is required. ManagedServiceIdentity
Managed identity for this blueprint assignment.
parameters This property is required. {[key: string]: ParameterValueArgs}
Blueprint assignment parameter values.
resourceGroups This property is required. {[key: string]: ResourceGroupValueArgs}
Names and locations of resource group placeholders.
resourceScope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
assignmentName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The location of this blueprint assignment.
locks AssignmentLockSettings
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 This property is required. ManagedServiceIdentityArgs
Managed identity for this blueprint assignment.
parameters This property is required. Mapping[str, ParameterValueArgs]
Blueprint assignment parameter values.
resource_groups This property is required. Mapping[str, ResourceGroupValueArgs]
Names and locations of resource group placeholders.
resource_scope
This property is required.
Changes to this property will trigger replacement.
str
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
assignment_name Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The location of this blueprint assignment.
locks AssignmentLockSettingsArgs
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 This property is required. Property Map
Managed identity for this blueprint assignment.
parameters This property is required. Map<Property Map>
Blueprint assignment parameter values.
resourceGroups This property is required. Map<Property Map>
Names and locations of resource group placeholders.
resourceScope
This property is required.
Changes to this property will trigger replacement.
String
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
assignmentName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.AzureNative.Blueprint.Outputs.AssignmentStatusResponse
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 AssignmentStatusResponse
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 AssignmentStatusResponse
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 AssignmentStatusResponse
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 AssignmentStatusResponse
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
AllResourcesReadOnly
AllResourcesReadOnly
AllResourcesDoNotDelete
AllResourcesDoNotDelete
AssignmentLockModeNone
None
AssignmentLockModeAllResourcesReadOnly
AllResourcesReadOnly
AssignmentLockModeAllResourcesDoNotDelete
AllResourcesDoNotDelete
None
None
AllResourcesReadOnly
AllResourcesReadOnly
AllResourcesDoNotDelete
AllResourcesDoNotDelete
None
None
AllResourcesReadOnly
AllResourcesReadOnly
AllResourcesDoNotDelete
AllResourcesDoNotDelete
NONE
None
ALL_RESOURCES_READ_ONLY
AllResourcesReadOnly
ALL_RESOURCES_DO_NOT_DELETE
AllResourcesDoNotDelete
"None"
None
"AllResourcesReadOnly"
AllResourcesReadOnly
"AllResourcesDoNotDelete"
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.AzureNative.Blueprint.AssignmentLockMode
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 | AssignmentLockMode
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 | AssignmentLockMode
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 | AssignmentLockMode
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 | AssignmentLockMode
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" | "AllResourcesReadOnly" | "AllResourcesDoNotDelete"
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 This property is required. string
Last modified time of this blueprint definition.
ManagedResources This property is required. List<string>
List of resources that were created by the blueprint assignment.
TimeCreated This property is required. string
Creation time of this blueprint definition.
LastModified This property is required. string
Last modified time of this blueprint definition.
ManagedResources This property is required. []string
List of resources that were created by the blueprint assignment.
TimeCreated This property is required. string
Creation time of this blueprint definition.
lastModified This property is required. String
Last modified time of this blueprint definition.
managedResources This property is required. List<String>
List of resources that were created by the blueprint assignment.
timeCreated This property is required. String
Creation time of this blueprint definition.
lastModified This property is required. string
Last modified time of this blueprint definition.
managedResources This property is required. string[]
List of resources that were created by the blueprint assignment.
timeCreated This property is required. string
Creation time of this blueprint definition.
last_modified This property is required. str
Last modified time of this blueprint definition.
managed_resources This property is required. Sequence[str]
List of resources that were created by the blueprint assignment.
time_created This property is required. str
Creation time of this blueprint definition.
lastModified This property is required. String
Last modified time of this blueprint definition.
managedResources This property is required. List<String>
List of resources that were created by the blueprint assignment.
timeCreated This property is required. String
Creation time of this blueprint definition.

KeyVaultReference
, KeyVaultReferenceArgs

Id This property is required. string
Azure resource ID of the Key Vault.
Id This property is required. string
Azure resource ID of the Key Vault.
id This property is required. String
Azure resource ID of the Key Vault.
id This property is required. string
Azure resource ID of the Key Vault.
id This property is required. str
Azure resource ID of the Key Vault.
id This property is required. String
Azure resource ID of the Key Vault.

KeyVaultReferenceResponse
, KeyVaultReferenceResponseArgs

Id This property is required. string
Azure resource ID of the Key Vault.
Id This property is required. string
Azure resource ID of the Key Vault.
id This property is required. String
Azure resource ID of the Key Vault.
id This property is required. string
Azure resource ID of the Key Vault.
id This property is required. str
Azure resource ID of the Key Vault.
id This property is required. String
Azure resource ID of the Key Vault.

ManagedServiceIdentity
, ManagedServiceIdentityArgs

Type This property is required. string | Pulumi.AzureNative.Blueprint.ManagedServiceIdentityType
Type of the managed identity.
PrincipalId string
Azure Active Directory principal ID associated with this Identity.
TenantId string
ID of the Azure Active Directory.
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.Blueprint.Inputs.UserAssignedIdentity>
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
Type This property is required. string | ManagedServiceIdentityType
Type of the managed identity.
PrincipalId string
Azure Active Directory principal ID associated with this Identity.
TenantId string
ID of the Azure Active Directory.
UserAssignedIdentities map[string]UserAssignedIdentity
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
type This property is required. String | ManagedServiceIdentityType
Type of the managed identity.
principalId String
Azure Active Directory principal ID associated with this Identity.
tenantId String
ID of the Azure Active Directory.
userAssignedIdentities Map<String,UserAssignedIdentity>
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
type This property is required. string | ManagedServiceIdentityType
Type of the managed identity.
principalId string
Azure Active Directory principal ID associated with this Identity.
tenantId string
ID of the Azure Active Directory.
userAssignedIdentities {[key: string]: UserAssignedIdentity}
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
type This property is required. str | ManagedServiceIdentityType
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_identities Mapping[str, UserAssignedIdentity]
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
type This property is required. String | "None" | "SystemAssigned" | "UserAssigned"
Type of the managed identity.
principalId String
Azure Active Directory principal ID associated with this Identity.
tenantId String
ID of the Azure Active Directory.
userAssignedIdentities Map<Property Map>
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.

ManagedServiceIdentityResponse
, ManagedServiceIdentityResponseArgs

Type This property is required. 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.
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.Blueprint.Inputs.UserAssignedIdentityResponse>
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
Type This property is required. 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.
UserAssignedIdentities map[string]UserAssignedIdentityResponse
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
type This property is required. 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.
userAssignedIdentities Map<String,UserAssignedIdentityResponse>
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
type This property is required. 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.
userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
type This property is required. 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_identities Mapping[str, UserAssignedIdentityResponse]
The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.
type This property is required. 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.
userAssignedIdentities Map<Property Map>
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
ManagedServiceIdentityTypeNone
None
ManagedServiceIdentityTypeSystemAssigned
SystemAssigned
ManagedServiceIdentityTypeUserAssigned
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.AzureNative.Blueprint.Inputs.SecretValueReference
Parameter value as reference type.
Value object
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
Reference SecretValueReference
Parameter value as reference type.
Value interface{}
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
reference SecretValueReference
Parameter value as reference type.
value Object
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
reference SecretValueReference
Parameter value as reference type.
value any
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
reference SecretValueReference
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.AzureNative.Blueprint.Inputs.SecretValueReferenceResponse
Parameter value as reference type.
Value object
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
Reference SecretValueReferenceResponse
Parameter value as reference type.
Value interface{}
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
reference SecretValueReferenceResponse
Parameter value as reference type.
value Object
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
reference SecretValueReferenceResponse
Parameter value as reference type.
value any
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
reference SecretValueReferenceResponse
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

Location string
Location of the resource group.
Name string
Name of the resource group.
Location string
Location of the resource group.
Name string
Name of the resource group.
location String
Location of the resource group.
name String
Name of the resource group.
location string
Location of the resource group.
name string
Name of the resource group.
location str
Location of the resource group.
name str
Name of the resource group.
location String
Location of the resource group.
name String
Name of the resource group.

ResourceGroupValueResponse
, ResourceGroupValueResponseArgs

Location string
Location of the resource group.
Name string
Name of the resource group.
Location string
Location of the resource group.
Name string
Name of the resource group.
location String
Location of the resource group.
name String
Name of the resource group.
location string
Location of the resource group.
name string
Name of the resource group.
location str
Location of the resource group.
name str
Name of the resource group.
location String
Location of the resource group.
name String
Name of the resource group.

SecretValueReference
, SecretValueReferenceArgs

KeyVault This property is required. Pulumi.AzureNative.Blueprint.Inputs.KeyVaultReference
Specifies the reference to a given Azure Key Vault.
SecretName This property is required. 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 This property is required. KeyVaultReference
Specifies the reference to a given Azure Key Vault.
SecretName This property is required. 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 This property is required. KeyVaultReference
Specifies the reference to a given Azure Key Vault.
secretName This property is required. 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 This property is required. KeyVaultReference
Specifies the reference to a given Azure Key Vault.
secretName This property is required. 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 This property is required. KeyVaultReference
Specifies the reference to a given Azure Key Vault.
secret_name This property is required. 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 This property is required. Property Map
Specifies the reference to a given Azure Key Vault.
secretName This property is required. 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 This property is required. Pulumi.AzureNative.Blueprint.Inputs.KeyVaultReferenceResponse
Specifies the reference to a given Azure Key Vault.
SecretName This property is required. 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 This property is required. KeyVaultReferenceResponse
Specifies the reference to a given Azure Key Vault.
SecretName This property is required. 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 This property is required. KeyVaultReferenceResponse
Specifies the reference to a given Azure Key Vault.
secretName This property is required. 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 This property is required. KeyVaultReferenceResponse
Specifies the reference to a given Azure Key Vault.
secretName This property is required. 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 This property is required. KeyVaultReferenceResponse
Specifies the reference to a given Azure Key Vault.
secret_name This property is required. 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 This property is required. Property Map
Specifies the reference to a given Azure Key Vault.
secretName This property is required. 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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0