EnrollmentStatusSummary¶
-
class
oci.optimizer.models.EnrollmentStatusSummary(**kwargs)¶ Bases:
objectThe metadata associated with the enrollment status summary.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. LIFECYCLE_STATE_ATTACHINGA constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. LIFECYCLE_STATE_DETACHINGA constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. STATUS_ACTIVEA constant which can be used with the status property of a EnrollmentStatusSummary. STATUS_INACTIVEA constant which can be used with the status property of a EnrollmentStatusSummary. compartment_id[Required] Gets the compartment_id of this EnrollmentStatusSummary. id[Required] Gets the id of this EnrollmentStatusSummary. lifecycle_state[Required] Gets the lifecycle_state of this EnrollmentStatusSummary. status[Required] Gets the status of this EnrollmentStatusSummary. status_reasonGets the status_reason of this EnrollmentStatusSummary. time_createdGets the time_created of this EnrollmentStatusSummary. time_updatedGets the time_updated of this EnrollmentStatusSummary. Methods
__init__(**kwargs)Initializes a new EnrollmentStatusSummary object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_ATTACHING= 'ATTACHING'¶ A constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. This constant has a value of “ATTACHING”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_DETACHING= 'DETACHING'¶ A constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. This constant has a value of “DETACHING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a EnrollmentStatusSummary. This constant has a value of “UPDATING”
-
STATUS_ACTIVE= 'ACTIVE'¶ A constant which can be used with the status property of a EnrollmentStatusSummary. This constant has a value of “ACTIVE”
-
STATUS_INACTIVE= 'INACTIVE'¶ A constant which can be used with the status property of a EnrollmentStatusSummary. This constant has a value of “INACTIVE”
-
__init__(**kwargs)¶ Initializes a new EnrollmentStatusSummary 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 EnrollmentStatusSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this EnrollmentStatusSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this EnrollmentStatusSummary. Allowed values for this property are: “ACTIVE”, “FAILED”, “INACTIVE”, “ATTACHING”, “DETACHING”, “DELETING”, “DELETED”, “UPDATING”, “CREATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- status (str) – The value to assign to the status property of this EnrollmentStatusSummary. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- status_reason (str) – The value to assign to the status_reason property of this EnrollmentStatusSummary.
- time_created (datetime) – The value to assign to the time_created property of this EnrollmentStatusSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this EnrollmentStatusSummary.
-
compartment_id¶ [Required] Gets the compartment_id of this EnrollmentStatusSummary. The OCID of the compartment.
Returns: The compartment_id of this EnrollmentStatusSummary. Return type: str
-
id¶ [Required] Gets the id of this EnrollmentStatusSummary. The OCID of the enrollment status.
Returns: The id of this EnrollmentStatusSummary. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this EnrollmentStatusSummary. The enrollment status’ current state.
Allowed values for this property are: “ACTIVE”, “FAILED”, “INACTIVE”, “ATTACHING”, “DETACHING”, “DELETING”, “DELETED”, “UPDATING”, “CREATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this EnrollmentStatusSummary. Return type: str
-
status¶ [Required] Gets the status of this EnrollmentStatusSummary. The current Cloud Advisor enrollment status.
Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this EnrollmentStatusSummary. Return type: str
-
status_reason¶ Gets the status_reason of this EnrollmentStatusSummary. The reason for the enrollment status of the tenancy.
Returns: The status_reason of this EnrollmentStatusSummary. Return type: str
-
time_created¶ Gets the time_created of this EnrollmentStatusSummary. The date and time the enrollment status was created, in the format defined by RFC3339.
Returns: The time_created of this EnrollmentStatusSummary. Return type: datetime
-
time_updated¶ Gets the time_updated of this EnrollmentStatusSummary. The date and time the enrollment status was last updated, in the format defined by RFC3339.
Returns: The time_updated of this EnrollmentStatusSummary. Return type: datetime
-