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

ManagedCluster.EnablePodSecurityPolicy Property

Definition

Gets or sets (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.

[Newtonsoft.Json.JsonProperty(PropertyName="properties.enablePodSecurityPolicy")]
public bool? EnablePodSecurityPolicy { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.enablePodSecurityPolicy")>]
member this.EnablePodSecurityPolicy : Nullable<bool> with get, set
Public Property EnablePodSecurityPolicy As Nullable(Of Boolean)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to