Class V1ResourceRule
ResourceRule is the list of actions the subject is allowed to perform on
resources. The list ordering isn't significant, may contain duplicates, and
possibly be incomplete.
Inheritance
V1ResourceRule
Assembly: KubernetesClient.dll
Syntax
public record V1ResourceRule : IEquatable<V1ResourceRule>
Constructors
View Source
V1ResourceRule()
Declaration
View Source
V1ResourceRule(V1ResourceRule)
Declaration
protected V1ResourceRule(V1ResourceRule original)
Parameters
Properties
View Source
ApiGroups
APIGroups is the name of the APIGroup that contains the resources. If multiple
API groups are specified, any action requested against one of the enumerated
resources in any API group will be allowed. "*" means all.
Declaration
[JsonPropertyName("apiGroups")]
public IList<string> ApiGroups { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
ResourceNames
ResourceNames is an optional white list of names that the rule applies to. An
empty set means that everything is allowed. "*" means all.
Declaration
[JsonPropertyName("resourceNames")]
public IList<string> ResourceNames { get; set; }
Property Value
View Source
Resources
Resources is a list of resources this rule applies to. "" means all in the
specified apiGroups.
"/foo" represents the subresource 'foo' for all resources in the specified
apiGroups.
Declaration
[JsonPropertyName("resources")]
public IList<string> Resources { get; set; }
Property Value
View Source
Verbs
Verb is a list of kubernetes resource API verbs, like: get, list, watch, create,
update, delete, proxy. "*" means all.
Declaration
[JsonPropertyName("verbs")]
public IList<string> Verbs { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1ResourceRule?)
Declaration
public virtual bool Equals(V1ResourceRule? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1ResourceRule?, V1ResourceRule?)
Declaration
public static bool operator ==(V1ResourceRule? left, V1ResourceRule? right)
Parameters
Returns
View Source
operator !=(V1ResourceRule?, V1ResourceRule?)
Declaration
public static bool operator !=(V1ResourceRule? left, V1ResourceRule? right)
Parameters
Returns
Implements