共用方式為


ContainerServiceManagedClusterData Class

Definition

A class representing the ContainerServiceManagedCluster data model.

public class ContainerServiceManagedClusterData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterData>
public class ContainerServiceManagedClusterData : Azure.ResourceManager.Models.TrackedResourceData
type ContainerServiceManagedClusterData = class
    inherit TrackedResourceData
    interface IJsonModel<ContainerServiceManagedClusterData>
    interface IPersistableModel<ContainerServiceManagedClusterData>
type ContainerServiceManagedClusterData = class
    inherit TrackedResourceData
Public Class ContainerServiceManagedClusterData
Inherits TrackedResourceData
Implements IJsonModel(Of ContainerServiceManagedClusterData), IPersistableModel(Of ContainerServiceManagedClusterData)
Public Class ContainerServiceManagedClusterData
Inherits TrackedResourceData
Inheritance
ContainerServiceManagedClusterData
Implements

Constructors

ContainerServiceManagedClusterData(AzureLocation)

Initializes a new instance of ContainerServiceManagedClusterData.

Properties

AadProfile

The Azure Active Directory configuration.

AddonProfiles

The profile of managed cluster add-on.

AgentPoolProfiles

The agent pool properties.

ApiServerAccessProfile

The access profile for managed cluster API server.

AutoScalerProfile

Parameters to be applied to the cluster-autoscaler when enabled.

AutoUpgradeProfile

The auto upgrade configuration.

AzureMonitorMetrics

Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.

AzurePortalFqdn

The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.

ClusterIdentity

The identity of the managed cluster, if configured.

CreationDataSourceResourceId

This is the ARM ID of the source object to be used to create the target object.

CurrentKubernetesVersion

If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used.

DisableLocalAccounts

If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see disable local accounts.

DiskEncryptionSetId

This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'.

DnsPrefix

This cannot be updated once the Managed Cluster has been created.

EnableNamespaceResources

The default value is false. It can be enabled/disabled on creation and updating of the managed cluster. See https://aka.ms/NamespaceARMResource for more details on Namespace as a ARM Resource.

EnablePodSecurityPolicy

(DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and https://aka.ms/aks/psp.

EnableRbac

Whether to enable Kubernetes Role-Based Access Control.

ExtendedLocation

The extended location of the Virtual Machine.

Fqdn

The FQDN of the master pool.

FqdnSubdomain

This cannot be updated once the Managed Cluster has been created.

GuardrailsProfile

The guardrails profile holds all the guardrails information for a given cluster.

HttpProxyConfig

Configurations for provisioning the cluster with HTTP proxy servers.

Id

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

(Inherited from ResourceData)
IdentityProfile

Identities associated with the cluster.

IngressWebAppRouting

Web App Routing settings for the ingress profile.

KubernetesVersion

Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See upgrading an AKS cluster for more details.

LinuxProfile

The profile for Linux VMs in the Managed Cluster.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MaxAgentPools

The max number of agent pools for the managed cluster.

Name

The name of the resource.

(Inherited from ResourceData)
NetworkProfile

The network configuration profile.

NodeResourceGroup

The name of the resource group containing agent pool nodes.

NodeResourceGroupRestrictionLevel

The restriction level applied to the cluster's node resource group.

OidcIssuerProfile

The OIDC issuer profile of the Managed Cluster.

PodIdentityProfile

See use AAD pod identity for more details on AAD pod identity integration.

PowerStateCode

Tells whether the cluster is Running or Stopped.

PrivateFqdn

The FQDN of private cluster.

PrivateLinkResources

Private link resources associated with the cluster.

ProvisioningState

The current provisioning state.

PublicNetworkAccess

Allow or deny public network access for AKS.

ResourceId

The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence).

ResourceType

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

(Inherited from ResourceData)
SecurityProfile

Security profile for the managed cluster.

ServiceMeshProfile

Service mesh profile for a managed cluster.

ServicePrincipalProfile

Information about a service principal identity for the cluster to use for manipulating Azure APIs.

Sku

The managed cluster SKU.

StorageProfile

Storage profile for the managed cluster.

SupportPlan

The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
UpgradeOverrideSettings

Settings for overrides.

WindowsProfile

The profile for Windows VMs in the Managed Cluster.

WorkloadAutoScalerProfile

Workload Auto-scaler profile for the managed cluster.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ContainerServiceManagedClusterData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerServiceManagedClusterData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerServiceManagedClusterData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerServiceManagedClusterData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerServiceManagedClusterData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to