Partilhar via


ArmContainerServiceModelFactory.ContainerServiceManagedClusterData Método

Definição

Inicializa uma nova instância de ContainerServiceManagedClusterData.

public static Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterData ContainerServiceManagedClusterData (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.ContainerService.Models.ManagedClusterSku sku = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string provisioningState = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceStateCode? powerStateCode = default, Azure.Core.ResourceIdentifier creationDataSourceResourceId = default, int? maxAgentPools = default, string kubernetesVersion = default, string currentKubernetesVersion = default, string dnsPrefix = default, string fqdnSubdomain = default, string fqdn = default, string privateFqdn = default, string azurePortalFqdn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ManagedClusterAgentPoolProfile> agentPoolProfiles = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceLinuxProfile linuxProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterWindowsProfile windowsProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterServicePrincipalProfile servicePrincipalProfile = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.ContainerService.Models.ManagedClusterAddonProfile> addonProfiles = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityProfile podIdentityProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterOidcIssuerProfile oidcIssuerProfile = default, string nodeResourceGroup = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterNodeResourceGroupRestrictionLevel? nodeResourceGroupRestrictionLevel = default, bool? enableRbac = default, bool? enablePodSecurityPolicy = default, bool? enableNamespaceResources = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkProfile networkProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterAadProfile aadProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoUpgradeProfile autoUpgradeProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoScalerProfile autoScalerProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterApiServerAccessProfile apiServerAccessProfile = default, Azure.Core.ResourceIdentifier diskEncryptionSetId = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.ContainerService.Models.ContainerServiceUserAssignedIdentity> identityProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ContainerServicePrivateLinkResourceData> privateLinkResources = default, bool? disableLocalAccounts = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterHttpProxyConfig httpProxyConfig = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterSecurityProfile securityProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterStorageProfile storageProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterIngressProfileWebAppRouting ingressWebAppRouting = default, Azure.ResourceManager.ContainerService.Models.ContainerServicePublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileMetrics azureMonitorMetrics = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfile guardrailsProfile = default);
static member ContainerServiceManagedClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.ContainerService.Models.ManagedClusterSku * Azure.ResourceManager.Resources.Models.ExtendedLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * string * Nullable<Azure.ResourceManager.ContainerService.Models.ContainerServiceStateCode> * Azure.Core.ResourceIdentifier * Nullable<int> * string * string * string * string * string * string * string * seq<Azure.ResourceManager.ContainerService.Models.ManagedClusterAgentPoolProfile> * Azure.ResourceManager.ContainerService.Models.ContainerServiceLinuxProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterWindowsProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterServicePrincipalProfile * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.ContainerService.Models.ManagedClusterAddonProfile> * Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterOidcIssuerProfile * string * Nullable<Azure.ResourceManager.ContainerService.Models.ManagedClusterNodeResourceGroupRestrictionLevel> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterAadProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoUpgradeProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoScalerProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterApiServerAccessProfile * Azure.Core.ResourceIdentifier * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.ContainerService.Models.ContainerServiceUserAssignedIdentity> * seq<Azure.ResourceManager.ContainerService.Models.ContainerServicePrivateLinkResourceData> * Nullable<bool> * Azure.ResourceManager.ContainerService.Models.ManagedClusterHttpProxyConfig * Azure.ResourceManager.ContainerService.Models.ManagedClusterSecurityProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterStorageProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterIngressProfileWebAppRouting * Nullable<Azure.ResourceManager.ContainerService.Models.ContainerServicePublicNetworkAccess> * Azure.ResourceManager.ContainerService.Models.ManagedClusterWorkloadAutoScalerProfile * Azure.ResourceManager.ContainerService.Models.ManagedClusterMonitorProfileMetrics * Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfile -> Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterData
Public Shared Function ContainerServiceManagedClusterData (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 sku As ManagedClusterSku = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional provisioningState As String = Nothing, Optional powerStateCode As Nullable(Of ContainerServiceStateCode) = Nothing, Optional creationDataSourceResourceId As ResourceIdentifier = Nothing, Optional maxAgentPools As Nullable(Of Integer) = Nothing, Optional kubernetesVersion As String = Nothing, Optional currentKubernetesVersion As String = Nothing, Optional dnsPrefix As String = Nothing, Optional fqdnSubdomain As String = Nothing, Optional fqdn As String = Nothing, Optional privateFqdn As String = Nothing, Optional azurePortalFqdn As String = Nothing, Optional agentPoolProfiles As IEnumerable(Of ManagedClusterAgentPoolProfile) = Nothing, Optional linuxProfile As ContainerServiceLinuxProfile = Nothing, Optional windowsProfile As ManagedClusterWindowsProfile = Nothing, Optional servicePrincipalProfile As ManagedClusterServicePrincipalProfile = Nothing, Optional addonProfiles As IDictionary(Of String, ManagedClusterAddonProfile) = Nothing, Optional podIdentityProfile As ManagedClusterPodIdentityProfile = Nothing, Optional oidcIssuerProfile As ManagedClusterOidcIssuerProfile = Nothing, Optional nodeResourceGroup As String = Nothing, Optional nodeResourceGroupRestrictionLevel As Nullable(Of ManagedClusterNodeResourceGroupRestrictionLevel) = Nothing, Optional enableRbac As Nullable(Of Boolean) = Nothing, Optional enablePodSecurityPolicy As Nullable(Of Boolean) = Nothing, Optional enableNamespaceResources As Nullable(Of Boolean) = Nothing, Optional networkProfile As ContainerServiceNetworkProfile = Nothing, Optional aadProfile As ManagedClusterAadProfile = Nothing, Optional autoUpgradeProfile As ManagedClusterAutoUpgradeProfile = Nothing, Optional autoScalerProfile As ManagedClusterAutoScalerProfile = Nothing, Optional apiServerAccessProfile As ManagedClusterApiServerAccessProfile = Nothing, Optional diskEncryptionSetId As ResourceIdentifier = Nothing, Optional identityProfile As IDictionary(Of String, ContainerServiceUserAssignedIdentity) = Nothing, Optional privateLinkResources As IEnumerable(Of ContainerServicePrivateLinkResourceData) = Nothing, Optional disableLocalAccounts As Nullable(Of Boolean) = Nothing, Optional httpProxyConfig As ManagedClusterHttpProxyConfig = Nothing, Optional securityProfile As ManagedClusterSecurityProfile = Nothing, Optional storageProfile As ManagedClusterStorageProfile = Nothing, Optional ingressWebAppRouting As ManagedClusterIngressProfileWebAppRouting = Nothing, Optional publicNetworkAccess As Nullable(Of ContainerServicePublicNetworkAccess) = Nothing, Optional workloadAutoScalerProfile As ManagedClusterWorkloadAutoScalerProfile = Nothing, Optional azureMonitorMetrics As ManagedClusterMonitorProfileMetrics = Nothing, Optional guardrailsProfile As ManagedClusterGuardrailsProfile = Nothing) As ContainerServiceManagedClusterData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

sku
ManagedClusterSku

O SKU do cluster gerenciado.

extendedLocation
ExtendedLocation

O local estendido da Máquina Virtual.

identity
ManagedServiceIdentity

A identidade do cluster gerenciado, se configurada. Tipos de identidade com suporte atuais: None, SystemAssigned, UserAssigned.

provisioningState
String

O estado de provisionamento atual.

powerStateCode
Nullable<ContainerServiceStateCode>

O Estado do Power do cluster.

creationDataSourceResourceId
ResourceIdentifier

CreationData a ser usado para especificar a ID do instantâneo de origem se o cluster for criado/atualizado usando um instantâneo.

maxAgentPools
Nullable<Int32>

O número máximo de pools de agentes para o cluster gerenciado.

kubernetesVersion
String

Ao atualizar um cluster do AKS com suporte, as versões secundárias do Kubernetes não podem ser ignoradas. Todas as atualizações devem ser executadas sequencialmente pelo número de versão principal. Por exemplo, atualizações entre 1.14.x -> 1.15.x ou 1.15.x -> 1.16.x são permitidas, no entanto, 1.14.x -> 1.16.x não é permitida. Consulte atualizando um cluster do AKS para obter mais detalhes.

currentKubernetesVersion
String

A versão do Kubernetes em que o Cluster Gerenciado está em execução.

dnsPrefix
String

Isso não pode ser atualizado depois que o Cluster Gerenciado for criado.

fqdnSubdomain
String

Isso não pode ser atualizado depois que o Cluster Gerenciado for criado.

fqdn
String

O FQDN do pool de master.

privateFqdn
String

O FQDN do cluster privado.

azurePortalFqdn
String

O Portal do Azure exige que determinados cabeçalhos cors (compartilhamento de recursos entre origens) sejam enviados em algumas respostas, que a APIServer do Kubernetes não manipula por padrão. Esse FQDN especial dá suporte ao CORS, permitindo que o Portal do Azure funcione corretamente.

agentPoolProfiles
IEnumerable<ManagedClusterAgentPoolProfile>

As propriedades do pool de agentes.

linuxProfile
ContainerServiceLinuxProfile

O perfil para VMs Linux no Cluster Gerenciado.

windowsProfile
ManagedClusterWindowsProfile

O perfil para VMs do Windows no Cluster Gerenciado.

servicePrincipalProfile
ManagedClusterServicePrincipalProfile

Informações sobre uma identidade de entidade de serviço para o cluster a ser usado para manipular APIs do Azure.

addonProfiles
IDictionary<String,ManagedClusterAddonProfile>

O perfil do complemento de cluster gerenciado.

podIdentityProfile
ManagedClusterPodIdentityProfile

Confira usar a identidade do pod do AAD para obter mais detalhes sobre a integração de identidade do pod do AAD.

oidcIssuerProfile
ManagedClusterOidcIssuerProfile

O perfil do emissor OIDC do Cluster Gerenciado.

nodeResourceGroup
String

O nome do grupo de recursos que contém nós do pool de agentes.

nodeResourceGroupRestrictionLevel
Nullable<ManagedClusterNodeResourceGroupRestrictionLevel>

O perfil de configuração do grupo de recursos do nó.

enableRbac
Nullable<Boolean>

Se deseja habilitar o Kubernetes Role-Based Controle de Acesso.

enablePodSecurityPolicy
Nullable<Boolean>

(PRETERIDO) Se deseja habilitar a política de segurança de pod do Kubernetes (versão prévia). PodSecurityPolicy foi preterido no Kubernetes v1.21 e removido do Kubernetes na v1.25. Saiba mais em https://aka.ms/k8s/psp e https://aka.ms/aks/psp.

enableNamespaceResources
Nullable<Boolean>

O valor padrão é false. Ele pode ser habilitado/desabilitado na criação e atualização do cluster gerenciado. Consulte https://aka.ms/NamespaceARMResource para obter mais detalhes sobre o Namespace como um recurso do ARM.

networkProfile
ContainerServiceNetworkProfile

O perfil de configuração de rede.

aadProfile
ManagedClusterAadProfile

A configuração do Azure Active Directory.

autoUpgradeProfile
ManagedClusterAutoUpgradeProfile

A configuração de atualização automática.

autoScalerProfile
ManagedClusterAutoScalerProfile

Parâmetros a serem aplicados ao dimensionador automático de cluster quando habilitado.

apiServerAccessProfile
ManagedClusterApiServerAccessProfile

O perfil de acesso para o servidor de API de cluster gerenciado.

diskEncryptionSetId
ResourceIdentifier

Isso é do formulário: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'.

identityProfile
IDictionary<String,ContainerServiceUserAssignedIdentity>

Identidades associadas ao cluster.

privateLinkResources
IEnumerable<ContainerServicePrivateLinkResourceData>

Recursos de link privado associados ao cluster.

disableLocalAccounts
Nullable<Boolean>

Se definido como true, obter credenciais estáticas será desabilitado para esse cluster. Isso só deve ser usado em Clusters Gerenciados habilitados para AAD. Para obter mais detalhes, consulte desabilitar contas locais.

httpProxyConfig
ManagedClusterHttpProxyConfig

Configurações para provisionar o cluster com servidores proxy HTTP.

securityProfile
ManagedClusterSecurityProfile

Perfil de segurança para o cluster gerenciado.

storageProfile
ManagedClusterStorageProfile

Perfil de armazenamento para o cluster gerenciado.

ingressWebAppRouting
ManagedClusterIngressProfileWebAppRouting

Perfil de entrada para o cluster gerenciado.

publicNetworkAccess
Nullable<ContainerServicePublicNetworkAccess>

Permitir ou negar o acesso à rede pública para o AKS.

workloadAutoScalerProfile
ManagedClusterWorkloadAutoScalerProfile

Perfil de dimensionador automático de carga de trabalho para o cluster gerenciado.

azureMonitorMetrics
ManagedClusterMonitorProfileMetrics

Perfil de complemento do Prometheus para o cluster de serviço de contêiner.

guardrailsProfile
ManagedClusterGuardrailsProfile

O perfil de proteção contém todas as informações de proteção para um determinado cluster.

Retornos

Uma nova ContainerServiceManagedClusterData instância para zombar.

Aplica-se a