Show / Hide Table of Contents

Class ShapeOcpuOptions

For a flexible shape, the number of OCPUs available for container instances that use this shape.

Inheritance
object
ShapeOcpuOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top