Class DeploymentResourceProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.DeploymentResourceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeploymentResourceProperties>
public final class DeploymentResourceProperties
extends Object
implements com.azure.json.JsonSerializable<DeploymentResourceProperties>
Deployment resource properties payload.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeploymentResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionactive()Get the active property: Indicates whether the Deployment is active.Get the deploymentSettings property: Deployment settings of the Deployment.static DeploymentResourcePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeploymentResourceProperties from the JsonReader.Get the instances property: Collection of instances belong to the Deployment.Get the provisioningState property: Provisioning state of the Deployment.source()Get the source property: Uploaded source information of the deployment.status()Get the status property: Status of the Deployment.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withActive(Boolean active) Set the active property: Indicates whether the Deployment is active.withDeploymentSettings(DeploymentSettings deploymentSettings) Set the deploymentSettings property: Deployment settings of the Deployment.withSource(UserSourceInfo source) Set the source property: Uploaded source information of the deployment.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
-
DeploymentResourceProperties
public DeploymentResourceProperties()Creates an instance of DeploymentResourceProperties class.
-
-
Method Details
-
source
Get the source property: Uploaded source information of the deployment.- Returns:
- the source value.
-
withSource
Set the source property: Uploaded source information of the deployment.- Parameters:
source- the source value to set.- Returns:
- the DeploymentResourceProperties object itself.
-
deploymentSettings
Get the deploymentSettings property: Deployment settings of the Deployment.- Returns:
- the deploymentSettings value.
-
withDeploymentSettings
Set the deploymentSettings property: Deployment settings of the Deployment.- Parameters:
deploymentSettings- the deploymentSettings value to set.- Returns:
- the DeploymentResourceProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the Deployment.- Returns:
- the provisioningState value.
-
status
Get the status property: Status of the Deployment.- Returns:
- the status value.
-
active
Get the active property: Indicates whether the Deployment is active.- Returns:
- the active value.
-
withActive
Set the active property: Indicates whether the Deployment is active.- Parameters:
active- the active value to set.- Returns:
- the DeploymentResourceProperties object itself.
-
instances
Get the instances property: Collection of instances belong to the Deployment.- Returns:
- the instances value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DeploymentResourceProperties>- Throws:
IOException
-
fromJson
public static DeploymentResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DeploymentResourceProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DeploymentResourceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the DeploymentResourceProperties.
-