TemplateLink Class
- java.
lang. Object - com.
microsoft. azure. management. resources. TemplateLink
- com.
public class TemplateLink
Entity representing the reference to the template.
Constructor Summary
Constructor | Description | |
---|---|---|
TemplateLink() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
contentVersion()
Get if included, must match the Content |
java.lang.String |
id()
Get the resource id of a Template Spec. |
java.lang.String |
relativePath()
Get applicable only if this template link references a Template Spec. |
java.lang.String |
uri()
Get the URI of the template to deploy. |
Template |
withContentVersion(String contentVersion)
Set if included, must match the Content |
Template |
withId(String id)
Set the resource id of a Template Spec. |
Template |
withRelativePath(String relativePath)
Set applicable only if this template link references a Template Spec. |
Template |
withUri(String uri)
Set the URI of the template to deploy. |
Methods inherited from java.lang.Object
Constructor Details
TemplateLink
public TemplateLink()
Method Details
contentVersion
public String contentVersion()
Get if included, must match the ContentVersion in the template.
Returns:
id
public String id()
Get the resource id of a Template Spec. Use either the id or uri property, but not both.
Returns:
relativePath
public String 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:
uri
public String uri()
Get the URI of the template to deploy. Use either the uri or id property, but not both.
Returns:
withContentVersion
public TemplateLink withContentVersion(String contentVersion)
Set if included, must match the ContentVersion in the template.
Parameters:
Returns:
withId
public TemplateLink withId(String id)
Set the resource id of a Template Spec. Use either the id or uri property, but not both.
Parameters:
Returns:
withRelativePath
public TemplateLink withRelativePath(String relativePath)
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:
Returns:
withUri
public TemplateLink withUri(String uri)
Set the URI of the template to deploy. Use either the uri or id property, but not both.
Parameters:
Returns:
Applies to
Azure SDK for Java