Share via


PolicyRuleV1.Resources Property

Definition

Gets the list of resource names that the policy applies to in a Kubernetes cluster. These resources generally refer to resource types such as pods, services, deployments, etc., and must align with the resource types defined in the Kubernetes API.

[YamlDotNet.Serialization.YamlMember(Alias="resources")]
public System.Collections.Generic.List<string> Resources { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="resources")>]
member this.Resources : System.Collections.Generic.List<string>
Public ReadOnly Property Resources As List(Of String)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to