你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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