共用方式為


ArmResourcesModelFactory.TemplateSpecVersionData Method

Definition

Initializes a new instance of TemplateSpecVersionData.

public static Azure.ResourceManager.Resources.TemplateSpecVersionData TemplateSpecVersionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.LinkedTemplateArtifact> linkedTemplates = default, BinaryData metadata = default, BinaryData mainTemplate = default, BinaryData uiFormDefinition = default);
static member TemplateSpecVersionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.AzureLocation * System.Collections.Generic.IDictionary<string, string> * string * seq<Azure.ResourceManager.Resources.Models.LinkedTemplateArtifact> * BinaryData * BinaryData * BinaryData -> Azure.ResourceManager.Resources.TemplateSpecVersionData
Public Shared Function TemplateSpecVersionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As AzureLocation = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional linkedTemplates As IEnumerable(Of LinkedTemplateArtifact) = Nothing, Optional metadata As BinaryData = Nothing, Optional mainTemplate As BinaryData = Nothing, Optional uiFormDefinition As BinaryData = Nothing) As TemplateSpecVersionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
AzureLocation

The location of the Template Spec Version. It must match the location of the parent Template Spec.

tags
IDictionary<String,String>

Resource tags.

description
String

Template Spec version description.

linkedTemplates
IEnumerable<LinkedTemplateArtifact>

An array of linked template artifacts.

metadata
BinaryData

The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs.

mainTemplate
BinaryData

The main Azure Resource Manager template content.

uiFormDefinition
BinaryData

The Azure Resource Manager template UI definition content.

Returns

A new TemplateSpecVersionData instance for mocking.

Applies to