Class ShapeOcpuOptions
For a flexible shape, the number of OCPUs available for container instances that use this shape.
Inherited Members
Namespace: Oci.BatchService.Models
Assembly: OCI.DotNetSDK.Batch.dll
Syntax
public class ShapeOcpuOptions
Properties
MaxOcpus
Declaration
[Required(ErrorMessage = "MaxOcpus is required.")]
[JsonProperty(PropertyName = "maxOcpus")]
public float? MaxOcpus { get; set; }
Property Value
| Type | Description |
|---|---|
| float? | The maximum number of OCPUs. |
Remarks
Required
MinOcpus
Declaration
[Required(ErrorMessage = "MinOcpus is required.")]
[JsonProperty(PropertyName = "minOcpus")]
public float? MinOcpus { get; set; }
Property Value
| Type | Description |
|---|---|
| float? | The minimum number of OCPUs. |
Remarks
Required