Class AgentPoolProvisioningStatusStatus
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.AgentPoolProvisioningStatusStatus
HybridAKSNodePoolStatus defines the observed state of HybridAKSNodePool.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AgentPoolProvisioningStatusStatus class. -
Method Summary
Modifier and TypeMethodDescriptionGet the errorMessage property: ErrorMessage - Error messages during creation of cluster.Get the provisioningStatus property: Contains Provisioning errors.Get the readyReplicas property: Total number of ready machines targeted by this deployment.replicas()
Get the replicas property: Total number of non-terminated machines targeted by this deployment.void
validate()
Validates the instance.withErrorMessage
(String errorMessage) Set the errorMessage property: ErrorMessage - Error messages during creation of cluster.withProvisioningStatus
(AgentPoolProvisioningStatusStatusProvisioningStatus provisioningStatus) Set the provisioningStatus property: Contains Provisioning errors.withReadyReplicas
(Integer readyReplicas) Set the readyReplicas property: Total number of ready machines targeted by this deployment.withReplicas
(Integer replicas) Set the replicas property: Total number of non-terminated machines targeted by this deployment.
-
Constructor Details
-
AgentPoolProvisioningStatusStatus
public AgentPoolProvisioningStatusStatus()Creates an instance of AgentPoolProvisioningStatusStatus class.
-
-
Method Details
-
errorMessage
Get the errorMessage property: ErrorMessage - Error messages during creation of cluster.- Returns:
- the errorMessage value.
-
withErrorMessage
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
public AgentPoolProvisioningStatusStatus withProvisioningStatus(AgentPoolProvisioningStatusStatusProvisioningStatus provisioningStatus) Set the provisioningStatus property: Contains Provisioning errors.- Parameters:
provisioningStatus
- the provisioningStatus value to set.- Returns:
- the AgentPoolProvisioningStatusStatus object itself.
-
readyReplicas
Get the readyReplicas property: Total number of ready machines targeted by this deployment.- Returns:
- the readyReplicas value.
-
withReadyReplicas
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
Get the replicas property: Total number of non-terminated machines targeted by this deployment.- Returns:
- the replicas value.
-
withReplicas
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.
-