Class V1DeviceAllocationConfiguration
DeviceAllocationConfiguration gets embedded in an AllocationResult.
Inheritance
V1DeviceAllocationConfiguration
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
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Opaque
Opaque provides driver-specific configuration parameters.
Declaration
[JsonPropertyName("opaque")]
public V1OpaqueDeviceConfiguration Opaque { get; set; }
Property Value
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
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
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1DeviceAllocationConfiguration?)
Declaration
public virtual bool Equals(V1DeviceAllocationConfiguration? 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 ==(V1DeviceAllocationConfiguration?, V1DeviceAllocationConfiguration?)
Declaration
public static bool operator ==(V1DeviceAllocationConfiguration? left, V1DeviceAllocationConfiguration? right)
Parameters
Returns
View Source
operator !=(V1DeviceAllocationConfiguration?, V1DeviceAllocationConfiguration?)
Declaration
public static bool operator !=(V1DeviceAllocationConfiguration? left, V1DeviceAllocationConfiguration? right)
Parameters
Returns
Implements