Class DeploymentStackTemplateDefinitionInner

java.lang.Object
com.azure.resourcemanager.resources.fluent.models.DeploymentStackTemplateDefinitionInner

public final class DeploymentStackTemplateDefinitionInner extends Object
Export Template specific properties of the Deployment stack.
  • Constructor Details

    • DeploymentStackTemplateDefinitionInner

      public DeploymentStackTemplateDefinitionInner()
      Creates an instance of DeploymentStackTemplateDefinitionInner class.
  • Method Details

    • template

      public Object template()
      Get the template property: The template content. Use this element to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.
      Returns:
      the template value.
    • withTemplate

      public DeploymentStackTemplateDefinitionInner withTemplate(Object template)
      Set the template property: The template content. Use this element to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.
      Parameters:
      template - the template value to set.
      Returns:
      the DeploymentStackTemplateDefinitionInner object itself.
    • templateLink

      public DeploymentStacksTemplateLink templateLink()
      Get the templateLink property: The URI of the template. Use either the templateLink property or the template property, but not both.
      Returns:
      the templateLink value.
    • withTemplateLink

      Set the templateLink property: The URI of the template. Use either the templateLink property or the template property, but not both.
      Parameters:
      templateLink - the templateLink value to set.
      Returns:
      the DeploymentStackTemplateDefinitionInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.