ArmContainerServiceSafeguardsModelFactory.DeploymentSafeguardsProperties 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.
DeploymentSafeguards Properties.
public static Azure.ResourceManager.ContainerServiceSafeguards.Models.DeploymentSafeguardsProperties DeploymentSafeguardsProperties(Azure.ResourceManager.ContainerServiceSafeguards.Models.ProvisioningState? provisioningState = default, Azure.ResourceManager.ContainerServiceSafeguards.Models.DeploymentSafeguardsLevel level = default, System.Collections.Generic.IEnumerable<string> excludedNamespaces = default, System.Collections.Generic.IEnumerable<string> systemExcludedNamespaces = default, Azure.ResourceManager.ContainerServiceSafeguards.Models.PodSecurityStandardsLevel? podSecurityStandardsLevel = default);
static member DeploymentSafeguardsProperties : Nullable<Azure.ResourceManager.ContainerServiceSafeguards.Models.ProvisioningState> * Azure.ResourceManager.ContainerServiceSafeguards.Models.DeploymentSafeguardsLevel * seq<string> * seq<string> * Nullable<Azure.ResourceManager.ContainerServiceSafeguards.Models.PodSecurityStandardsLevel> -> Azure.ResourceManager.ContainerServiceSafeguards.Models.DeploymentSafeguardsProperties
Public Shared Function DeploymentSafeguardsProperties (Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional level As DeploymentSafeguardsLevel = Nothing, Optional excludedNamespaces As IEnumerable(Of String) = Nothing, Optional systemExcludedNamespaces As IEnumerable(Of String) = Nothing, Optional podSecurityStandardsLevel As Nullable(Of PodSecurityStandardsLevel) = Nothing) As DeploymentSafeguardsProperties
Parameters
- provisioningState
- Nullable<ProvisioningState>
Provisioning State.
The deployment safeguards level. Possible values are Warn and Enforce.
- excludedNamespaces
- IEnumerable<String>
User defined list of namespaces to exclude from Deployment Safeguards. Deployments in these namespaces will not be checked against any safeguards.
- systemExcludedNamespaces
- IEnumerable<String>
System defined list of namespaces excluded from Deployment Safeguards. These are determined by the underlying provider (such as AKS), and cannot be changed. Deployments in these namespaces will not be checked.
- podSecurityStandardsLevel
- Nullable<PodSecurityStandardsLevel>
The pod security standards level.
Returns
A new DeploymentSafeguardsProperties instance for mocking.