Share via


IManagedClusterProperties.EnablePodSecurityPolicy Property

Definition

(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.

[Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Info(Description="(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.", PossibleTypes=new System.Type[] { typeof(System.Boolean) }, ReadOnly=false, Required=false, SerializedName="enablePodSecurityPolicy")]
public bool? EnablePodSecurityPolicy { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Info(Description="(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.", PossibleTypes=new System.Type[] { typeof(System.Boolean) }, ReadOnly=false, Required=false, SerializedName="enablePodSecurityPolicy")>]
member this.EnablePodSecurityPolicy : Nullable<bool> with get, set
Public Property EnablePodSecurityPolicy As Nullable(Of Boolean)

Property Value

Attributes

Applies to