Interface ConnectedCluster
public interface ConnectedCluster
An immutable client-side representation of ConnectedCluster.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the ConnectedCluster definition.static interface
The ConnectedCluster definition stages.static interface
The template for ConnectedCluster update.static interface
The ConnectedCluster update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the agentPublicKeyCertificate property: Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.Gets the agentVersion property: Version of the agent running on the connected cluster resource.Gets the connectivityStatus property: Represents the connectivity status of the connected cluster.Gets the distribution property: The Kubernetes distribution running on this connected cluster.id()
Gets the id property: Fully qualified resource Id for the resource.identity()
Gets the identity property: The identity of the connected cluster.Gets the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.Gets the inner com.azure.resourcemanager.hybridkubernetes.fluent.models.ConnectedClusterInner object.Gets the kubernetesVersion property: The Kubernetes version of the connected cluster resource.Gets the lastConnectivityTime property: Time representing the last instance when heart beat was received from the cluster.Gets cluster user credentials of a connected clustercom.azure.core.http.rest.Response<CredentialResults>
listClusterUserCredentialWithResponse
(ListClusterUserCredentialProperties properties, com.azure.core.util.Context context) Gets cluster user credentials of a connected clusterlocation()
Gets the location property: The geo-location where the resource lives.Gets the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.name()
Gets the name property: The name of the resource.offering()
Gets the offering property: Connected cluster offering.Gets the provisioningState property: Provisioning state of the connected cluster resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.com.azure.core.management.SystemData
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.tags()
Gets the tags property: Resource tags.Gets the totalCoreCount property: Number of CPU cores present in the connected cluster resource.Gets the totalNodeCount property: Number of nodes present in the connected cluster resource.type()
Gets the type property: The type of the resource.update()
Begins update for the ConnectedCluster resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
identity
ConnectedClusterIdentity identity()Gets the identity property: The identity of the connected cluster.- Returns:
- the identity value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
agentPublicKeyCertificate
String agentPublicKeyCertificate()Gets 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.
-
kubernetesVersion
String kubernetesVersion()Gets the kubernetesVersion property: The Kubernetes version of the connected cluster resource.- Returns:
- the kubernetesVersion value.
-
totalNodeCount
Integer totalNodeCount()Gets the totalNodeCount property: Number of nodes present in the connected cluster resource.- Returns:
- the totalNodeCount value.
-
totalCoreCount
Integer totalCoreCount()Gets the totalCoreCount property: Number of CPU cores present in the connected cluster resource.- Returns:
- the totalCoreCount value.
-
agentVersion
String agentVersion()Gets the agentVersion property: Version of the agent running on the connected cluster resource.- Returns:
- the agentVersion value.
-
provisioningState
ProvisioningState provisioningState()Gets the provisioningState property: Provisioning state of the connected cluster resource.- Returns:
- the provisioningState value.
-
distribution
String distribution()Gets the distribution property: The Kubernetes distribution running on this connected cluster.- Returns:
- the distribution value.
-
infrastructure
String infrastructure()Gets the infrastructure property: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.- Returns:
- the infrastructure value.
-
offering
String offering()Gets the offering property: Connected cluster offering.- Returns:
- the offering value.
-
managedIdentityCertificateExpirationTime
OffsetDateTime managedIdentityCertificateExpirationTime()Gets the managedIdentityCertificateExpirationTime property: Expiration time of the managed identity certificate.- Returns:
- the managedIdentityCertificateExpirationTime value.
-
lastConnectivityTime
OffsetDateTime lastConnectivityTime()Gets the lastConnectivityTime property: Time representing the last instance when heart beat was received from the cluster.- Returns:
- the lastConnectivityTime value.
-
connectivityStatus
ConnectivityStatus connectivityStatus()Gets the connectivityStatus property: Represents the connectivity status of the connected cluster.- Returns:
- the connectivityStatus value.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
ConnectedClusterInner innerModel()Gets the inner com.azure.resourcemanager.hybridkubernetes.fluent.models.ConnectedClusterInner object.- Returns:
- the inner object.
-
update
ConnectedCluster.Update update()Begins update for the ConnectedCluster resource.- Returns:
- the stage of resource update.
-
refresh
ConnectedCluster refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
listClusterUserCredentialWithResponse
com.azure.core.http.rest.Response<CredentialResults> listClusterUserCredentialWithResponse(ListClusterUserCredentialProperties properties, com.azure.core.util.Context context) Gets cluster user credentials of a connected clusterGets cluster user credentials of the connected cluster with a specified resource group and name.
- Parameters:
properties
- ListClusterUserCredential properties.context
- The context to associate with this operation.- Returns:
- cluster user credentials of the connected cluster with a specified resource group and name along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterUserCredential
Gets cluster user credentials of a connected clusterGets cluster user credentials of the connected cluster with a specified resource group and name.
- Parameters:
properties
- ListClusterUserCredential properties.- Returns:
- cluster user credentials of the connected cluster with a specified resource group and name.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-