public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage
AcceleratorConfig represents a Hardware Accelerator request.
Implements
IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
AcceleratorConfig()
public AcceleratorConfig()
AcceleratorConfig(AcceleratorConfig)
public AcceleratorConfig(AcceleratorConfig other)
Parameter | |
---|---|
Name | Description |
other | AcceleratorConfig |
Properties
AcceleratorCount
public long AcceleratorCount { get; set; }
The number of the accelerator cards exposed to an instance.
Property Value | |
---|---|
Type | Description |
Int64 |
AcceleratorType
public string AcceleratorType { get; set; }
The accelerator type resource name. List of supported accelerators here
Property Value | |
---|---|
Type | Description |
String |
GpuPartitionSize
public string GpuPartitionSize { get; set; }
Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
Property Value | |
---|---|
Type | Description |
String |
GpuSharingConfig
public GPUSharingConfig GpuSharingConfig { get; set; }
The configuration for GPU sharing options.
Property Value | |
---|---|
Type | Description |
GPUSharingConfig |