Class TemplateLink

java.lang.Object
com.microsoft.azure.management.resources.TemplateLink

public class TemplateLink extends Object
Entity representing the reference to the template.
  • Constructor Details

    • TemplateLink

      public TemplateLink()
  • Method Details

    • uri

      public String uri()
      Get the URI of the template to deploy. Use either the uri or id property, but not both.
      Returns:
      the uri value
    • 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:
      uri - the uri value to set
      Returns:
      the TemplateLink object itself.
    • id

      public String id()
      Get the resource id of a Template Spec. Use either the id or uri property, but not both.
      Returns:
      the id value
    • 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:
      id - the id value to set
      Returns:
      the TemplateLink object itself.
    • 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:
      the relativePath value
    • 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:
      relativePath - the relativePath value to set
      Returns:
      the TemplateLink object itself.
    • contentVersion

      public String contentVersion()
      Get if included, must match the ContentVersion in the template.
      Returns:
      the contentVersion value
    • withContentVersion

      public TemplateLink withContentVersion(String contentVersion)
      Set if included, must match the ContentVersion in the template.
      Parameters:
      contentVersion - the contentVersion value to set
      Returns:
      the TemplateLink object itself.