SubscriptionInfo

class oci.tenant_manager_control_plane.models.SubscriptionInfo(**kwargs)

Bases: object

A single subscription’s details.

Methods

__init__(**kwargs) Initializes a new SubscriptionInfo object with values from keyword arguments.

Attributes

end_date [Required] Gets the end_date of this SubscriptionInfo.
service [Required] Gets the service of this SubscriptionInfo.
skus [Required] Gets the skus of this SubscriptionInfo.
spm_subscription_id [Required] Gets the spm_subscription_id of this SubscriptionInfo.
start_date [Required] Gets the start_date of this SubscriptionInfo.
__init__(**kwargs)

Initializes a new SubscriptionInfo object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • spm_subscription_id (str) – The value to assign to the spm_subscription_id property of this SubscriptionInfo.
  • service (str) – The value to assign to the service property of this SubscriptionInfo.
  • start_date (datetime) – The value to assign to the start_date property of this SubscriptionInfo.
  • end_date (datetime) – The value to assign to the end_date property of this SubscriptionInfo.
  • skus (list[oci.tenant_manager_control_plane.models.Sku]) – The value to assign to the skus property of this SubscriptionInfo.
end_date

[Required] Gets the end_date of this SubscriptionInfo. Subscription end date. An RFC 3339-formatted date and time string.

Returns:The end_date of this SubscriptionInfo.
Return type:datetime
service

[Required] Gets the service of this SubscriptionInfo. Subscription service name.

Returns:The service of this SubscriptionInfo.
Return type:str
skus

[Required] Gets the skus of this SubscriptionInfo. List of SKUs the subscription contains.

Returns:The skus of this SubscriptionInfo.
Return type:list[oci.tenant_manager_control_plane.models.Sku]
spm_subscription_id

[Required] Gets the spm_subscription_id of this SubscriptionInfo. Subscription ID.

Returns:The spm_subscription_id of this SubscriptionInfo.
Return type:str
start_date

[Required] Gets the start_date of this SubscriptionInfo. Subscription start date. An RFC 3339-formatted date and time string.

Returns:The start_date of this SubscriptionInfo.
Return type:datetime