TemplateLink Class

Entity representing the reference to the template.

Inheritance
azure.mgmt.resource.resources._serialization.Model
TemplateLink

Constructor

TemplateLink(*, uri: str | None = None, id: str | None = None, relative_path: str | None = None, content_version: str | None = None, query_string: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
uri
str

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

id
str

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

relative_path
str

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.

content_version
str

If included, must match the ContentVersion in the template.

query_string
str

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

Variables

Name Description
uri
str

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

id
str

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

relative_path
str

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.

content_version
str

If included, must match the ContentVersion in the template.

query_string
str

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