ConnectedClusterInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. hybridkubernetes. fluent. models. ConnectedClusterInner
- com.
- com.
- com.
public final class ConnectedClusterInner
extends Resource
Represents a connected cluster.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectedClusterInner() |
Creates an instance of Connected |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
agentPublicKeyCertificate()
Get the agent |
| String |
agentVersion()
Get the agent |
|
Connectivity |
connectivityStatus()
Get the connectivity |
| String |
distribution()
Get the distribution property: The Kubernetes distribution running on this connected cluster. |
|
static
Connected |
fromJson(JsonReader jsonReader)
Reads an instance of Connected |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Connected |
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 kubernetes |
|
Offset |
lastConnectivityTime()
Get the last |
|
Offset |
managedIdentityCertificateExpirationTime()
Get the managed |
| String |
name()
Get the name property: The name of the resource. |
| String |
offering()
Get the offering property: Connected cluster offering. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
totalCoreCount()
Get the total |
| Integer |
totalNodeCount()
Get the total |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Connected |
withAgentPublicKeyCertificate(String agentPublicKeyCertificate)
Set the agent |
|
Connected |
withDistribution(String distribution)
Set the distribution property: The Kubernetes distribution running on this connected cluster. |
|
Connected |
withIdentity(ConnectedClusterIdentity identity)
Set the identity property: The identity of the connected cluster. |
|
Connected |
withInfrastructure(String infrastructure)
Set the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on. |
|
Connected |
withLocation(String location) |
|
Connected |
withProvisioningState(ProvisioningState provisioningState)
Set the provisioning |
|
Connected |
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:
agentVersion
public String agentVersion()
Get the agentVersion property: Version of the agent running on the connected cluster resource.
Returns:
connectivityStatus
public ConnectivityStatus connectivityStatus()
Get the connectivityStatus property: Represents the connectivity status of the connected cluster.
Returns:
distribution
public String distribution()
Get the distribution property: The Kubernetes distribution running on this connected cluster.
Returns:
fromJson
public static ConnectedClusterInner fromJson(JsonReader jsonReader)
Reads an instance of ConnectedClusterInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ConnectedClusterInner.id()Returns:
identity
public ConnectedClusterIdentity identity()
Get the identity property: The identity of the connected cluster.
Returns:
infrastructure
public String infrastructure()
Get the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
Returns:
kubernetesVersion
public String kubernetesVersion()
Get the kubernetesVersion property: The Kubernetes version of the connected cluster resource.
Returns:
lastConnectivityTime
public OffsetDateTime lastConnectivityTime()
Get the lastConnectivityTime property: Time representing the last instance when heart beat was received from the cluster.
Returns:
managedIdentityCertificateExpirationTime
public OffsetDateTime managedIdentityCertificateExpirationTime()
Get the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ConnectedClusterInner.name()Returns:
offering
public String offering()
Get the offering property: Connected cluster offering.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the connected cluster resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ConnectedClusterInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
totalCoreCount
public Integer totalCoreCount()
Get the totalCoreCount property: Number of CPU cores present in the connected cluster resource.
Returns:
totalNodeCount
public Integer totalNodeCount()
Get the totalNodeCount property: Number of nodes present in the connected cluster resource.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ConnectedClusterInner.type()Returns:
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:
Returns:
withDistribution
public ConnectedClusterInner withDistribution(String distribution)
Set the distribution property: The Kubernetes distribution running on this connected cluster.
Parameters:
Returns:
withIdentity
public ConnectedClusterInner withIdentity(ConnectedClusterIdentity identity)
Set the identity property: The identity of the connected cluster.
Parameters:
Returns:
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:
Returns:
withLocation
public ConnectedClusterInner withLocation(String location)
Overrides:
ConnectedClusterInner.withLocation(String location)Parameters:
withProvisioningState
public ConnectedClusterInner withProvisioningState(ProvisioningState provisioningState)
Set the provisioningState property: Provisioning state of the connected cluster resource.
Parameters:
Returns:
withTags
public ConnectedClusterInner withTags(Map<String,String> tags)
Overrides:
ConnectedClusterInner.withTags(Map<String,String> tags)Parameters: