MacOrder¶
-
class
oci.mngdmac.models.MacOrder(**kwargs)¶ Bases:
objectA description of a MacOrder resource.
Attributes
COMMITMENT_TERM_YEARS_3A constant which can be used with the commitment_term property of a MacOrder. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a MacOrder. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a MacOrder. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a MacOrder. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a MacOrder. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a MacOrder. LIFECYCLE_STATE_NEEDS_ATTENTIONA constant which can be used with the lifecycle_state property of a MacOrder. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a MacOrder. ORDER_STATUS_CANCELEDA constant which can be used with the order_status property of a MacOrder. ORDER_STATUS_COMPLETEDA constant which can be used with the order_status property of a MacOrder. ORDER_STATUS_CUSTOMER_ACCEPTEDA constant which can be used with the order_status property of a MacOrder. ORDER_STATUS_CUSTOMER_APPROVEDA constant which can be used with the order_status property of a MacOrder. ORDER_STATUS_CUSTOMER_REVIEWA constant which can be used with the order_status property of a MacOrder. ORDER_STATUS_FUNDING_APPROVEDA constant which can be used with the order_status property of a MacOrder. ORDER_STATUS_ORDER_REVIEWA constant which can be used with the order_status property of a MacOrder. ORDER_STATUS_PENDING_DOCUSIGNA constant which can be used with the order_status property of a MacOrder. ORDER_STATUS_PROVISIONINGA constant which can be used with the order_status property of a MacOrder. ORDER_STATUS_SUBMITTEDA constant which can be used with the order_status property of a MacOrder. SHAPE_M2_PRO_MAC_MINI_32_GB_1_TBA constant which can be used with the shape property of a MacOrder. SHAPE_M2_ULTRA_MAC_STUDIO_192_GB_4_TBA constant which can be used with the shape property of a MacOrder. SHAPE_M2_ULTRA_MAC_STUDIO_64_GB_4_TBA constant which can be used with the shape property of a MacOrder. SHAPE_M4_PRO_MAC_MINI_64_GB_2_TBA constant which can be used with the shape property of a MacOrder. SHAPE_M4_PRO_MAC_MINI_64_GB_4_TBA constant which can be used with the shape property of a MacOrder. cancel_reasonGets the cancel_reason of this MacOrder. commitment_term[Required] Gets the commitment_term of this MacOrder. compartment_id[Required] Gets the compartment_id of this MacOrder. display_nameGets the display_name of this MacOrder. id[Required] Gets the id of this MacOrder. ip_rangeGets the ip_range of this MacOrder. is_docusigned[Required] Gets the is_docusigned of this MacOrder. lifecycle_detailsGets the lifecycle_details of this MacOrder. lifecycle_state[Required] Gets the lifecycle_state of this MacOrder. order_description[Required] Gets the order_description of this MacOrder. order_size[Required] Gets the order_size of this MacOrder. order_status[Required] Gets the order_status of this MacOrder. shape[Required] Gets the shape of this MacOrder. time_billing_endedGets the time_billing_ended of this MacOrder. time_billing_startedGets the time_billing_started of this MacOrder. time_canceledGets the time_canceled of this MacOrder. time_created[Required] Gets the time_created of this MacOrder. time_updatedGets the time_updated of this MacOrder. Methods
__init__(**kwargs)Initializes a new MacOrder object with values from keyword arguments. -
COMMITMENT_TERM_YEARS_3= 'YEARS_3'¶ A constant which can be used with the commitment_term property of a MacOrder. This constant has a value of “YEARS_3”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a MacOrder. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a MacOrder. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a MacOrder. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a MacOrder. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a MacOrder. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a MacOrder. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a MacOrder. This constant has a value of “UPDATING”
-
ORDER_STATUS_CANCELED= 'CANCELED'¶ A constant which can be used with the order_status property of a MacOrder. This constant has a value of “CANCELED”
-
ORDER_STATUS_COMPLETED= 'COMPLETED'¶ A constant which can be used with the order_status property of a MacOrder. This constant has a value of “COMPLETED”
-
ORDER_STATUS_CUSTOMER_ACCEPTED= 'CUSTOMER_ACCEPTED'¶ A constant which can be used with the order_status property of a MacOrder. This constant has a value of “CUSTOMER_ACCEPTED”
-
ORDER_STATUS_CUSTOMER_APPROVED= 'CUSTOMER_APPROVED'¶ A constant which can be used with the order_status property of a MacOrder. This constant has a value of “CUSTOMER_APPROVED”
-
ORDER_STATUS_CUSTOMER_REVIEW= 'CUSTOMER_REVIEW'¶ A constant which can be used with the order_status property of a MacOrder. This constant has a value of “CUSTOMER_REVIEW”
-
ORDER_STATUS_FUNDING_APPROVED= 'FUNDING_APPROVED'¶ A constant which can be used with the order_status property of a MacOrder. This constant has a value of “FUNDING_APPROVED”
-
ORDER_STATUS_ORDER_REVIEW= 'ORDER_REVIEW'¶ A constant which can be used with the order_status property of a MacOrder. This constant has a value of “ORDER_REVIEW”
-
ORDER_STATUS_PENDING_DOCUSIGN= 'PENDING_DOCUSIGN'¶ A constant which can be used with the order_status property of a MacOrder. This constant has a value of “PENDING_DOCUSIGN”
-
ORDER_STATUS_PROVISIONING= 'PROVISIONING'¶ A constant which can be used with the order_status property of a MacOrder. This constant has a value of “PROVISIONING”
-
ORDER_STATUS_SUBMITTED= 'SUBMITTED'¶ A constant which can be used with the order_status property of a MacOrder. This constant has a value of “SUBMITTED”
-
SHAPE_M2_PRO_MAC_MINI_32_GB_1_TB= 'M2_PRO_MAC_MINI_32GB_1TB'¶ A constant which can be used with the shape property of a MacOrder. This constant has a value of “M2_PRO_MAC_MINI_32GB_1TB”
-
SHAPE_M2_ULTRA_MAC_STUDIO_192_GB_4_TB= 'M2_ULTRA_MAC_STUDIO_192GB_4TB'¶ A constant which can be used with the shape property of a MacOrder. This constant has a value of “M2_ULTRA_MAC_STUDIO_192GB_4TB”
-
SHAPE_M2_ULTRA_MAC_STUDIO_64_GB_4_TB= 'M2_ULTRA_MAC_STUDIO_64GB_4TB'¶ A constant which can be used with the shape property of a MacOrder. This constant has a value of “M2_ULTRA_MAC_STUDIO_64GB_4TB”
-
SHAPE_M4_PRO_MAC_MINI_64_GB_2_TB= 'M4_PRO_MAC_MINI_64GB_2TB'¶ A constant which can be used with the shape property of a MacOrder. This constant has a value of “M4_PRO_MAC_MINI_64GB_2TB”
-
SHAPE_M4_PRO_MAC_MINI_64_GB_4_TB= 'M4_PRO_MAC_MINI_64GB_4TB'¶ A constant which can be used with the shape property of a MacOrder. This constant has a value of “M4_PRO_MAC_MINI_64GB_4TB”
-
__init__(**kwargs)¶ Initializes a new MacOrder object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this MacOrder.
- compartment_id (str) – The value to assign to the compartment_id property of this MacOrder.
- display_name (str) – The value to assign to the display_name property of this MacOrder.
- order_description (str) – The value to assign to the order_description property of this MacOrder.
- order_size (int) – The value to assign to the order_size property of this MacOrder.
- ip_range (str) – The value to assign to the ip_range property of this MacOrder.
- is_docusigned (bool) – The value to assign to the is_docusigned property of this MacOrder.
- shape (str) – The value to assign to the shape property of this MacOrder. Allowed values for this property are: “M2_PRO_MAC_MINI_32GB_1TB”, “M2_ULTRA_MAC_STUDIO_64GB_4TB”, “M2_ULTRA_MAC_STUDIO_192GB_4TB”, “M4_PRO_MAC_MINI_64GB_2TB”, “M4_PRO_MAC_MINI_64GB_4TB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this MacOrder.
- time_updated (datetime) – The value to assign to the time_updated property of this MacOrder.
- commitment_term (str) – The value to assign to the commitment_term property of this MacOrder. Allowed values for this property are: “YEARS_3”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_billing_started (datetime) – The value to assign to the time_billing_started property of this MacOrder.
- time_billing_ended (datetime) – The value to assign to the time_billing_ended property of this MacOrder.
- order_status (str) – The value to assign to the order_status property of this MacOrder. Allowed values for this property are: “SUBMITTED”, “PENDING_DOCUSIGN”, “ORDER_REVIEW”, “CUSTOMER_REVIEW”, “CUSTOMER_APPROVED”, “FUNDING_APPROVED”, “PROVISIONING”, “CUSTOMER_ACCEPTED”, “COMPLETED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this MacOrder. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this MacOrder.
- cancel_reason (str) – The value to assign to the cancel_reason property of this MacOrder.
- time_canceled (datetime) – The value to assign to the time_canceled property of this MacOrder.
-
cancel_reason¶ Gets the cancel_reason of this MacOrder. The reason for the MacOrder cancellation.
Returns: The cancel_reason of this MacOrder. Return type: str
-
commitment_term¶ [Required] Gets the commitment_term of this MacOrder. Enum indicating the agreed commitment term for the requested MacDevices.
Allowed values for this property are: “YEARS_3”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The commitment_term of this MacOrder. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this MacOrder. OCID of the compartment to which the resource belongs to.
Returns: The compartment_id of this MacOrder. Return type: str
-
display_name¶ Gets the display_name of this MacOrder. 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 MacOrder. Return type: str
-
id¶ [Required] Gets the id of this MacOrder. The OCID of the resource.
Returns: The id of this MacOrder. Return type: str
-
ip_range¶ Gets the ip_range of this MacOrder. The IP Range specified by the customer for this order.
Returns: The ip_range of this MacOrder. Return type: str
-
is_docusigned¶ [Required] Gets the is_docusigned of this MacOrder. Checkbox value that indicates whether the customer completed docusign process.
Returns: The is_docusigned of this MacOrder. Return type: bool
-
lifecycle_details¶ Gets the lifecycle_details of this MacOrder. A message that describes the current state of the MacOrder in more detail.
Returns: The lifecycle_details of this MacOrder. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this MacOrder. The current state of the MacOrder.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this MacOrder. Return type: str
-
order_description¶ [Required] Gets the order_description of this MacOrder. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
Returns: The order_description of this MacOrder. Return type: str
-
order_size¶ [Required] Gets the order_size of this MacOrder. Number of macs requested in this MacOrder.
Returns: The order_size of this MacOrder. Return type: int
-
order_status¶ [Required] Gets the order_status of this MacOrder. The current status of the MacOrder.
Allowed values for this property are: “SUBMITTED”, “PENDING_DOCUSIGN”, “ORDER_REVIEW”, “CUSTOMER_REVIEW”, “CUSTOMER_APPROVED”, “FUNDING_APPROVED”, “PROVISIONING”, “CUSTOMER_ACCEPTED”, “COMPLETED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The order_status of this MacOrder. Return type: str
-
shape¶ [Required] Gets the shape of this MacOrder. Enum indicating the requested shape for the MacDevices.
Allowed values for this property are: “M2_PRO_MAC_MINI_32GB_1TB”, “M2_ULTRA_MAC_STUDIO_64GB_4TB”, “M2_ULTRA_MAC_STUDIO_192GB_4TB”, “M4_PRO_MAC_MINI_64GB_2TB”, “M4_PRO_MAC_MINI_64GB_4TB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The shape of this MacOrder. Return type: str
-
time_billing_ended¶ Gets the time_billing_ended of this MacOrder. An RFC3339-formatted datetime string containing the date and time that billing for this MacOrder ends.
Returns: The time_billing_ended of this MacOrder. Return type: datetime
-
time_billing_started¶ Gets the time_billing_started of this MacOrder. An RFC3339-formatted datetime string containing the date and time that billing for this MacOrder begins.
Returns: The time_billing_started of this MacOrder. Return type: datetime
-
time_canceled¶ Gets the time_canceled of this MacOrder. An RFC3339-formatted datetime string containing the time this MacOrder was cancelled.
Returns: The time_canceled of this MacOrder. Return type: datetime
-
time_created¶ [Required] Gets the time_created of this MacOrder. The time this resource was created. An RFC3339 formatted datetime string.
Returns: The time_created of this MacOrder. Return type: datetime
-
time_updated¶ Gets the time_updated of this MacOrder. The time this resource was last updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this MacOrder. Return type: datetime
-