You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/azure-cli/azure/cli/command_modules/acs/aaz/latest/aks/safeguards/_create.py
+26-17Lines changed: 26 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,18 @@ class Create(AAZCommand):
25
25
26
26
:example: Create a DeploymentSafeguards resource at Warn level with ignored namespaces
27
27
az aks safeguards create -g rg1 -n mc1 --excluded-ns ns1 ns2 --level Warn
28
+
29
+
:example: Create a DeploymentSafeguards resource at Warn level with Pod Security Standards level set to Baseline
30
+
az aks safeguards create --managed-cluster /subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1 --level Warn --pss-level Baseline
31
+
32
+
:example: Create a DeploymentSafeguards resource with PSS level set to Restricted using -g/-n pattern
33
+
az aks safeguards create -g rg1 -n cluster1 --level Enforce --pss-level Restricted
0 commit comments