Class ConnectedClusterInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.hybridkubernetes.fluent.models.ConnectedClusterInner

public final class ConnectedClusterInner extends com.azure.core.management.Resource
Represents a connected cluster.
  • Constructor Details

    • ConnectedClusterInner

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

    • identity

      public ConnectedClusterIdentity identity()
      Get the identity property: The identity of the connected cluster.
      Returns:
      the identity value.
    • withIdentity

      public ConnectedClusterInner withIdentity(ConnectedClusterIdentity identity)
      Set the identity property: The identity of the connected cluster.
      Parameters:
      identity - the identity value to set.
      Returns:
      the ConnectedClusterInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Metadata pertaining to creation and last modification of the resource.
      Returns:
      the systemData value.
    • withLocation

      public ConnectedClusterInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ConnectedClusterInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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 ConnectedClusterInner 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 ConnectedClusterInner 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 ConnectedClusterInner withProvisioningState(ProvisioningState provisioningState)
      Set the provisioningState property: Provisioning state of the connected cluster resource.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the ConnectedClusterInner object itself.
    • distribution

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

      public ConnectedClusterInner withDistribution(String distribution)
      Set the distribution property: The Kubernetes distribution running on this connected cluster.
      Parameters:
      distribution - the distribution value to set.
      Returns:
      the ConnectedClusterInner 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 ConnectedClusterInner 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 ConnectedClusterInner 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.