Delen via


TemplateSpec Constructors

Definition

Overloads

TemplateSpec()

Initializes a new instance of the TemplateSpec class.

TemplateSpec(String, String, String, String, SystemData, String, String, Object, IDictionary<String,TemplateSpecVersionInfo>, IDictionary<String,String>)

Initializes a new instance of the TemplateSpec class.

TemplateSpec()

Initializes a new instance of the TemplateSpec class.

public TemplateSpec ();
Public Sub New ()

Applies to

TemplateSpec(String, String, String, String, SystemData, String, String, Object, IDictionary<String,TemplateSpecVersionInfo>, IDictionary<String,String>)

Initializes a new instance of the TemplateSpec class.

public TemplateSpec (string location, string id = default, string name = default, string type = default, Microsoft.Azure.Management.ResourceManager.Models.SystemData systemData = default, string description = default, string displayName = default, object metadata = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ResourceManager.Models.TemplateSpecVersionInfo> versions = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.ResourceManager.Models.TemplateSpec : string * string * string * string * Microsoft.Azure.Management.ResourceManager.Models.SystemData * string * string * obj * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ResourceManager.Models.TemplateSpecVersionInfo> * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ResourceManager.Models.TemplateSpec
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional displayName As String = Nothing, Optional metadata As Object = Nothing, Optional versions As IDictionary(Of String, TemplateSpecVersionInfo) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing)

Parameters

location
String

The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations.

id
String

String Id used to locate any resource on Azure.

name
String

Name of this resource.

type
String

Type of this resource.

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

description
String

Template Spec description.

displayName
String

Template Spec display name.

metadata
Object

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

versions
IDictionary<String,TemplateSpecVersionInfo>

High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'.

tags
IDictionary<String,String>

Resource tags.

Applies to