Class V1SelfSubjectRulesReview
SelfSubjectRulesReview enumerates the set of actions the current user can
perform within a namespace. The returned list of actions may be incomplete
depending on the server's authorization mode, and any errors experienced during
the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide
actions, or to quickly let an end user reason about their permissions. It should
NOT Be used by external systems to drive authorization decisions as this raises
confused deputy, cache lifetime/revocation, and correctness concerns.
SubjectAccessReview, and LocalAccessReview are the correct way to defer
authorization decisions to the API server.
Inheritance
V1SelfSubjectRulesReview
Assembly: KubernetesClient.dll
Syntax
[KubernetesEntity(Group = "authorization.k8s.io", Kind = "SelfSubjectRulesReview", ApiVersion = "v1", PluralName = "")]
public record V1SelfSubjectRulesReview : IKubernetesObject<V1ObjectMeta>, IKubernetesObject, IMetadata<V1ObjectMeta>, ISpec<V1SelfSubjectRulesReviewSpec>, IEquatable<V1SelfSubjectRulesReview>
Constructors
View Source
V1SelfSubjectRulesReview()
Declaration
public V1SelfSubjectRulesReview()
View Source
V1SelfSubjectRulesReview(V1SelfSubjectRulesReview)
Declaration
protected V1SelfSubjectRulesReview(V1SelfSubjectRulesReview original)
Parameters
Fields
View Source
KubeApiVersion
Declaration
public const string KubeApiVersion = "v1"
Field Value
View Source
KubeGroup
Declaration
public const string KubeGroup = "authorization.k8s.io"
Field Value
View Source
KubeKind
Declaration
public const string KubeKind = "SelfSubjectRulesReview"
Field Value
View Source
KubePluralName
Declaration
public const string KubePluralName = ""
Field Value
Properties
View Source
ApiVersion
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
View Source
Declaration
[JsonPropertyName("metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
View Source
Spec
Spec holds information about the request being evaluated.
Declaration
[JsonPropertyName("spec")]
public V1SelfSubjectRulesReviewSpec Spec { get; set; }
Property Value
View Source
Status
Status is filled in by the server and indicates the set of actions a user can
perform.
Declaration
[JsonPropertyName("status")]
public V1SubjectRulesReviewStatus Status { 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(V1SelfSubjectRulesReview?)
Declaration
public virtual bool Equals(V1SelfSubjectRulesReview? 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 ==(V1SelfSubjectRulesReview?, V1SelfSubjectRulesReview?)
Declaration
public static bool operator ==(V1SelfSubjectRulesReview? left, V1SelfSubjectRulesReview? right)
Parameters
Returns
View Source
operator !=(V1SelfSubjectRulesReview?, V1SelfSubjectRulesReview?)
Declaration
public static bool operator !=(V1SelfSubjectRulesReview? left, V1SelfSubjectRulesReview? right)
Parameters
Returns
Implements
Extension Methods