Show / Hide Table of Contents

Class V1DeviceAllocationConfiguration

DeviceAllocationConfiguration gets embedded in an AllocationResult.

Inheritance
object
V1DeviceAllocationConfiguration
Implements
IEquatable<V1DeviceAllocationConfiguration>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1DeviceAllocationConfiguration : IEquatable<V1DeviceAllocationConfiguration>

Constructors

View Source

V1DeviceAllocationConfiguration()

Declaration
public V1DeviceAllocationConfiguration()
View Source

V1DeviceAllocationConfiguration(V1DeviceAllocationConfiguration)

Declaration
protected V1DeviceAllocationConfiguration(V1DeviceAllocationConfiguration original)
Parameters
Type Name Description
V1DeviceAllocationConfiguration original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

Opaque

Opaque provides driver-specific configuration parameters.

Declaration
[JsonPropertyName("opaque")]
public V1OpaqueDeviceConfiguration Opaque { get; set; }
Property Value
Type Description
V1OpaqueDeviceConfiguration
View Source

Requests

Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.

References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.

Declaration
[JsonPropertyName("requests")]
public IList<string> Requests { get; set; }
Property Value
Type Description
IList<string>
View Source

Source

Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.

Declaration
[JsonPropertyName("source")]
public string Source { get; set; }
Property Value
Type Description
string

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1DeviceAllocationConfiguration?)

Declaration
public virtual bool Equals(V1DeviceAllocationConfiguration? other)
Parameters
Type Name Description
V1DeviceAllocationConfiguration other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1DeviceAllocationConfiguration?, V1DeviceAllocationConfiguration?)

Declaration
public static bool operator ==(V1DeviceAllocationConfiguration? left, V1DeviceAllocationConfiguration? right)
Parameters
Type Name Description
V1DeviceAllocationConfiguration left
V1DeviceAllocationConfiguration right
Returns
Type Description
bool
View Source

operator !=(V1DeviceAllocationConfiguration?, V1DeviceAllocationConfiguration?)

Declaration
public static bool operator !=(V1DeviceAllocationConfiguration? left, V1DeviceAllocationConfiguration? right)
Parameters
Type Name Description
V1DeviceAllocationConfiguration left
V1DeviceAllocationConfiguration right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX