Partager via


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