Show / Hide Table of Contents

Class CreateMacOrderDetails

The data to create a new MacOrder.

Inheritance
object
CreateMacOrderDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.MngdmacService.Models
Assembly: OCI.DotNetSDK.Mngdmac.dll
Syntax
public class CreateMacOrderDetails

Properties

CommitmentTerm

Declaration
[Required(ErrorMessage = "CommitmentTerm is required.")]
[JsonProperty(PropertyName = "commitmentTerm")]
[JsonConverter(typeof(StringEnumConverter))]
public MacOrder.CommitmentTermEnum? CommitmentTerm { get; set; }
Property Value
Type Description
MacOrder.CommitmentTermEnum?

Enum that indicates the agreed commitment term for the MacDevices.

Remarks

Required

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

OCID of the compartment to which the resource belongs to.

Remarks

Required

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Example: My new resource

IpRange

Declaration
[JsonProperty(PropertyName = "ipRange")]
public string IpRange { get; set; }
Property Value
Type Description
string

The IP Range specified by the customer for this order.

OrderDescription

Declaration
[Required(ErrorMessage = "OrderDescription is required.")]
[JsonProperty(PropertyName = "orderDescription")]
public string OrderDescription { get; set; }
Property Value
Type Description
string

A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.

Remarks

Required

OrderSize

Declaration
[Required(ErrorMessage = "OrderSize is required.")]
[JsonProperty(PropertyName = "orderSize")]
public int? OrderSize { get; set; }
Property Value
Type Description
int?

Number of macs requested in this MacOrder.

Remarks

Required

Shape

Declaration
[Required(ErrorMessage = "Shape is required.")]
[JsonProperty(PropertyName = "shape")]
[JsonConverter(typeof(StringEnumConverter))]
public MacOrder.ShapeEnum? Shape { get; set; }
Property Value
Type Description
MacOrder.ShapeEnum?

The requested shape of the MacDevices in the MacOrder.

Remarks

Required

In this article
Back to top