Class ConnectedClusterProperties

java.lang.Object
com.azure.resourcemanager.hybridkubernetes.fluent.models.ConnectedClusterProperties

public final class ConnectedClusterProperties extends Object
Properties of the connected cluster.
  • Constructor Details

    • ConnectedClusterProperties

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

    • agentPublicKeyCertificate

      public String agentPublicKeyCertificate()
      Get the agentPublicKeyCertificate property: Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
      Returns:
      the agentPublicKeyCertificate value.
    • withAgentPublicKeyCertificate

      public ConnectedClusterProperties withAgentPublicKeyCertificate(String agentPublicKeyCertificate)
      Set the agentPublicKeyCertificate property: Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
      Parameters:
      agentPublicKeyCertificate - the agentPublicKeyCertificate value to set.
      Returns:
      the ConnectedClusterProperties object itself.
    • kubernetesVersion

      public String kubernetesVersion()
      Get the kubernetesVersion property: The Kubernetes version of the connected cluster resource.
      Returns:
      the kubernetesVersion value.
    • totalNodeCount

      public Integer totalNodeCount()
      Get the totalNodeCount property: Number of nodes present in the connected cluster resource.
      Returns:
      the totalNodeCount value.
    • totalCoreCount

      public Integer totalCoreCount()
      Get the totalCoreCount property: Number of CPU cores present in the connected cluster resource.
      Returns:
      the totalCoreCount value.
    • agentVersion

      public String agentVersion()
      Get the agentVersion property: Version of the agent running on the connected cluster resource.
      Returns:
      the agentVersion value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the connected cluster resource.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public ConnectedClusterProperties withProvisioningState(ProvisioningState provisioningState)
      Set the provisioningState property: Provisioning state of the connected cluster resource.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the ConnectedClusterProperties object itself.
    • distribution

      public String distribution()
      Get the distribution property: The Kubernetes distribution running on this connected cluster.
      Returns:
      the distribution value.
    • withDistribution

      public ConnectedClusterProperties withDistribution(String distribution)
      Set the distribution property: The Kubernetes distribution running on this connected cluster.
      Parameters:
      distribution - the distribution value to set.
      Returns:
      the ConnectedClusterProperties object itself.
    • infrastructure

      public String infrastructure()
      Get the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
      Returns:
      the infrastructure value.
    • withInfrastructure

      public ConnectedClusterProperties withInfrastructure(String infrastructure)
      Set the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
      Parameters:
      infrastructure - the infrastructure value to set.
      Returns:
      the ConnectedClusterProperties object itself.
    • offering

      public String offering()
      Get the offering property: Connected cluster offering.
      Returns:
      the offering value.
    • managedIdentityCertificateExpirationTime

      public OffsetDateTime managedIdentityCertificateExpirationTime()
      Get the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.
      Returns:
      the managedIdentityCertificateExpirationTime value.
    • lastConnectivityTime

      public OffsetDateTime lastConnectivityTime()
      Get the lastConnectivityTime property: Time representing the last instance when heart beat was received from the cluster.
      Returns:
      the lastConnectivityTime value.
    • connectivityStatus

      public ConnectivityStatus connectivityStatus()
      Get the connectivityStatus property: Represents the connectivity status of the connected cluster.
      Returns:
      the connectivityStatus value.
    • validate

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