ArmContainerServiceModelFactory.ManagedClusterGuardrailsProfile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ManagedClusterGuardrailsProfile.
public static Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfile ManagedClusterGuardrailsProfile (System.Collections.Generic.IEnumerable<string> systemExcludedNamespaces = default, string version = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfileLevel level = default, System.Collections.Generic.IEnumerable<string> excludedNamespaces = default);
static member ManagedClusterGuardrailsProfile : seq<string> * string * Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfileLevel * seq<string> -> Azure.ResourceManager.ContainerService.Models.ManagedClusterGuardrailsProfile
Public Shared Function ManagedClusterGuardrailsProfile (Optional systemExcludedNamespaces As IEnumerable(Of String) = Nothing, Optional version As String = Nothing, Optional level As ManagedClusterGuardrailsProfileLevel = Nothing, Optional excludedNamespaces As IEnumerable(Of String) = Nothing) As ManagedClusterGuardrailsProfile
Parameters
- systemExcludedNamespaces
- IEnumerable<String>
List of namespaces specified by AKS to be excluded from Guardrails.
- version
- String
The version of constraints to use.
The guardrails level to be used. By default, Guardrails is enabled for all namespaces except those that AKS excludes via systemExcludedNamespaces.
- excludedNamespaces
- IEnumerable<String>
List of namespaces excluded from guardrails checks.
Returns
A new ManagedClusterGuardrailsProfile instance for mocking.
Applies to
Azure SDK for .NET