Class AgentPoolProvisioningStatusStatus

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.AgentPoolProvisioningStatusStatus

public final class AgentPoolProvisioningStatusStatus extends Object
HybridAKSNodePoolStatus defines the observed state of HybridAKSNodePool.
  • Constructor Details

    • AgentPoolProvisioningStatusStatus

      public AgentPoolProvisioningStatusStatus()
      Creates an instance of AgentPoolProvisioningStatusStatus class.
  • Method Details

    • errorMessage

      public String errorMessage()
      Get the errorMessage property: ErrorMessage - Error messages during creation of cluster.
      Returns:
      the errorMessage value.
    • withErrorMessage

      public AgentPoolProvisioningStatusStatus withErrorMessage(String errorMessage)
      Set the errorMessage property: ErrorMessage - Error messages during creation of cluster.
      Parameters:
      errorMessage - the errorMessage value to set.
      Returns:
      the AgentPoolProvisioningStatusStatus object itself.
    • provisioningStatus

      Get the provisioningStatus property: Contains Provisioning errors.
      Returns:
      the provisioningStatus value.
    • withProvisioningStatus

      Set the provisioningStatus property: Contains Provisioning errors.
      Parameters:
      provisioningStatus - the provisioningStatus value to set.
      Returns:
      the AgentPoolProvisioningStatusStatus object itself.
    • readyReplicas

      public Integer readyReplicas()
      Get the readyReplicas property: Total number of ready machines targeted by this deployment.
      Returns:
      the readyReplicas value.
    • withReadyReplicas

      public AgentPoolProvisioningStatusStatus withReadyReplicas(Integer readyReplicas)
      Set the readyReplicas property: Total number of ready machines targeted by this deployment.
      Parameters:
      readyReplicas - the readyReplicas value to set.
      Returns:
      the AgentPoolProvisioningStatusStatus object itself.
    • replicas

      public Integer replicas()
      Get the replicas property: Total number of non-terminated machines targeted by this deployment.
      Returns:
      the replicas value.
    • withReplicas

      public AgentPoolProvisioningStatusStatus withReplicas(Integer replicas)
      Set the replicas property: Total number of non-terminated machines targeted by this deployment.
      Parameters:
      replicas - the replicas value to set.
      Returns:
      the AgentPoolProvisioningStatusStatus object itself.
    • validate

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