Class DeploymentResourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.DeploymentResourceProperties
-
public final class DeploymentResourceProperties extends Object
Deployment resource properties payload.
-
-
Constructor Summary
Constructors Constructor Description DeploymentResourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanactive()Get the active property: Indicates whether the Deployment is active.StringappName()Get the appName property: App name of the deployment.OffsetDateTimecreatedTime()Get the createdTime property: Date time when the resource is created.DeploymentSettingsdeploymentSettings()Get the deploymentSettings property: Deployment settings of the Deployment.List<DeploymentInstance>instances()Get the instances property: Collection of instances belong to the Deployment.DeploymentResourceProvisioningStateprovisioningState()Get the provisioningState property: Provisioning state of the Deployment.UserSourceInfosource()Get the source property: Uploaded source information of the deployment.DeploymentResourceStatusstatus()Get the status property: Status of the Deployment.voidvalidate()Validates the instance.DeploymentResourcePropertieswithDeploymentSettings(DeploymentSettings deploymentSettings)Set the deploymentSettings property: Deployment settings of the Deployment.DeploymentResourcePropertieswithSource(UserSourceInfo source)Set the source property: Uploaded source information of the deployment.
-
-
-
Method Detail
-
source
public UserSourceInfo source()
Get the source property: Uploaded source information of the deployment.- Returns:
- the source value.
-
withSource
public DeploymentResourceProperties withSource(UserSourceInfo source)
Set the source property: Uploaded source information of the deployment.- Parameters:
source- the source value to set.- Returns:
- the DeploymentResourceProperties object itself.
-
appName
public String appName()
Get the appName property: App name of the deployment.- Returns:
- the appName value.
-
deploymentSettings
public DeploymentSettings deploymentSettings()
Get the deploymentSettings property: Deployment settings of the Deployment.- Returns:
- the deploymentSettings value.
-
withDeploymentSettings
public DeploymentResourceProperties withDeploymentSettings(DeploymentSettings deploymentSettings)
Set the deploymentSettings property: Deployment settings of the Deployment.- Parameters:
deploymentSettings- the deploymentSettings value to set.- Returns:
- the DeploymentResourceProperties object itself.
-
provisioningState
public DeploymentResourceProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the Deployment.- Returns:
- the provisioningState value.
-
status
public DeploymentResourceStatus status()
Get the status property: Status of the Deployment.- Returns:
- the status value.
-
active
public Boolean active()
Get the active property: Indicates whether the Deployment is active.- Returns:
- the active value.
-
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Date time when the resource is created.- Returns:
- the createdTime value.
-
instances
public List<DeploymentInstance> 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.
-
-