TemplateLink Class
Entity representing the reference to the template.
- Inheritance
-
azure.mgmt.resource.resources._serialization.ModelTemplateLink
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
|
The URI of the template to deploy. Use either the uri or id property, but not both. |
id
|
The resource id of a Template Spec. Use either the id or uri property, but not both. |
relative_path
|
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
|
If included, must match the ContentVersion in the template. |
query_string
|
The query string (for example, a SAS token) to be used with the templateLink URI. |
Variables
Name | Description |
---|---|
uri
|
The URI of the template to deploy. Use either the uri or id property, but not both. |
id
|
The resource id of a Template Spec. Use either the id or uri property, but not both. |
relative_path
|
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
|
If included, must match the ContentVersion in the template. |
query_string
|
The query string (for example, a SAS token) to be used with the templateLink URI. |
Azure SDK for Python