Class DeploymentResourceProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.DeploymentResourceProperties

public final class DeploymentResourceProperties extends Object
Deployment resource properties payload.
  • Constructor Details

    • DeploymentResourceProperties

      public DeploymentResourceProperties()
  • Method Details

    • 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.
    • 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.
    • withActive

      public DeploymentResourceProperties withActive(Boolean active)
      Set the active property: Indicates whether the Deployment is active.
      Parameters:
      active - the active value to set.
      Returns:
      the DeploymentResourceProperties object itself.
    • 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.