다음을 통해 공유


ArmKubernetesModelFactory.ConnectedClusterData Method

Definition

Initializes a new instance of ConnectedClusterData.

public static Azure.ResourceManager.Kubernetes.ConnectedClusterData ConnectedClusterData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string agentPublicKeyCertificate = default, string kubernetesVersion = default, int? totalNodeCount = default, int? totalCoreCount = default, string agentVersion = default, Azure.ResourceManager.Kubernetes.Models.ProvisioningState? provisioningState = default, string distribution = default, string infrastructure = default, string offering = default, DateTimeOffset? managedIdentityCertificateExpirationOn = default, DateTimeOffset? lastConnectivityOn = default, Azure.ResourceManager.Kubernetes.Models.ConnectivityStatus? connectivityStatus = default, Azure.ResourceManager.Kubernetes.Models.PrivateLinkState? privateLinkState = default, string privateLinkScopeResourceId = default);
static member ConnectedClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * string * string * Nullable<int> * Nullable<int> * string * Nullable<Azure.ResourceManager.Kubernetes.Models.ProvisioningState> * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Kubernetes.Models.ConnectivityStatus> * Nullable<Azure.ResourceManager.Kubernetes.Models.PrivateLinkState> * string -> Azure.ResourceManager.Kubernetes.ConnectedClusterData
Public Shared Function ConnectedClusterData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional agentPublicKeyCertificate As String = Nothing, Optional kubernetesVersion As String = Nothing, Optional totalNodeCount As Nullable(Of Integer) = Nothing, Optional totalCoreCount As Nullable(Of Integer) = Nothing, Optional agentVersion As String = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional distribution As String = Nothing, Optional infrastructure As String = Nothing, Optional offering As String = Nothing, Optional managedIdentityCertificateExpirationOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastConnectivityOn As Nullable(Of DateTimeOffset) = Nothing, Optional connectivityStatus As Nullable(Of ConnectivityStatus) = Nothing, Optional privateLinkState As Nullable(Of PrivateLinkState) = Nothing, Optional privateLinkScopeResourceId As String = Nothing) As ConnectedClusterData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

identity
ManagedServiceIdentity

The identity of the connected cluster. Current supported identity types: None, SystemAssigned.

agentPublicKeyCertificate
String

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

kubernetesVersion
String

The Kubernetes version of the connected cluster resource.

totalNodeCount
Nullable<Int32>

Number of nodes present in the connected cluster resource.

totalCoreCount
Nullable<Int32>

Number of CPU cores present in the connected cluster resource.

agentVersion
String

Version of the agent running on the connected cluster resource.

provisioningState
Nullable<ProvisioningState>

Provisioning state of the connected cluster resource.

distribution
String

The Kubernetes distribution running on this connected cluster.

infrastructure
String

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

offering
String

Connected cluster offering.

managedIdentityCertificateExpirationOn
Nullable<DateTimeOffset>

Expiration time of the managed identity certificate.

lastConnectivityOn
Nullable<DateTimeOffset>

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

connectivityStatus
Nullable<ConnectivityStatus>

Represents the connectivity status of the connected cluster.

privateLinkState
Nullable<PrivateLinkState>

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

privateLinkScopeResourceId
String

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

Returns

A new ConnectedClusterData instance for mocking.

Applies to