ActivateSubscriptionResult¶
-
class
oci.self.models.ActivateSubscriptionResult(**kwargs)¶ Bases:
objectResponse model for the activation of a subscription. Includes the details of the activated subscription.
Attributes
LIFECYCLE_DETAILS_ACTIVEA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_CREATEDA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_DELETEDA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_DELETINGA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_EXPIREDA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_FAILEDA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_PENDING_ACTIVATIONA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_PROVISIONING_COMPLETEDA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_PROVISIONING_FAILEDA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_PROVISIONING_STARTEDA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_TERMINATEDA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_DETAILS_UPDATINGA constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a ActivateSubscriptionResult. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a ActivateSubscriptionResult. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a ActivateSubscriptionResult. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a ActivateSubscriptionResult. display_nameGets the display_name of this ActivateSubscriptionResult. lifecycle_detailsGets the lifecycle_details of this ActivateSubscriptionResult. lifecycle_stateGets the lifecycle_state of this ActivateSubscriptionResult. subscription_id[Required] Gets the subscription_id of this ActivateSubscriptionResult. time_endGets the time_end of this ActivateSubscriptionResult. time_startGets the time_start of this ActivateSubscriptionResult. Methods
__init__(**kwargs)Initializes a new ActivateSubscriptionResult object with values from keyword arguments. -
LIFECYCLE_DETAILS_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “ACTIVE”
-
LIFECYCLE_DETAILS_CREATED= 'CREATED'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “CREATED”
-
LIFECYCLE_DETAILS_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “DELETED”
-
LIFECYCLE_DETAILS_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “DELETING”
-
LIFECYCLE_DETAILS_EXPIRED= 'EXPIRED'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “EXPIRED”
-
LIFECYCLE_DETAILS_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “FAILED”
-
LIFECYCLE_DETAILS_PENDING_ACTIVATION= 'PENDING_ACTIVATION'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “PENDING_ACTIVATION”
-
LIFECYCLE_DETAILS_PROVISIONING_COMPLETED= 'PROVISIONING_COMPLETED'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “PROVISIONING_COMPLETED”
-
LIFECYCLE_DETAILS_PROVISIONING_FAILED= 'PROVISIONING_FAILED'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “PROVISIONING_FAILED”
-
LIFECYCLE_DETAILS_PROVISIONING_STARTED= 'PROVISIONING_STARTED'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “PROVISIONING_STARTED”
-
LIFECYCLE_DETAILS_TERMINATED= 'TERMINATED'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “TERMINATED”
-
LIFECYCLE_DETAILS_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_details property of a ActivateSubscriptionResult. This constant has a value of “UPDATING”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a ActivateSubscriptionResult. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ActivateSubscriptionResult. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ActivateSubscriptionResult. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a ActivateSubscriptionResult. This constant has a value of “INACTIVE”
-
__init__(**kwargs)¶ Initializes a new ActivateSubscriptionResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - subscription_id (str) – The value to assign to the subscription_id property of this ActivateSubscriptionResult.
- display_name (str) – The value to assign to the display_name property of this ActivateSubscriptionResult.
- time_start (datetime) – The value to assign to the time_start property of this ActivateSubscriptionResult.
- time_end (datetime) – The value to assign to the time_end property of this ActivateSubscriptionResult.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ActivateSubscriptionResult. Allowed values for this property are: “ACTIVE”, “INACTIVE”, “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 ActivateSubscriptionResult. Allowed values for this property are: “CREATED”, “PENDING_ACTIVATION”, “PROVISIONING_STARTED”, “PROVISIONING_COMPLETED”, “PROVISIONING_FAILED”, “ACTIVE”, “EXPIRED”, “TERMINATED”, “FAILED”, “DELETING”, “UPDATING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
display_name¶ Gets the display_name of this ActivateSubscriptionResult. The subscription name. Must be unique within the compartment. This value can be updated.
Returns: The display_name of this ActivateSubscriptionResult. Return type: str
-
lifecycle_details¶ Gets the lifecycle_details of this ActivateSubscriptionResult. A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
Allowed values for this property are: “CREATED”, “PENDING_ACTIVATION”, “PROVISIONING_STARTED”, “PROVISIONING_COMPLETED”, “PROVISIONING_FAILED”, “ACTIVE”, “EXPIRED”, “TERMINATED”, “FAILED”, “DELETING”, “UPDATING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_details of this ActivateSubscriptionResult. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this ActivateSubscriptionResult. The current state of the Subscription.
Allowed values for this property are: “ACTIVE”, “INACTIVE”, “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 ActivateSubscriptionResult. Return type: str
-
subscription_id¶ [Required] Gets the subscription_id of this ActivateSubscriptionResult. The unique identifier of the activated subscription.
Returns: The subscription_id of this ActivateSubscriptionResult. Return type: str
-
time_end¶ Gets the time_end of this ActivateSubscriptionResult. The end date of the subscription.
Returns: The time_end of this ActivateSubscriptionResult. Return type: datetime
-
time_start¶ Gets the time_start of this ActivateSubscriptionResult. The start date of the subscription.
Returns: The time_start of this ActivateSubscriptionResult. Return type: datetime
-