Class ConnectedClusterProperties
java.lang.Object
com.azure.resourcemanager.hybridkubernetes.fluent.models.ConnectedClusterProperties
Properties of the connected cluster.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ConnectedClusterProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the agentPublicKeyCertificate property: Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.Get the agentVersion property: Version of the agent running on the connected cluster resource.Get the connectivityStatus property: Represents the connectivity status of the connected cluster.Get the distribution property: The Kubernetes distribution running on this connected cluster.Get the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.Get the kubernetesVersion property: The Kubernetes version of the connected cluster resource.Get the lastConnectivityTime property: Time representing the last instance when heart beat was received from the cluster.Get the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.offering()
Get the offering property: Connected cluster offering.Get the provisioningState property: Provisioning state of the connected cluster resource.Get the totalCoreCount property: Number of CPU cores present in the connected cluster resource.Get the totalNodeCount property: Number of nodes present in the connected cluster resource.void
validate()
Validates the instance.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.withDistribution
(String distribution) Set the distribution property: The Kubernetes distribution running on this connected cluster.withInfrastructure
(String infrastructure) Set the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.withProvisioningState
(ProvisioningState provisioningState) Set the provisioningState property: Provisioning state of the connected cluster resource.
-
Constructor Details
-
ConnectedClusterProperties
public ConnectedClusterProperties()Creates an instance of ConnectedClusterProperties class.
-
-
Method Details
-
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
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
Get the kubernetesVersion property: The Kubernetes version of the connected cluster resource.- Returns:
- the kubernetesVersion value.
-
totalNodeCount
Get the totalNodeCount property: Number of nodes present in the connected cluster resource.- Returns:
- the totalNodeCount value.
-
totalCoreCount
Get the totalCoreCount property: Number of CPU cores present in the connected cluster resource.- Returns:
- the totalCoreCount value.
-
agentVersion
Get the agentVersion property: Version of the agent running on the connected cluster resource.- Returns:
- the agentVersion value.
-
provisioningState
Get the provisioningState property: Provisioning state of the connected cluster resource.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: Provisioning state of the connected cluster resource.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the ConnectedClusterProperties object itself.
-
distribution
Get the distribution property: The Kubernetes distribution running on this connected cluster.- Returns:
- the distribution value.
-
withDistribution
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
Get the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.- Returns:
- the infrastructure value.
-
withInfrastructure
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
Get the offering property: Connected cluster offering.- Returns:
- the offering value.
-
managedIdentityCertificateExpirationTime
Get the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.- Returns:
- the managedIdentityCertificateExpirationTime value.
-
lastConnectivityTime
Get the lastConnectivityTime property: Time representing the last instance when heart beat was received from the cluster.- Returns:
- the lastConnectivityTime value.
-
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.
-