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

V1DeviceAllocationConfiguration()

Declaration
public V1DeviceAllocationConfiguration()

V1DeviceAllocationConfiguration(V1DeviceAllocationConfiguration)

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

Properties

EqualityContract

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

Opaque

Opaque provides driver-specific configuration parameters.

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

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>

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

Equals(object?)

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

Equals(V1DeviceAllocationConfiguration?)

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

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

operator ==(V1DeviceAllocationConfiguration?, V1DeviceAllocationConfiguration?)

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

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>
In this article
Back to top Generated by DocFX