Class DeploymentResourceProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.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.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.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.
-
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.
-