Share via


PSKubernetesCluster Constructor

Definition

Initializes a new instance of the ManagedCluster class.

public PSKubernetesCluster (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string provisioningState = default, string dnsPrefix = default, string fqdn = default, string kubernetesVersion = default, System.Collections.Generic.IList<Microsoft.Azure.Commands.Aks.Models.PSContainerServiceAgentPoolProfile> agentPoolProfiles = default, Microsoft.Azure.Commands.Aks.Models.PSContainerServiceLinuxProfile linuxProfile = default, Microsoft.Azure.Commands.Aks.Models.PSContainerServiceServicePrincipalProfile servicePrincipalProfile = default);
new Microsoft.Azure.Commands.Aks.Models.PSKubernetesCluster : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Commands.Aks.Models.PSContainerServiceAgentPoolProfile> * Microsoft.Azure.Commands.Aks.Models.PSContainerServiceLinuxProfile * Microsoft.Azure.Commands.Aks.Models.PSContainerServiceServicePrincipalProfile -> Microsoft.Azure.Commands.Aks.Models.PSKubernetesCluster
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional provisioningState As String = Nothing, Optional dnsPrefix As String = Nothing, Optional fqdn As String = Nothing, Optional kubernetesVersion As String = Nothing, Optional agentPoolProfiles As IList(Of PSContainerServiceAgentPoolProfile) = Nothing, Optional linuxProfile As PSContainerServiceLinuxProfile = Nothing, Optional servicePrincipalProfile As PSContainerServiceServicePrincipalProfile = Nothing)

Parameters

location
String

Resource location

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

provisioningState
String

The current deployment or provisioning state, which only appears in the response.

dnsPrefix
String

DNS prefix specified when creating the managed cluster.

fqdn
String

FDQN for the master pool.

kubernetesVersion
String

Version of Kubernetes specified when creating the managed cluster.

agentPoolProfiles
IList<PSContainerServiceAgentPoolProfile>

Properties of the agent pool.

linuxProfile
PSContainerServiceLinuxProfile

Profile for Linux VMs in the container service cluster.

servicePrincipalProfile
PSContainerServiceServicePrincipalProfile

Information about a service principal identity for the cluster to use for manipulating Azure APIs. Either secret or keyVaultSecretRef must be specified.

Applies to