DeploymentStackTemplateDefinitionInner Class
- java.
lang. Object - com.
azure. resourcemanager. resources. fluent. models. DeploymentStackTemplateDefinitionInner
- com.
Implements
public final class DeploymentStackTemplateDefinitionInner
implements JsonSerializable<DeploymentStackTemplateDefinitionInner>
Export Template specific properties of the Deployment stack.
Constructor Summary
Constructor | Description |
---|---|
DeploymentStackTemplateDefinitionInner() |
Creates an instance of Deployment |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
Object |
template()
Get the template property: The template content. |
Deployment |
templateLink()
Get the template |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Deployment |
withTemplate(Object template)
Set the template property: The template content. |
Deployment |
withTemplateLink(DeploymentStacksTemplateLink templateLink)
Set the template |
Methods inherited from java.lang.Object
Constructor Details
DeploymentStackTemplateDefinitionInner
public DeploymentStackTemplateDefinitionInner()
Creates an instance of DeploymentStackTemplateDefinitionInner class.
Method Details
fromJson
public static DeploymentStackTemplateDefinitionInner fromJson(JsonReader jsonReader)
Reads an instance of DeploymentStackTemplateDefinitionInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
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:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withTemplateLink
public DeploymentStackTemplateDefinitionInner withTemplateLink(DeploymentStacksTemplateLink templateLink)
Set the templateLink property: The URI of the template. Use either the templateLink property or the template property, but not both.
Parameters:
Returns:
Applies to
Azure SDK for Java