Class V1ResourceAttributes
ResourceAttributes includes the authorization attributes available for resource
requests to the Authorizer interface
Inheritance
V1ResourceAttributes
Assembly: KubernetesClient.dll
Syntax
public record V1ResourceAttributes : IEquatable<V1ResourceAttributes>
Constructors
View Source
V1ResourceAttributes()
Declaration
public V1ResourceAttributes()
View Source
V1ResourceAttributes(V1ResourceAttributes)
Declaration
protected V1ResourceAttributes(V1ResourceAttributes original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
FieldSelector
fieldSelector describes the limitation on access based on field. It can only
limit access, not broaden it.
Declaration
[JsonPropertyName("fieldSelector")]
public V1FieldSelectorAttributes FieldSelector { get; set; }
Property Value
View Source
Group
Group is the API Group of the Resource. "*" means all.
Declaration
[JsonPropertyName("group")]
public string Group { get; set; }
Property Value
View Source
LabelSelector
labelSelector describes the limitation on access based on labels. It can only
limit access, not broaden it.
Declaration
[JsonPropertyName("labelSelector")]
public V1LabelSelectorAttributes LabelSelector { get; set; }
Property Value
View Source
Name
Name is the name of the resource being requested for a "get" or deleted for a
"delete". " " (empty) means all.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
View Source
NamespaceProperty
Namespace is the namespace of the action being requested. Currently, there is
no distinction between no namespace and all namespaces " " (empty) is defaulted
for LocalSubjectAccessReviews " " (empty) is empty for cluster-scoped resources
" " (empty) means "all" for namespace scoped resources from a SubjectAccessReview
or SelfSubjectAccessReview
Declaration
[JsonPropertyName("namespace")]
public string NamespaceProperty { get; set; }
Property Value
View Source
Resource
Resource is one of the existing resource types. "*" means all.
Declaration
[JsonPropertyName("resource")]
public string Resource { get; set; }
Property Value
View Source
Subresource
Subresource is one of the existing resource types. " " means none.
Declaration
[JsonPropertyName("subresource")]
public string Subresource { get; set; }
Property Value
View Source
Verb
Verb is a kubernetes resource API verb, like: get, list, watch, create, update,
delete, proxy. "*" means all.
Declaration
[JsonPropertyName("verb")]
public string Verb { get; set; }
Property Value
View Source
Version
Version is the API Version of the Resource. "*" means all.
Declaration
[JsonPropertyName("version")]
public string Version { 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(V1ResourceAttributes?)
Declaration
public virtual bool Equals(V1ResourceAttributes? 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 ==(V1ResourceAttributes?, V1ResourceAttributes?)
Declaration
public static bool operator ==(V1ResourceAttributes? left, V1ResourceAttributes? right)
Parameters
Returns
View Source
operator !=(V1ResourceAttributes?, V1ResourceAttributes?)
Declaration
public static bool operator !=(V1ResourceAttributes? left, V1ResourceAttributes? right)
Parameters
Returns
Implements