ListingSubscriptionSummary¶
-
class
oci.self.models.ListingSubscriptionSummary(**kwargs)¶ Bases:
objectThe summary information about a Subscription.
Attributes
LIFECYCLE_DETAILS_ACTIVEA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_CREATEDA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_DELETEDA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_DELETINGA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_EXPIREDA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_FAILEDA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_PENDING_ACTIVATIONA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_PROVISIONING_COMPLETEDA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_PROVISIONING_FAILEDA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_PROVISIONING_STARTEDA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_TERMINATEDA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_DETAILS_UPDATINGA constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a ListingSubscriptionSummary. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a ListingSubscriptionSummary. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a ListingSubscriptionSummary. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a ListingSubscriptionSummary. defined_tagsGets the defined_tags of this ListingSubscriptionSummary. display_name[Required] Gets the display_name of this ListingSubscriptionSummary. freeform_tagsGets the freeform_tags of this ListingSubscriptionSummary. lifecycle_detailsGets the lifecycle_details of this ListingSubscriptionSummary. lifecycle_stateGets the lifecycle_state of this ListingSubscriptionSummary. product_idGets the product_id of this ListingSubscriptionSummary. system_tagsGets the system_tags of this ListingSubscriptionSummary. time_endedGets the time_ended of this ListingSubscriptionSummary. time_startedGets the time_started of this ListingSubscriptionSummary. Methods
__init__(**kwargs)Initializes a new ListingSubscriptionSummary object with values from keyword arguments. -
LIFECYCLE_DETAILS_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_DETAILS_CREATED= 'CREATED'¶ A constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. This constant has a value of “CREATED”
-
LIFECYCLE_DETAILS_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. This constant has a value of “DELETED”
-
LIFECYCLE_DETAILS_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. This constant has a value of “DELETING”
-
LIFECYCLE_DETAILS_EXPIRED= 'EXPIRED'¶ A constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. This constant has a value of “EXPIRED”
-
LIFECYCLE_DETAILS_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. 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 ListingSubscriptionSummary. 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 ListingSubscriptionSummary. 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 ListingSubscriptionSummary. 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 ListingSubscriptionSummary. 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 ListingSubscriptionSummary. This constant has a value of “TERMINATED”
-
LIFECYCLE_DETAILS_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_details property of a ListingSubscriptionSummary. This constant has a value of “UPDATING”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a ListingSubscriptionSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ListingSubscriptionSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ListingSubscriptionSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a ListingSubscriptionSummary. This constant has a value of “INACTIVE”
-
__init__(**kwargs)¶ Initializes a new ListingSubscriptionSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this ListingSubscriptionSummary.
- product_id (str) – The value to assign to the product_id property of this ListingSubscriptionSummary.
- time_started (datetime) – The value to assign to the time_started property of this ListingSubscriptionSummary.
- time_ended (datetime) – The value to assign to the time_ended property of this ListingSubscriptionSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ListingSubscriptionSummary. 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 ListingSubscriptionSummary. 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’.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ListingSubscriptionSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ListingSubscriptionSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ListingSubscriptionSummary.
Gets the defined_tags of this ListingSubscriptionSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this ListingSubscriptionSummary. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this ListingSubscriptionSummary. The subscription name. Must be unique within the compartment. This value can be updated.
Returns: The display_name of this ListingSubscriptionSummary. Return type: str
Gets the freeform_tags of this ListingSubscriptionSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this ListingSubscriptionSummary. Return type: dict(str, str)
-
lifecycle_details¶ Gets the lifecycle_details of this ListingSubscriptionSummary. 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 ListingSubscriptionSummary. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this ListingSubscriptionSummary. 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 ListingSubscriptionSummary. Return type: str
-
product_id¶ Gets the product_id of this ListingSubscriptionSummary. The unique identifier of marketplace listing in Oracle Cloud Infrastructure.
Returns: The product_id of this ListingSubscriptionSummary. Return type: str
Gets the system_tags of this ListingSubscriptionSummary. System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this ListingSubscriptionSummary. Return type: dict(str, dict(str, object))
-