ConnectedClusterInner Class

public final class ConnectedClusterInner
extends Resource

Represents a connected cluster.

Constructor Summary

Constructor Description
ConnectedClusterInner()

Creates an instance of ConnectedClusterInner class.

Method Summary

Modifier and Type Method and Description
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.

String agentVersion()

Get the agentVersion property: Version of the agent running on the connected cluster resource.

ConnectivityStatus connectivityStatus()

Get the connectivityStatus property: Represents the connectivity status of the connected cluster.

String distribution()

Get the distribution property: The Kubernetes distribution running on this connected cluster.

static ConnectedClusterInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectedClusterInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

ConnectedClusterIdentity identity()

Get the identity property: The identity of the connected cluster.

String infrastructure()

Get the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.

String kubernetesVersion()

Get the kubernetesVersion property: The Kubernetes version of the connected cluster resource.

OffsetDateTime lastConnectivityTime()

Get the lastConnectivityTime property: Time representing the last instance when heart beat was received from the cluster.

OffsetDateTime managedIdentityCertificateExpirationTime()

Get the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.

String name()

Get the name property: The name of the resource.

String offering()

Get the offering property: Connected cluster offering.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the connected cluster resource.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
Integer totalCoreCount()

Get the totalCoreCount property: Number of CPU cores present in the connected cluster resource.

Integer totalNodeCount()

Get the totalNodeCount property: Number of nodes present in the connected cluster resource.

String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

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.

ConnectedClusterInner withDistribution(String distribution)

Set the distribution property: The Kubernetes distribution running on this connected cluster.

ConnectedClusterInner withIdentity(ConnectedClusterIdentity identity)

Set the identity property: The identity of the connected cluster.

ConnectedClusterInner withInfrastructure(String infrastructure)

Set the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.

ConnectedClusterInner withLocation(String location)
ConnectedClusterInner withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: Provisioning state of the connected cluster resource.

ConnectedClusterInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ConnectedClusterInner

public ConnectedClusterInner()

Creates an instance of ConnectedClusterInner 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.

agentVersion

public String agentVersion()

Get the agentVersion property: Version of the agent running on the connected cluster resource.

Returns:

the agentVersion value.

connectivityStatus

public ConnectivityStatus connectivityStatus()

Get the connectivityStatus property: Represents the connectivity status of the connected cluster.

Returns:

the connectivityStatus value.

distribution

public String distribution()

Get the distribution property: The Kubernetes distribution running on this connected cluster.

Returns:

the distribution value.

fromJson

public static ConnectedClusterInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectedClusterInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectedClusterInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ConnectedClusterInner.id()

Returns:

the id value.

identity

public ConnectedClusterIdentity identity()

Get the identity property: The identity of the connected cluster.

Returns:

the identity value.

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.

kubernetesVersion

public String kubernetesVersion()

Get the kubernetesVersion property: The Kubernetes version of the connected cluster resource.

Returns:

the kubernetesVersion 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.

managedIdentityCertificateExpirationTime

public OffsetDateTime managedIdentityCertificateExpirationTime()

Get the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.

Returns:

the managedIdentityCertificateExpirationTime value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ConnectedClusterInner.name()

Returns:

the name value.

offering

public String offering()

Get the offering property: Connected cluster offering.

Returns:

the offering value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the connected cluster resource.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ConnectedClusterInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalCoreCount

public Integer totalCoreCount()

Get the totalCoreCount property: Number of CPU cores present in the connected cluster resource.

Returns:

the totalCoreCount value.

totalNodeCount

public Integer totalNodeCount()

Get the totalNodeCount property: Number of nodes present in the connected cluster resource.

Returns:

the totalNodeCount value.

type

public String type()

Get the type property: The type of the resource.

Overrides:

ConnectedClusterInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

withLocation

public ConnectedClusterInner withLocation(String location)

Overrides:

ConnectedClusterInner.withLocation(String location)

Parameters:

location

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.

withTags

public ConnectedClusterInner withTags(Map<String,String> tags)

Overrides:

ConnectedClusterInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to