CreateMacOrderDetails¶
-
class
oci.mngdmac.models.CreateMacOrderDetails(**kwargs)¶ Bases:
objectThe data to create a new MacOrder.
Methods
__init__(**kwargs)Initializes a new CreateMacOrderDetails object with values from keyword arguments. Attributes
commitment_term[Required] Gets the commitment_term of this CreateMacOrderDetails. compartment_id[Required] Gets the compartment_id of this CreateMacOrderDetails. display_nameGets the display_name of this CreateMacOrderDetails. ip_rangeGets the ip_range of this CreateMacOrderDetails. order_description[Required] Gets the order_description of this CreateMacOrderDetails. order_size[Required] Gets the order_size of this CreateMacOrderDetails. shape[Required] Gets the shape of this CreateMacOrderDetails. -
__init__(**kwargs)¶ Initializes a new CreateMacOrderDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateMacOrderDetails.
- display_name (str) – The value to assign to the display_name property of this CreateMacOrderDetails.
- order_description (str) – The value to assign to the order_description property of this CreateMacOrderDetails.
- order_size (int) – The value to assign to the order_size property of this CreateMacOrderDetails.
- ip_range (str) – The value to assign to the ip_range property of this CreateMacOrderDetails.
- shape (str) – The value to assign to the shape property of this CreateMacOrderDetails.
- commitment_term (str) – The value to assign to the commitment_term property of this CreateMacOrderDetails.
-
commitment_term¶ [Required] Gets the commitment_term of this CreateMacOrderDetails. Enum that indicates the agreed commitment term for the MacDevices.
Returns: The commitment_term of this CreateMacOrderDetails. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this CreateMacOrderDetails. OCID of the compartment to which the resource belongs to.
Returns: The compartment_id of this CreateMacOrderDetails. Return type: str
-
display_name¶ Gets the display_name of this CreateMacOrderDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
Returns: The display_name of this CreateMacOrderDetails. Return type: str
-
ip_range¶ Gets the ip_range of this CreateMacOrderDetails. The IP Range specified by the customer for this order.
Returns: The ip_range of this CreateMacOrderDetails. Return type: str
-
order_description¶ [Required] Gets the order_description of this CreateMacOrderDetails. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
Returns: The order_description of this CreateMacOrderDetails. Return type: str
-
order_size¶ [Required] Gets the order_size of this CreateMacOrderDetails. Number of macs requested in this MacOrder.
Returns: The order_size of this CreateMacOrderDetails. Return type: int
-
shape¶ [Required] Gets the shape of this CreateMacOrderDetails. The requested shape of the MacDevices in the MacOrder.
Returns: The shape of this CreateMacOrderDetails. Return type: str
-