Class CsmDeploymentStatus

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.CsmDeploymentStatus

public final class CsmDeploymentStatus extends ProxyOnlyResource
Deployment status response payload.
  • Constructor Details

    • CsmDeploymentStatus

      public CsmDeploymentStatus()
  • Method Details

    • withKind

      public CsmDeploymentStatus withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • deploymentId

      public String deploymentId()
      Get the deploymentId property: Deployment operation id.
      Returns:
      the deploymentId value.
    • withDeploymentId

      public CsmDeploymentStatus withDeploymentId(String deploymentId)
      Set the deploymentId property: Deployment operation id.
      Parameters:
      deploymentId - the deploymentId value to set.
      Returns:
      the CsmDeploymentStatus object itself.
    • status

      public DeploymentBuildStatus status()
      Get the status property: Deployment build status.
      Returns:
      the status value.
    • withStatus

      public CsmDeploymentStatus withStatus(DeploymentBuildStatus status)
      Set the status property: Deployment build status.
      Parameters:
      status - the status value to set.
      Returns:
      the CsmDeploymentStatus object itself.
    • numberOfInstancesInProgress

      public Integer numberOfInstancesInProgress()
      Get the numberOfInstancesInProgress property: Number of site instances currently being provisioned.
      Returns:
      the numberOfInstancesInProgress value.
    • withNumberOfInstancesInProgress

      public CsmDeploymentStatus withNumberOfInstancesInProgress(Integer numberOfInstancesInProgress)
      Set the numberOfInstancesInProgress property: Number of site instances currently being provisioned.
      Parameters:
      numberOfInstancesInProgress - the numberOfInstancesInProgress value to set.
      Returns:
      the CsmDeploymentStatus object itself.
    • numberOfInstancesSuccessful

      public Integer numberOfInstancesSuccessful()
      Get the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.
      Returns:
      the numberOfInstancesSuccessful value.
    • withNumberOfInstancesSuccessful

      public CsmDeploymentStatus withNumberOfInstancesSuccessful(Integer numberOfInstancesSuccessful)
      Set the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.
      Parameters:
      numberOfInstancesSuccessful - the numberOfInstancesSuccessful value to set.
      Returns:
      the CsmDeploymentStatus object itself.
    • numberOfInstancesFailed

      public Integer numberOfInstancesFailed()
      Get the numberOfInstancesFailed property: Number of site instances failed to provision.
      Returns:
      the numberOfInstancesFailed value.
    • withNumberOfInstancesFailed

      public CsmDeploymentStatus withNumberOfInstancesFailed(Integer numberOfInstancesFailed)
      Set the numberOfInstancesFailed property: Number of site instances failed to provision.
      Parameters:
      numberOfInstancesFailed - the numberOfInstancesFailed value to set.
      Returns:
      the CsmDeploymentStatus object itself.
    • failedInstancesLogs

      public List<String> failedInstancesLogs()
      Get the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.
      Returns:
      the failedInstancesLogs value.
    • withFailedInstancesLogs

      public CsmDeploymentStatus withFailedInstancesLogs(List<String> failedInstancesLogs)
      Set the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.
      Parameters:
      failedInstancesLogs - the failedInstancesLogs value to set.
      Returns:
      the CsmDeploymentStatus object itself.
    • errors

      public List<ErrorEntity> errors()
      Get the errors property: List of errors.
      Returns:
      the errors value.
    • withErrors

      public CsmDeploymentStatus withErrors(List<ErrorEntity> errors)
      Set the errors property: List of errors.
      Parameters:
      errors - the errors value to set.
      Returns:
      the CsmDeploymentStatus object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ProxyOnlyResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.