다음을 통해 공유


ManagedClusterGuardrailsProfile Constructor

Definition

Initializes a new instance of ManagedClusterGuardrailsProfile.

public ManagedClusterGuardrailsProfile (string version, Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfileLevel level);
new Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfile : string * Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfileLevel -> Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfile
Public Sub New (version As String, level As ManagedClusterGuardrailsProfileLevel)

Parameters

version
String

The version of constraints to use.

level
ManagedClusterGuardrailsProfileLevel

The guardrails level to be used. By default, Guardrails is enabled for all namespaces except those that AKS excludes via systemExcludedNamespaces.

Exceptions

version is null.

Applies to