Share via


ConnectedCluster Class

Definition

Represents a connected cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20221001Preview.ConnectedClusterTypeConverter))]
public class ConnectedCluster : Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20221001Preview.IConnectedCluster, Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20221001Preview.ConnectedClusterTypeConverter))>]
type ConnectedCluster = class
    interface IConnectedCluster
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class ConnectedCluster
Implements IConnectedCluster, IValidates
Inheritance
ConnectedCluster
Attributes
Implements

Constructors

ConnectedCluster()

Creates an new ConnectedCluster instance.

Properties

AgentPublicKeyCertificate

Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.

AgentVersion

Version of the agent running on the connected cluster resource

AzureHybridBenefit

Indicates whether Azure Hybrid Benefit is opted in

ConnectivityStatus

Represents the connectivity status of the connected cluster.

Distribution

The Kubernetes distribution running on this connected cluster.

DistributionVersion

The Kubernetes distribution version on this connected cluster.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

IdentityPrincipalId

The principal id of connected cluster identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.

IdentityType

The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.

Infrastructure

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

KubernetesVersion

The Kubernetes version of the connected cluster resource

LastConnectivityTime

Time representing the last instance when heart beat was received from the cluster

Location

The geo-location where the resource lives

ManagedIdentityCertificateExpirationTime

Expiration time of the managed identity certificate

MiscellaneousProperty

More properties related to the Connected Cluster

Name

The name of the resource

Offering

Connected cluster offering

PrivateLinkScopeResourceId

The resource id of the private link scope this connected cluster is assigned to, if any.

PrivateLinkState

Property which describes the state of private link on a connected cluster resource.

ProvisioningState

Provisioning state of the connected cluster resource.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource modification (UTC).

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

TotalCoreCount

Number of CPU cores present in the connected cluster resource

TotalNodeCount

Number of nodes present in the connected cluster resource

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ConnectedCluster.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ConnectedCluster.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20221001Preview.IConnectedCluster.

FromJsonString(String)

Creates a new instance of ConnectedCluster, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ConnectedCluster into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to