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

public final class ArcAgentStatus extends Object
Defines the observed Arc Agent status that is resourceSynced back to the ARM resource.
  • Constructor Details

    • ArcAgentStatus

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

    • deploymentState

      public DeploymentState 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

      public ArcAgentStatus withDeploymentState(DeploymentState deploymentState)
      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

      public String errorMessage()
      Get the errorMessage property: Error messages while onboarding/upgrading/uninstalling the Arc agents.
      Returns:
      the errorMessage value.
    • withErrorMessage

      public ArcAgentStatus withErrorMessage(String errorMessage)
      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

      public String 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

      public ArcAgentStatus withOnboardingPublicKey(String onboardingPublicKey)
      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

      public String agentVersion()
      Get the agentVersion property: Version of the Arc agents currently running on the Provisioned cluster resource.
      Returns:
      the agentVersion value.
    • withAgentVersion

      public ArcAgentStatus withAgentVersion(String agentVersion)
      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

      public Long coreCount()
      Get the coreCount property: Number of CPU cores present in the Provisioned cluster resource.
      Returns:
      the coreCount value.
    • withCoreCount

      public ArcAgentStatus withCoreCount(Long coreCount)
      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

      public OffsetDateTime 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

      public OffsetDateTime lastConnectivityTime()
      Get the lastConnectivityTime property: Last connected timestamp of the Provisioned cluster resource.
      Returns:
      the lastConnectivityTime value.
    • withLastConnectivityTime

      public ArcAgentStatus withLastConnectivityTime(OffsetDateTime lastConnectivityTime)
      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.