Class ArcAgentStatus
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ArcAgentStatus
Defines the observed Arc Agent status that is resourceSynced back to the ARM resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the agentVersion property: Version of the Arc agents currently running on the Provisioned cluster resource.Get the coreCount property: Number of CPU cores present in the Provisioned cluster resource.Get the deploymentState property: Observed deployment state of the Arc Agents on the target cluster.Get the errorMessage property: Error messages while onboarding/upgrading/uninstalling the Arc agents.Get the lastConnectivityTime property: Last connected timestamp of the Provisioned cluster resource.Get the managedIdentityCertificateExpirationTime property: ManagedIdentity certificate expiration time (ValidUntil).Get the onboardingPublicKey property: Onboarding public key for provisioning the Managed identity for the HybridAKS cluster.void
validate()
Validates the instance.withAgentVersion
(String agentVersion) Set the agentVersion property: Version of the Arc agents currently running on the Provisioned cluster resource.withCoreCount
(Long coreCount) Set the coreCount property: Number of CPU cores present in the Provisioned cluster resource.withDeploymentState
(DeploymentState deploymentState) Set the deploymentState property: Observed deployment state of the Arc Agents on the target cluster.withErrorMessage
(String errorMessage) Set the errorMessage property: Error messages while onboarding/upgrading/uninstalling the Arc agents.withLastConnectivityTime
(OffsetDateTime lastConnectivityTime) Set the lastConnectivityTime property: Last connected timestamp of the Provisioned cluster resource.withManagedIdentityCertificateExpirationTime
(OffsetDateTime managedIdentityCertificateExpirationTime) Set the managedIdentityCertificateExpirationTime property: ManagedIdentity certificate expiration time (ValidUntil).withOnboardingPublicKey
(String onboardingPublicKey) Set the onboardingPublicKey property: Onboarding public key for provisioning the Managed identity for the HybridAKS cluster.
-
Constructor Details
-
ArcAgentStatus
public ArcAgentStatus()Creates an instance of ArcAgentStatus class.
-
-
Method Details
-
deploymentState
Get the deploymentState property: Observed deployment state of the Arc Agents on the target cluster. Possible values include: 'pending', 'provisioning', 'provisioned', 'deleting', 'failed', 'upgrading'.- Returns:
- the deploymentState value.
-
withDeploymentState
Set the deploymentState property: Observed deployment state of the Arc Agents on the target cluster. Possible values include: 'pending', 'provisioning', 'provisioned', 'deleting', 'failed', 'upgrading'.- Parameters:
deploymentState
- the deploymentState value to set.- Returns:
- the ArcAgentStatus object itself.
-
errorMessage
Get the errorMessage property: Error messages while onboarding/upgrading/uninstalling the Arc agents.- Returns:
- the errorMessage value.
-
withErrorMessage
Set the errorMessage property: Error messages while onboarding/upgrading/uninstalling the Arc agents.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the ArcAgentStatus object itself.
-
onboardingPublicKey
Get the onboardingPublicKey property: Onboarding public key for provisioning the Managed identity for the HybridAKS cluster. Will be used to create the hybridIdentityMetadata proxy resource and will not be persisted.- Returns:
- the onboardingPublicKey value.
-
withOnboardingPublicKey
Set the onboardingPublicKey property: Onboarding public key for provisioning the Managed identity for the HybridAKS cluster. Will be used to create the hybridIdentityMetadata proxy resource and will not be persisted.- Parameters:
onboardingPublicKey
- the onboardingPublicKey value to set.- Returns:
- the ArcAgentStatus object itself.
-
agentVersion
Get the agentVersion property: Version of the Arc agents currently running on the Provisioned cluster resource.- Returns:
- the agentVersion value.
-
withAgentVersion
Set the agentVersion property: Version of the Arc agents currently running on the Provisioned cluster resource.- Parameters:
agentVersion
- the agentVersion value to set.- Returns:
- the ArcAgentStatus object itself.
-
coreCount
Get the coreCount property: Number of CPU cores present in the Provisioned cluster resource.- Returns:
- the coreCount value.
-
withCoreCount
Set the coreCount property: Number of CPU cores present in the Provisioned cluster resource.- Parameters:
coreCount
- the coreCount value to set.- Returns:
- the ArcAgentStatus object itself.
-
managedIdentityCertificateExpirationTime
Get the managedIdentityCertificateExpirationTime property: ManagedIdentity certificate expiration time (ValidUntil).- Returns:
- the managedIdentityCertificateExpirationTime value.
-
withManagedIdentityCertificateExpirationTime
public ArcAgentStatus withManagedIdentityCertificateExpirationTime(OffsetDateTime managedIdentityCertificateExpirationTime) Set the managedIdentityCertificateExpirationTime property: ManagedIdentity certificate expiration time (ValidUntil).- Parameters:
managedIdentityCertificateExpirationTime
- the managedIdentityCertificateExpirationTime value to set.- Returns:
- the ArcAgentStatus object itself.
-
lastConnectivityTime
Get the lastConnectivityTime property: Last connected timestamp of the Provisioned cluster resource.- Returns:
- the lastConnectivityTime value.
-
withLastConnectivityTime
Set the lastConnectivityTime property: Last connected timestamp of the Provisioned cluster resource.- Parameters:
lastConnectivityTime
- the lastConnectivityTime value to set.- Returns:
- the ArcAgentStatus object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-