SubscriptionMappingSummary¶
-
class
oci.tenant_manager_control_plane.models.
SubscriptionMappingSummary
(**kwargs)¶ Bases:
object
Subscription mapping information.
Methods
__init__
(**kwargs)Initializes a new SubscriptionMappingSummary object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this SubscriptionMappingSummary. id
[Required] Gets the id of this SubscriptionMappingSummary. is_explicitly_assigned
[Required] Gets the is_explicitly_assigned of this SubscriptionMappingSummary. lifecycle_state
[Required] Gets the lifecycle_state of this SubscriptionMappingSummary. subscription_id
[Required] Gets the subscription_id of this SubscriptionMappingSummary. time_created
[Required] Gets the time_created of this SubscriptionMappingSummary. time_terminated
Gets the time_terminated of this SubscriptionMappingSummary. time_updated
[Required] Gets the time_updated of this SubscriptionMappingSummary. -
__init__
(**kwargs)¶ Initializes a new SubscriptionMappingSummary 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 SubscriptionMappingSummary.
- subscription_id (str) – The value to assign to the subscription_id property of this SubscriptionMappingSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this SubscriptionMappingSummary.
- is_explicitly_assigned (bool) – The value to assign to the is_explicitly_assigned property of this SubscriptionMappingSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this SubscriptionMappingSummary.
- time_terminated (datetime) – The value to assign to the time_terminated property of this SubscriptionMappingSummary.
- time_created (datetime) – The value to assign to the time_created property of this SubscriptionMappingSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this SubscriptionMappingSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this SubscriptionMappingSummary. OCID of the compartment. Always a tenancy OCID.
Returns: The compartment_id of this SubscriptionMappingSummary. Return type: str
-
id
¶ [Required] Gets the id of this SubscriptionMappingSummary. OCID of the mapping between subscription and compartment identified by the tenancy.
Returns: The id of this SubscriptionMappingSummary. Return type: str
-
is_explicitly_assigned
¶ [Required] Gets the is_explicitly_assigned of this SubscriptionMappingSummary. Denotes if the subscription is explicity assigned to the root compartment or tenancy.
Returns: The is_explicitly_assigned of this SubscriptionMappingSummary. Return type: bool
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this SubscriptionMappingSummary. Lifecycle state of the subscription mapping.
Returns: The lifecycle_state of this SubscriptionMappingSummary. Return type: str
-
subscription_id
¶ [Required] Gets the subscription_id of this SubscriptionMappingSummary. OCID of the subscription.
Returns: The subscription_id of this SubscriptionMappingSummary. Return type: str
-
time_created
¶ [Required] Gets the time_created of this SubscriptionMappingSummary. Date-time when subscription mapping was created.
Returns: The time_created of this SubscriptionMappingSummary. Return type: datetime
-
time_terminated
¶ Gets the time_terminated of this SubscriptionMappingSummary. Date-time when subscription mapping was terminated.
Returns: The time_terminated of this SubscriptionMappingSummary. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this SubscriptionMappingSummary. Date-time when subscription mapping was updated.
Returns: The time_updated of this SubscriptionMappingSummary. Return type: datetime
-