Class DeploymentInner
java.lang.Object
com.azure.resourcemanager.resources.fluent.models.DeploymentInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeploymentInner>
public final class DeploymentInner
extends Object
implements com.azure.json.JsonSerializable<DeploymentInner>
Deployment operation parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeploymentInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeploymentInner from the JsonReader.identity()Get the identity property: The Managed Identity configuration for a deployment.location()Get the location property: The location to store the deployment data.Get the properties property: The deployment properties.tags()Get the tags property: Deployment tags.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withIdentity(DeploymentIdentity identity) Set the identity property: The Managed Identity configuration for a deployment.withLocation(String location) Set the location property: The location to store the deployment data.withProperties(DeploymentProperties properties) Set the properties property: The deployment properties.Set the tags property: Deployment tags.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DeploymentInner
public DeploymentInner()Creates an instance of DeploymentInner class.
-
-
Method Details
-
location
Get the location property: The location to store the deployment data.- Returns:
- the location value.
-
withLocation
Set the location property: The location to store the deployment data.- Parameters:
location- the location value to set.- Returns:
- the DeploymentInner object itself.
-
properties
Get the properties property: The deployment properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: The deployment properties.- Parameters:
properties- the properties value to set.- Returns:
- the DeploymentInner object itself.
-
tags
Get the tags property: Deployment tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Deployment tags.- Parameters:
tags- the tags value to set.- Returns:
- the DeploymentInner object itself.
-
identity
Get the identity property: The Managed Identity configuration for a deployment.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The Managed Identity configuration for a deployment.- Parameters:
identity- the identity value to set.- Returns:
- the DeploymentInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DeploymentInner>- Throws:
IOException
-
fromJson
Reads an instance of DeploymentInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DeploymentInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the DeploymentInner.
-