Class TemplateLink
java.lang.Object
com.microsoft.azure.management.resources.TemplateLink
Entity representing the reference to the template.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet if included, must match the ContentVersion in the template.id()
Get the resource id of a Template Spec.Get applicable only if this template link references a Template Spec.uri()
Get the URI of the template to deploy.withContentVersion
(String contentVersion) Set if included, must match the ContentVersion in the template.Set the resource id of a Template Spec.withRelativePath
(String relativePath) Set applicable only if this template link references a Template Spec.Set the URI of the template to deploy.
-
Constructor Details
-
TemplateLink
public TemplateLink()
-
-
Method Details
-
uri
Get the URI of the template to deploy. Use either the uri or id property, but not both.- Returns:
- the uri value
-
withUri
Set the URI of the template to deploy. Use either the uri or id property, but not both.- Parameters:
uri
- the uri value to set- Returns:
- the TemplateLink object itself.
-
id
Get the resource id of a Template Spec. Use either the id or uri property, but not both.- Returns:
- the id value
-
withId
Set the resource id of a Template Spec. Use either the id or uri property, but not both.- Parameters:
id
- the id value to set- Returns:
- the TemplateLink object itself.
-
relativePath
Get applicable only if this template link references a Template Spec. This relativePath property can optionally be used to reference a Template Spec artifact by path.- Returns:
- the relativePath value
-
withRelativePath
Set applicable only if this template link references a Template Spec. This relativePath property can optionally be used to reference a Template Spec artifact by path.- Parameters:
relativePath
- the relativePath value to set- Returns:
- the TemplateLink object itself.
-
contentVersion
Get if included, must match the ContentVersion in the template.- Returns:
- the contentVersion value
-
withContentVersion
Set if included, must match the ContentVersion in the template.- Parameters:
contentVersion
- the contentVersion value to set- Returns:
- the TemplateLink object itself.
-