共用方式為


TemplateLink Constructors

Definition

Overloads

TemplateLink()

Initializes a new instance of the TemplateLink class.

TemplateLink(String, String, String, String, String)

Initializes a new instance of the TemplateLink class.

Initializes a new instance of the TemplateLink class.

public TemplateLink ();
Public Sub New ()

Applies to

Initializes a new instance of the TemplateLink class.

public TemplateLink (string uri = default, string id = default, string relativePath = default, string contentVersion = default, string queryString = default);
new Microsoft.Azure.Management.ResourceManager.Models.TemplateLink : string * string * string * string * string -> Microsoft.Azure.Management.ResourceManager.Models.TemplateLink
Public Sub New (Optional uri As String = Nothing, Optional id As String = Nothing, Optional relativePath As String = Nothing, Optional contentVersion As String = Nothing, Optional queryString As String = Nothing)

Parameters

uri
String

The URI of the template to deploy. Use either the uri or id property, but not both.

id
String

The resource id of a Template Spec. Use either the id or uri property, but not both.

relativePath
String

The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs

contentVersion
String

If included, must match the ContentVersion in the template.

queryString
String

The query string (for example, a SAS token) to be used with the templateLink URI.

Applies to