1. Packages
  2. Azure Native v1
  3. API Docs
  4. blueprint
  5. TemplateArtifact
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.blueprint.TemplateArtifact

Explore with Pulumi AI

Blueprint artifact that deploys a Resource Manager template. API Version: 2018-11-01-preview.

Example Usage

MG-ARMTemplateArtifact

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var templateArtifact = new AzureNative.Blueprint.TemplateArtifact("templateArtifact", new()
    {
        ArtifactName = "storageTemplate",
        BlueprintName = "simpleBlueprint",
        Kind = "template",
        Parameters = 
        {
            { "storageAccountType", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = "[parameters('storageAccountType')]",
            } },
        },
        ResourceGroup = "storageRG",
        ResourceScope = "providers/Microsoft.Management/managementGroups/ContosoOnlineGroup",
        Template = 
        {
            { "contentVersion", "1.0.0.0" },
            { "outputs", 
            {
                { "storageAccountName", 
                {
                    { "type", "string" },
                    { "value", "[variables('storageAccountName')]" },
                } },
            } },
            { "parameters", 
            {
                { "storageAccountType", 
                {
                    { "allowedValues", new[]
                    {
                        "Standard_LRS",
                        "Standard_GRS",
                        "Standard_ZRS",
                        "Premium_LRS",
                    } },
                    { "defaultValue", "Standard_LRS" },
                    { "metadata", 
                    {
                        { "description", "Storage Account type" },
                    } },
                    { "type", "string" },
                } },
            } },
            { "resources", new[]
            {
                
                {
                    { "apiVersion", "2016-01-01" },
                    { "kind", "Storage" },
                    { "location", "[resourceGroup().location]" },
                    { "name", "[variables('storageAccountName')]" },
                    { "properties", null },
                    { "sku", 
                    {
                        { "name", "[parameters('storageAccountType')]" },
                    } },
                    { "type", "Microsoft.Storage/storageAccounts" },
                },
            } },
            { "variables", 
            {
                { "storageAccountName", "[concat(uniquestring(resourceGroup().id), 'standardsa')]" },
            } },
        },
    });

});
Copy
package main

import (
	blueprint "github.com/pulumi/pulumi-azure-native-sdk/blueprint"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blueprint.NewTemplateArtifact(ctx, "templateArtifact", &blueprint.TemplateArtifactArgs{
			ArtifactName:  pulumi.String("storageTemplate"),
			BlueprintName: pulumi.String("simpleBlueprint"),
			Kind:          pulumi.String("template"),
			Parameters: blueprint.ParameterValueMap{
				"storageAccountType": &blueprint.ParameterValueArgs{
					Value: pulumi.Any("[parameters('storageAccountType')]"),
				},
			},
			ResourceGroup: pulumi.String("storageRG"),
			ResourceScope: pulumi.String("providers/Microsoft.Management/managementGroups/ContosoOnlineGroup"),
			Template: pulumi.Any{
				ContentVersion: "1.0.0.0",
				Outputs: map[string]interface{}{
					"storageAccountName": map[string]interface{}{
						"type":  "string",
						"value": "[variables('storageAccountName')]",
					},
				},
				Parameters: map[string]interface{}{
					"storageAccountType": map[string]interface{}{
						"allowedValues": []string{
							"Standard_LRS",
							"Standard_GRS",
							"Standard_ZRS",
							"Premium_LRS",
						},
						"defaultValue": "Standard_LRS",
						"metadata": map[string]interface{}{
							"description": "Storage Account type",
						},
						"type": "string",
					},
				},
				Resources: []map[string]interface{}{
					map[string]interface{}{
						"apiVersion": "2016-01-01",
						"kind":       "Storage",
						"location":   "[resourceGroup().location]",
						"name":       "[variables('storageAccountName')]",
						"properties": nil,
						"sku": map[string]interface{}{
							"name": "[parameters('storageAccountType')]",
						},
						"type": "Microsoft.Storage/storageAccounts",
					},
				},
				Variables: map[string]interface{}{
					"storageAccountName": "[concat(uniquestring(resourceGroup().id), 'standardsa')]",
				},
			},
		})
		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.TemplateArtifact;
import com.pulumi.azurenative.blueprint.TemplateArtifactArgs;
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 templateArtifact = new TemplateArtifact("templateArtifact", TemplateArtifactArgs.builder()        
            .artifactName("storageTemplate")
            .blueprintName("simpleBlueprint")
            .kind("template")
            .parameters(Map.of("storageAccountType", Map.of("value", "[parameters('storageAccountType')]")))
            .resourceGroup("storageRG")
            .resourceScope("providers/Microsoft.Management/managementGroups/ContosoOnlineGroup")
            .template(Map.ofEntries(
                Map.entry("contentVersion", "1.0.0.0"),
                Map.entry("outputs", Map.of("storageAccountName", Map.ofEntries(
                    Map.entry("type", "string"),
                    Map.entry("value", "[variables('storageAccountName')]")
                ))),
                Map.entry("parameters", Map.of("storageAccountType", Map.ofEntries(
                    Map.entry("allowedValues",                     
                        "Standard_LRS",
                        "Standard_GRS",
                        "Standard_ZRS",
                        "Premium_LRS"),
                    Map.entry("defaultValue", "Standard_LRS"),
                    Map.entry("metadata", Map.of("description", "Storage Account type")),
                    Map.entry("type", "string")
                ))),
                Map.entry("resources", Map.ofEntries(
                    Map.entry("apiVersion", "2016-01-01"),
                    Map.entry("kind", "Storage"),
                    Map.entry("location", "[resourceGroup().location]"),
                    Map.entry("name", "[variables('storageAccountName')]"),
                    Map.entry("properties", ),
                    Map.entry("sku", Map.of("name", "[parameters('storageAccountType')]")),
                    Map.entry("type", "Microsoft.Storage/storageAccounts")
                )),
                Map.entry("variables", Map.of("storageAccountName", "[concat(uniquestring(resourceGroup().id), 'standardsa')]"))
            ))
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const templateArtifact = new azure_native.blueprint.TemplateArtifact("templateArtifact", {
    artifactName: "storageTemplate",
    blueprintName: "simpleBlueprint",
    kind: "template",
    parameters: {
        storageAccountType: {
            value: "[parameters('storageAccountType')]",
        },
    },
    resourceGroup: "storageRG",
    resourceScope: "providers/Microsoft.Management/managementGroups/ContosoOnlineGroup",
    template: {
        contentVersion: "1.0.0.0",
        outputs: {
            storageAccountName: {
                type: "string",
                value: "[variables('storageAccountName')]",
            },
        },
        parameters: {
            storageAccountType: {
                allowedValues: [
                    "Standard_LRS",
                    "Standard_GRS",
                    "Standard_ZRS",
                    "Premium_LRS",
                ],
                defaultValue: "Standard_LRS",
                metadata: {
                    description: "Storage Account type",
                },
                type: "string",
            },
        },
        resources: [{
            apiVersion: "2016-01-01",
            kind: "Storage",
            location: "[resourceGroup().location]",
            name: "[variables('storageAccountName')]",
            properties: {},
            sku: {
                name: "[parameters('storageAccountType')]",
            },
            type: "Microsoft.Storage/storageAccounts",
        }],
        variables: {
            storageAccountName: "[concat(uniquestring(resourceGroup().id), 'standardsa')]",
        },
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

template_artifact = azure_native.blueprint.TemplateArtifact("templateArtifact",
    artifact_name="storageTemplate",
    blueprint_name="simpleBlueprint",
    kind="template",
    parameters={
        "storageAccountType": azure_native.blueprint.ParameterValueArgs(
            value="[parameters('storageAccountType')]",
        ),
    },
    resource_group="storageRG",
    resource_scope="providers/Microsoft.Management/managementGroups/ContosoOnlineGroup",
    template={
        "contentVersion": "1.0.0.0",
        "outputs": {
            "storageAccountName": {
                "type": "string",
                "value": "[variables('storageAccountName')]",
            },
        },
        "parameters": {
            "storageAccountType": {
                "allowedValues": [
                    "Standard_LRS",
                    "Standard_GRS",
                    "Standard_ZRS",
                    "Premium_LRS",
                ],
                "defaultValue": "Standard_LRS",
                "metadata": {
                    "description": "Storage Account type",
                },
                "type": "string",
            },
        },
        "resources": [{
            "apiVersion": "2016-01-01",
            "kind": "Storage",
            "location": "[resourceGroup().location]",
            "name": "[variables('storageAccountName')]",
            "properties": {},
            "sku": {
                "name": "[parameters('storageAccountType')]",
            },
            "type": "Microsoft.Storage/storageAccounts",
        }],
        "variables": {
            "storageAccountName": "[concat(uniquestring(resourceGroup().id), 'standardsa')]",
        },
    })
Copy
resources:
  templateArtifact:
    type: azure-native:blueprint:TemplateArtifact
    properties:
      artifactName: storageTemplate
      blueprintName: simpleBlueprint
      kind: template
      parameters:
        storageAccountType:
          value: '[parameters(''storageAccountType'')]'
      resourceGroup: storageRG
      resourceScope: providers/Microsoft.Management/managementGroups/ContosoOnlineGroup
      template:
        contentVersion: 1.0.0.0
        outputs:
          storageAccountName:
            type: string
            value: '[variables(''storageAccountName'')]'
        parameters:
          storageAccountType:
            allowedValues:
              - Standard_LRS
              - Standard_GRS
              - Standard_ZRS
              - Premium_LRS
            defaultValue: Standard_LRS
            metadata:
              description: Storage Account type
            type: string
        resources:
          - apiVersion: 2016-01-01
            kind: Storage
            location: '[resourceGroup().location]'
            name: '[variables(''storageAccountName'')]'
            properties: {}
            sku:
              name: '[parameters(''storageAccountType'')]'
            type: Microsoft.Storage/storageAccounts
        variables:
          storageAccountName: '[concat(uniquestring(resourceGroup().id), ''standardsa'')]'
Copy

MG-PolicyAssignmentArtifact

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var templateArtifact = new AzureNative.Blueprint.TemplateArtifact("templateArtifact", new()
    {
        ArtifactName = "costCenterPolicy",
        BlueprintName = "simpleBlueprint",
        ResourceScope = "providers/Microsoft.Management/managementGroups/ContosoOnlineGroup",
    });

});
Copy
package main

import (
	blueprint "github.com/pulumi/pulumi-azure-native-sdk/blueprint"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blueprint.NewTemplateArtifact(ctx, "templateArtifact", &blueprint.TemplateArtifactArgs{
			ArtifactName:  pulumi.String("costCenterPolicy"),
			BlueprintName: pulumi.String("simpleBlueprint"),
			ResourceScope: pulumi.String("providers/Microsoft.Management/managementGroups/ContosoOnlineGroup"),
		})
		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.TemplateArtifact;
import com.pulumi.azurenative.blueprint.TemplateArtifactArgs;
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 templateArtifact = new TemplateArtifact("templateArtifact", TemplateArtifactArgs.builder()        
            .artifactName("costCenterPolicy")
            .blueprintName("simpleBlueprint")
            .resourceScope("providers/Microsoft.Management/managementGroups/ContosoOnlineGroup")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const templateArtifact = new azure_native.blueprint.TemplateArtifact("templateArtifact", {
    artifactName: "costCenterPolicy",
    blueprintName: "simpleBlueprint",
    resourceScope: "providers/Microsoft.Management/managementGroups/ContosoOnlineGroup",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

template_artifact = azure_native.blueprint.TemplateArtifact("templateArtifact",
    artifact_name="costCenterPolicy",
    blueprint_name="simpleBlueprint",
    resource_scope="providers/Microsoft.Management/managementGroups/ContosoOnlineGroup")
Copy
resources:
  templateArtifact:
    type: azure-native:blueprint:TemplateArtifact
    properties:
      artifactName: costCenterPolicy
      blueprintName: simpleBlueprint
      resourceScope: providers/Microsoft.Management/managementGroups/ContosoOnlineGroup
Copy

MG-RoleAssignmentArtifact

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var templateArtifact = new AzureNative.Blueprint.TemplateArtifact("templateArtifact", new()
    {
        ArtifactName = "ownerAssignment",
        BlueprintName = "simpleBlueprint",
        ResourceScope = "providers/Microsoft.Management/managementGroups/ContosoOnlineGroup",
    });

});
Copy
package main

import (
	blueprint "github.com/pulumi/pulumi-azure-native-sdk/blueprint"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blueprint.NewTemplateArtifact(ctx, "templateArtifact", &blueprint.TemplateArtifactArgs{
			ArtifactName:  pulumi.String("ownerAssignment"),
			BlueprintName: pulumi.String("simpleBlueprint"),
			ResourceScope: pulumi.String("providers/Microsoft.Management/managementGroups/ContosoOnlineGroup"),
		})
		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.TemplateArtifact;
import com.pulumi.azurenative.blueprint.TemplateArtifactArgs;
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 templateArtifact = new TemplateArtifact("templateArtifact", TemplateArtifactArgs.builder()        
            .artifactName("ownerAssignment")
            .blueprintName("simpleBlueprint")
            .resourceScope("providers/Microsoft.Management/managementGroups/ContosoOnlineGroup")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const templateArtifact = new azure_native.blueprint.TemplateArtifact("templateArtifact", {
    artifactName: "ownerAssignment",
    blueprintName: "simpleBlueprint",
    resourceScope: "providers/Microsoft.Management/managementGroups/ContosoOnlineGroup",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

template_artifact = azure_native.blueprint.TemplateArtifact("templateArtifact",
    artifact_name="ownerAssignment",
    blueprint_name="simpleBlueprint",
    resource_scope="providers/Microsoft.Management/managementGroups/ContosoOnlineGroup")
Copy
resources:
  templateArtifact:
    type: azure-native:blueprint:TemplateArtifact
    properties:
      artifactName: ownerAssignment
      blueprintName: simpleBlueprint
      resourceScope: providers/Microsoft.Management/managementGroups/ContosoOnlineGroup
Copy

Sub-ARMTemplateArtifact

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var templateArtifact = new AzureNative.Blueprint.TemplateArtifact("templateArtifact", new()
    {
        ArtifactName = "storageTemplate",
        BlueprintName = "simpleBlueprint",
        Kind = "template",
        Parameters = 
        {
            { "storageAccountType", new AzureNative.Blueprint.Inputs.ParameterValueArgs
            {
                Value = "[parameters('storageAccountType')]",
            } },
        },
        ResourceGroup = "storageRG",
        ResourceScope = "subscriptions/00000000-0000-0000-0000-000000000000",
        Template = 
        {
            { "contentVersion", "1.0.0.0" },
            { "outputs", 
            {
                { "storageAccountName", 
                {
                    { "type", "string" },
                    { "value", "[variables('storageAccountName')]" },
                } },
            } },
            { "parameters", 
            {
                { "storageAccountType", 
                {
                    { "allowedValues", new[]
                    {
                        "Standard_LRS",
                        "Standard_GRS",
                        "Standard_ZRS",
                        "Premium_LRS",
                    } },
                    { "defaultValue", "Standard_LRS" },
                    { "metadata", 
                    {
                        { "description", "Storage Account type" },
                    } },
                    { "type", "string" },
                } },
            } },
            { "resources", new[]
            {
                
                {
                    { "apiVersion", "2016-01-01" },
                    { "kind", "Storage" },
                    { "location", "[resourceGroup().location]" },
                    { "name", "[variables('storageAccountName')]" },
                    { "properties", null },
                    { "sku", 
                    {
                        { "name", "[parameters('storageAccountType')]" },
                    } },
                    { "type", "Microsoft.Storage/storageAccounts" },
                },
            } },
            { "variables", 
            {
                { "storageAccountName", "[concat(uniquestring(resourceGroup().id), 'standardsa')]" },
            } },
        },
    });

});
Copy
package main

import (
	blueprint "github.com/pulumi/pulumi-azure-native-sdk/blueprint"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blueprint.NewTemplateArtifact(ctx, "templateArtifact", &blueprint.TemplateArtifactArgs{
			ArtifactName:  pulumi.String("storageTemplate"),
			BlueprintName: pulumi.String("simpleBlueprint"),
			Kind:          pulumi.String("template"),
			Parameters: blueprint.ParameterValueMap{
				"storageAccountType": &blueprint.ParameterValueArgs{
					Value: pulumi.Any("[parameters('storageAccountType')]"),
				},
			},
			ResourceGroup: pulumi.String("storageRG"),
			ResourceScope: pulumi.String("subscriptions/00000000-0000-0000-0000-000000000000"),
			Template: pulumi.Any{
				ContentVersion: "1.0.0.0",
				Outputs: map[string]interface{}{
					"storageAccountName": map[string]interface{}{
						"type":  "string",
						"value": "[variables('storageAccountName')]",
					},
				},
				Parameters: map[string]interface{}{
					"storageAccountType": map[string]interface{}{
						"allowedValues": []string{
							"Standard_LRS",
							"Standard_GRS",
							"Standard_ZRS",
							"Premium_LRS",
						},
						"defaultValue": "Standard_LRS",
						"metadata": map[string]interface{}{
							"description": "Storage Account type",
						},
						"type": "string",
					},
				},
				Resources: []map[string]interface{}{
					map[string]interface{}{
						"apiVersion": "2016-01-01",
						"kind":       "Storage",
						"location":   "[resourceGroup().location]",
						"name":       "[variables('storageAccountName')]",
						"properties": nil,
						"sku": map[string]interface{}{
							"name": "[parameters('storageAccountType')]",
						},
						"type": "Microsoft.Storage/storageAccounts",
					},
				},
				Variables: map[string]interface{}{
					"storageAccountName": "[concat(uniquestring(resourceGroup().id), 'standardsa')]",
				},
			},
		})
		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.TemplateArtifact;
import com.pulumi.azurenative.blueprint.TemplateArtifactArgs;
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 templateArtifact = new TemplateArtifact("templateArtifact", TemplateArtifactArgs.builder()        
            .artifactName("storageTemplate")
            .blueprintName("simpleBlueprint")
            .kind("template")
            .parameters(Map.of("storageAccountType", Map.of("value", "[parameters('storageAccountType')]")))
            .resourceGroup("storageRG")
            .resourceScope("subscriptions/00000000-0000-0000-0000-000000000000")
            .template(Map.ofEntries(
                Map.entry("contentVersion", "1.0.0.0"),
                Map.entry("outputs", Map.of("storageAccountName", Map.ofEntries(
                    Map.entry("type", "string"),
                    Map.entry("value", "[variables('storageAccountName')]")
                ))),
                Map.entry("parameters", Map.of("storageAccountType", Map.ofEntries(
                    Map.entry("allowedValues",                     
                        "Standard_LRS",
                        "Standard_GRS",
                        "Standard_ZRS",
                        "Premium_LRS"),
                    Map.entry("defaultValue", "Standard_LRS"),
                    Map.entry("metadata", Map.of("description", "Storage Account type")),
                    Map.entry("type", "string")
                ))),
                Map.entry("resources", Map.ofEntries(
                    Map.entry("apiVersion", "2016-01-01"),
                    Map.entry("kind", "Storage"),
                    Map.entry("location", "[resourceGroup().location]"),
                    Map.entry("name", "[variables('storageAccountName')]"),
                    Map.entry("properties", ),
                    Map.entry("sku", Map.of("name", "[parameters('storageAccountType')]")),
                    Map.entry("type", "Microsoft.Storage/storageAccounts")
                )),
                Map.entry("variables", Map.of("storageAccountName", "[concat(uniquestring(resourceGroup().id), 'standardsa')]"))
            ))
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const templateArtifact = new azure_native.blueprint.TemplateArtifact("templateArtifact", {
    artifactName: "storageTemplate",
    blueprintName: "simpleBlueprint",
    kind: "template",
    parameters: {
        storageAccountType: {
            value: "[parameters('storageAccountType')]",
        },
    },
    resourceGroup: "storageRG",
    resourceScope: "subscriptions/00000000-0000-0000-0000-000000000000",
    template: {
        contentVersion: "1.0.0.0",
        outputs: {
            storageAccountName: {
                type: "string",
                value: "[variables('storageAccountName')]",
            },
        },
        parameters: {
            storageAccountType: {
                allowedValues: [
                    "Standard_LRS",
                    "Standard_GRS",
                    "Standard_ZRS",
                    "Premium_LRS",
                ],
                defaultValue: "Standard_LRS",
                metadata: {
                    description: "Storage Account type",
                },
                type: "string",
            },
        },
        resources: [{
            apiVersion: "2016-01-01",
            kind: "Storage",
            location: "[resourceGroup().location]",
            name: "[variables('storageAccountName')]",
            properties: {},
            sku: {
                name: "[parameters('storageAccountType')]",
            },
            type: "Microsoft.Storage/storageAccounts",
        }],
        variables: {
            storageAccountName: "[concat(uniquestring(resourceGroup().id), 'standardsa')]",
        },
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

template_artifact = azure_native.blueprint.TemplateArtifact("templateArtifact",
    artifact_name="storageTemplate",
    blueprint_name="simpleBlueprint",
    kind="template",
    parameters={
        "storageAccountType": azure_native.blueprint.ParameterValueArgs(
            value="[parameters('storageAccountType')]",
        ),
    },
    resource_group="storageRG",
    resource_scope="subscriptions/00000000-0000-0000-0000-000000000000",
    template={
        "contentVersion": "1.0.0.0",
        "outputs": {
            "storageAccountName": {
                "type": "string",
                "value": "[variables('storageAccountName')]",
            },
        },
        "parameters": {
            "storageAccountType": {
                "allowedValues": [
                    "Standard_LRS",
                    "Standard_GRS",
                    "Standard_ZRS",
                    "Premium_LRS",
                ],
                "defaultValue": "Standard_LRS",
                "metadata": {
                    "description": "Storage Account type",
                },
                "type": "string",
            },
        },
        "resources": [{
            "apiVersion": "2016-01-01",
            "kind": "Storage",
            "location": "[resourceGroup().location]",
            "name": "[variables('storageAccountName')]",
            "properties": {},
            "sku": {
                "name": "[parameters('storageAccountType')]",
            },
            "type": "Microsoft.Storage/storageAccounts",
        }],
        "variables": {
            "storageAccountName": "[concat(uniquestring(resourceGroup().id), 'standardsa')]",
        },
    })
Copy
resources:
  templateArtifact:
    type: azure-native:blueprint:TemplateArtifact
    properties:
      artifactName: storageTemplate
      blueprintName: simpleBlueprint
      kind: template
      parameters:
        storageAccountType:
          value: '[parameters(''storageAccountType'')]'
      resourceGroup: storageRG
      resourceScope: subscriptions/00000000-0000-0000-0000-000000000000
      template:
        contentVersion: 1.0.0.0
        outputs:
          storageAccountName:
            type: string
            value: '[variables(''storageAccountName'')]'
        parameters:
          storageAccountType:
            allowedValues:
              - Standard_LRS
              - Standard_GRS
              - Standard_ZRS
              - Premium_LRS
            defaultValue: Standard_LRS
            metadata:
              description: Storage Account type
            type: string
        resources:
          - apiVersion: 2016-01-01
            kind: Storage
            location: '[resourceGroup().location]'
            name: '[variables(''storageAccountName'')]'
            properties: {}
            sku:
              name: '[parameters(''storageAccountType'')]'
            type: Microsoft.Storage/storageAccounts
        variables:
          storageAccountName: '[concat(uniquestring(resourceGroup().id), ''standardsa'')]'
Copy

Sub-PolicyAssignmentArtifact

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var templateArtifact = new AzureNative.Blueprint.TemplateArtifact("templateArtifact", new()
    {
        ArtifactName = "costCenterPolicy",
        BlueprintName = "simpleBlueprint",
        ResourceScope = "subscriptions/00000000-0000-0000-0000-000000000000",
    });

});
Copy
package main

import (
	blueprint "github.com/pulumi/pulumi-azure-native-sdk/blueprint"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blueprint.NewTemplateArtifact(ctx, "templateArtifact", &blueprint.TemplateArtifactArgs{
			ArtifactName:  pulumi.String("costCenterPolicy"),
			BlueprintName: pulumi.String("simpleBlueprint"),
			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.TemplateArtifact;
import com.pulumi.azurenative.blueprint.TemplateArtifactArgs;
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 templateArtifact = new TemplateArtifact("templateArtifact", TemplateArtifactArgs.builder()        
            .artifactName("costCenterPolicy")
            .blueprintName("simpleBlueprint")
            .resourceScope("subscriptions/00000000-0000-0000-0000-000000000000")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const templateArtifact = new azure_native.blueprint.TemplateArtifact("templateArtifact", {
    artifactName: "costCenterPolicy",
    blueprintName: "simpleBlueprint",
    resourceScope: "subscriptions/00000000-0000-0000-0000-000000000000",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

template_artifact = azure_native.blueprint.TemplateArtifact("templateArtifact",
    artifact_name="costCenterPolicy",
    blueprint_name="simpleBlueprint",
    resource_scope="subscriptions/00000000-0000-0000-0000-000000000000")
Copy
resources:
  templateArtifact:
    type: azure-native:blueprint:TemplateArtifact
    properties:
      artifactName: costCenterPolicy
      blueprintName: simpleBlueprint
      resourceScope: subscriptions/00000000-0000-0000-0000-000000000000
Copy

Sub-RoleAssignmentArtifact

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var templateArtifact = new AzureNative.Blueprint.TemplateArtifact("templateArtifact", new()
    {
        ArtifactName = "ownerAssignment",
        BlueprintName = "simpleBlueprint",
        ResourceScope = "subscriptions/00000000-0000-0000-0000-000000000000",
    });

});
Copy
package main

import (
	blueprint "github.com/pulumi/pulumi-azure-native-sdk/blueprint"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blueprint.NewTemplateArtifact(ctx, "templateArtifact", &blueprint.TemplateArtifactArgs{
			ArtifactName:  pulumi.String("ownerAssignment"),
			BlueprintName: pulumi.String("simpleBlueprint"),
			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.TemplateArtifact;
import com.pulumi.azurenative.blueprint.TemplateArtifactArgs;
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 templateArtifact = new TemplateArtifact("templateArtifact", TemplateArtifactArgs.builder()        
            .artifactName("ownerAssignment")
            .blueprintName("simpleBlueprint")
            .resourceScope("subscriptions/00000000-0000-0000-0000-000000000000")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const templateArtifact = new azure_native.blueprint.TemplateArtifact("templateArtifact", {
    artifactName: "ownerAssignment",
    blueprintName: "simpleBlueprint",
    resourceScope: "subscriptions/00000000-0000-0000-0000-000000000000",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

template_artifact = azure_native.blueprint.TemplateArtifact("templateArtifact",
    artifact_name="ownerAssignment",
    blueprint_name="simpleBlueprint",
    resource_scope="subscriptions/00000000-0000-0000-0000-000000000000")
Copy
resources:
  templateArtifact:
    type: azure-native:blueprint:TemplateArtifact
    properties:
      artifactName: ownerAssignment
      blueprintName: simpleBlueprint
      resourceScope: subscriptions/00000000-0000-0000-0000-000000000000
Copy

Create TemplateArtifact Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TemplateArtifact(name: string, args: TemplateArtifactArgs, opts?: CustomResourceOptions);
@overload
def TemplateArtifact(resource_name: str,
                     args: TemplateArtifactArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def TemplateArtifact(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     blueprint_name: Optional[str] = None,
                     parameters: Optional[Mapping[str, ParameterValueArgs]] = None,
                     resource_scope: Optional[str] = None,
                     template: Optional[Any] = None,
                     artifact_name: Optional[str] = None,
                     depends_on: Optional[Sequence[str]] = None,
                     description: Optional[str] = None,
                     display_name: Optional[str] = None,
                     resource_group: Optional[str] = None)
func NewTemplateArtifact(ctx *Context, name string, args TemplateArtifactArgs, opts ...ResourceOption) (*TemplateArtifact, error)
public TemplateArtifact(string name, TemplateArtifactArgs args, CustomResourceOptions? opts = null)
public TemplateArtifact(String name, TemplateArtifactArgs args)
public TemplateArtifact(String name, TemplateArtifactArgs args, CustomResourceOptions options)
type: azure-native:blueprint:TemplateArtifact
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. TemplateArtifactArgs
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. TemplateArtifactArgs
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. TemplateArtifactArgs
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. TemplateArtifactArgs
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. TemplateArtifactArgs
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 templateArtifactResource = new AzureNative.Blueprint.TemplateArtifact("templateArtifactResource", new()
{
    BlueprintName = "string",
    Kind = "string",
    Parameters = 
    {
        { "string", 
        {
            { "reference", 
            {
                { "keyVault", 
                {
                    { "id", "string" },
                } },
                { "secretName", "string" },
                { "secretVersion", "string" },
            } },
            { "value", "any" },
        } },
    },
    ResourceScope = "string",
    Template = "any",
    ArtifactName = "string",
    DependsOn = new[]
    {
        "string",
    },
    Description = "string",
    DisplayName = "string",
    ResourceGroup = "string",
});
Copy
example, err := blueprint.NewTemplateArtifact(ctx, "templateArtifactResource", &blueprint.TemplateArtifactArgs{
	BlueprintName: "string",
	Kind:          "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",
		},
	},
	ResourceScope: "string",
	Template:      "any",
	ArtifactName:  "string",
	DependsOn: []string{
		"string",
	},
	Description:   "string",
	DisplayName:   "string",
	ResourceGroup: "string",
})
Copy
var templateArtifactResource = new TemplateArtifact("templateArtifactResource", TemplateArtifactArgs.builder()
    .blueprintName("string")
    .kind("string")
    .parameters(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceScope("string")
    .template("any")
    .artifactName("string")
    .dependsOn("string")
    .description("string")
    .displayName("string")
    .resourceGroup("string")
    .build());
Copy
template_artifact_resource = azure_native.blueprint.TemplateArtifact("templateArtifactResource",
    blueprint_name=string,
    kind=string,
    parameters={
        string: {
            reference: {
                keyVault: {
                    id: string,
                },
                secretName: string,
                secretVersion: string,
            },
            value: any,
        },
    },
    resource_scope=string,
    template=any,
    artifact_name=string,
    depends_on=[string],
    description=string,
    display_name=string,
    resource_group=string)
Copy
const templateArtifactResource = new azure_native.blueprint.TemplateArtifact("templateArtifactResource", {
    blueprintName: "string",
    kind: "string",
    parameters: {
        string: {
            reference: {
                keyVault: {
                    id: "string",
                },
                secretName: "string",
                secretVersion: "string",
            },
            value: "any",
        },
    },
    resourceScope: "string",
    template: "any",
    artifactName: "string",
    dependsOn: ["string"],
    description: "string",
    displayName: "string",
    resourceGroup: "string",
});
Copy
type: azure-native:blueprint:TemplateArtifact
properties:
    artifactName: string
    blueprintName: string
    dependsOn:
        - string
    description: string
    displayName: string
    kind: string
    parameters:
        string:
            reference:
                keyVault:
                    id: string
                secretName: string
                secretVersion: string
            value: any
    resourceGroup: string
    resourceScope: string
    template: any
Copy

TemplateArtifact 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 TemplateArtifact resource accepts the following input properties:

BlueprintName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint definition.
Parameters This property is required. Dictionary<string, Pulumi.AzureNative.Blueprint.Inputs.ParameterValueArgs>
Resource Manager template blueprint artifact parameter values.
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}').
Template This property is required. object
The Resource Manager template blueprint artifact body.
ArtifactName Changes to this property will trigger replacement. string
Name of the blueprint artifact.
DependsOn List<string>
Artifacts which need to be deployed before the specified artifact.
Description string
Multi-line explain this resource.
DisplayName string
One-liner string explain this resource.
ResourceGroup string
If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed.
BlueprintName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint definition.
Parameters This property is required. map[string]ParameterValueArgs
Resource Manager template blueprint artifact parameter values.
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}').
Template This property is required. interface{}
The Resource Manager template blueprint artifact body.
ArtifactName Changes to this property will trigger replacement. string
Name of the blueprint artifact.
DependsOn []string
Artifacts which need to be deployed before the specified artifact.
Description string
Multi-line explain this resource.
DisplayName string
One-liner string explain this resource.
ResourceGroup string
If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed.
blueprintName
This property is required.
Changes to this property will trigger replacement.
String
Name of the blueprint definition.
parameters This property is required. Map<String,ParameterValueArgs>
Resource Manager template blueprint artifact parameter values.
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}').
template This property is required. Object
The Resource Manager template blueprint artifact body.
artifactName Changes to this property will trigger replacement. String
Name of the blueprint artifact.
dependsOn List<String>
Artifacts which need to be deployed before the specified artifact.
description String
Multi-line explain this resource.
displayName String
One-liner string explain this resource.
resourceGroup String
If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed.
blueprintName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint definition.
parameters This property is required. {[key: string]: ParameterValueArgs}
Resource Manager template blueprint artifact parameter values.
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}').
template This property is required. any
The Resource Manager template blueprint artifact body.
artifactName Changes to this property will trigger replacement. string
Name of the blueprint artifact.
dependsOn string[]
Artifacts which need to be deployed before the specified artifact.
description string
Multi-line explain this resource.
displayName string
One-liner string explain this resource.
resourceGroup string
If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed.
blueprint_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the blueprint definition.
parameters This property is required. Mapping[str, ParameterValueArgs]
Resource Manager template blueprint artifact parameter values.
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}').
template This property is required. Any
The Resource Manager template blueprint artifact body.
artifact_name Changes to this property will trigger replacement. str
Name of the blueprint artifact.
depends_on Sequence[str]
Artifacts which need to be deployed before the specified artifact.
description str
Multi-line explain this resource.
display_name str
One-liner string explain this resource.
resource_group str
If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed.
blueprintName
This property is required.
Changes to this property will trigger replacement.
String
Name of the blueprint definition.
parameters This property is required. Map<Property Map>
Resource Manager template blueprint artifact parameter values.
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}').
template This property is required. Any
The Resource Manager template blueprint artifact body.
artifactName Changes to this property will trigger replacement. String
Name of the blueprint artifact.
dependsOn List<String>
Artifacts which need to be deployed before the specified artifact.
description String
Multi-line explain this resource.
displayName String
One-liner string explain this resource.
resourceGroup String
If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed.

Outputs

All input properties are implicitly available as output properties. Additionally, the TemplateArtifact resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of this resource.
Type string
Type of this resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of this resource.
Type string
Type of this resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of this resource.
type String
Type of this resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Name of this resource.
type string
Type of this resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Name of this resource.
type str
Type of this resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of this resource.
type String
Type of this resource.

Supporting Types

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.

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.

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.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:blueprint:TemplateArtifact ownerAssignment /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment 
Copy

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

Package Details

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