Partager via


TemplateLink interface

Entity representing the reference to the template.

Properties

contentVersion

If included, must match the ContentVersion in the template.

id

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

queryString

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

relativePath

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

uri

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

Property Details

If included, must match the ContentVersion in the template.

contentVersion?: string

Property Value

string

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

id?: string

Property Value

string

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

queryString?: string

Property Value

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

relativePath?: string

Property Value

string

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

uri?: string

Property Value

string