SubscriptionDetails

class oci.onesubscription.models.SubscriptionDetails(**kwargs)

Bases: object

Commitment summary for a subscription.

Methods:

__init__(**kwargs)

Initializes a new SubscriptionDetails object with values from keyword arguments.

Attributes:

amount_authorized

Gets the amount_authorized of this SubscriptionDetails.

amount_available

Gets the amount_available of this SubscriptionDetails.

amount_commitment

Gets the amount_commitment of this SubscriptionDetails.

amount_consumed

Gets the amount_consumed of this SubscriptionDetails.

amount_provisioned

Gets the amount_provisioned of this SubscriptionDetails.

commitment_periods

Gets the commitment_periods of this SubscriptionDetails.

contract_id

Gets the contract_id of this SubscriptionDetails.

currency_code

Gets the currency_code of this SubscriptionDetails.

customer_name

Gets the customer_name of this SubscriptionDetails.

products_and_services

Gets the products_and_services of this SubscriptionDetails.

subscription_id

Gets the subscription_id of this SubscriptionDetails.

time_commitment_end

Gets the time_commitment_end of this SubscriptionDetails.

time_commitment_start

Gets the time_commitment_start of this SubscriptionDetails.

__init__(**kwargs)

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

Parameters
  • contract_id (str) – The value to assign to the contract_id property of this SubscriptionDetails.

  • subscription_id (str) – The value to assign to the subscription_id property of this SubscriptionDetails.

  • customer_name (str) – The value to assign to the customer_name property of this SubscriptionDetails.

  • currency_code (str) – The value to assign to the currency_code property of this SubscriptionDetails.

  • time_commitment_start (datetime) – The value to assign to the time_commitment_start property of this SubscriptionDetails.

  • time_commitment_end (datetime) – The value to assign to the time_commitment_end property of this SubscriptionDetails.

  • amount_commitment (float) – The value to assign to the amount_commitment property of this SubscriptionDetails.

  • amount_authorized (float) – The value to assign to the amount_authorized property of this SubscriptionDetails.

  • amount_provisioned (float) – The value to assign to the amount_provisioned property of this SubscriptionDetails.

  • amount_consumed (float) – The value to assign to the amount_consumed property of this SubscriptionDetails.

  • amount_available (float) – The value to assign to the amount_available property of this SubscriptionDetails.

  • commitment_periods (list[oci.onesubscription.models.CommitmentPeriod]) – The value to assign to the commitment_periods property of this SubscriptionDetails.

  • products_and_services (list[oci.onesubscription.models.ProductAndService]) – The value to assign to the products_and_services property of this SubscriptionDetails.

property amount_authorized

Gets the amount_authorized of this SubscriptionDetails. Amount authorized for the subscription.

Returns

The amount_authorized of this SubscriptionDetails.

Return type

float

property amount_available

Gets the amount_available of this SubscriptionDetails. Amount remaining and available for the subscription.

Returns

The amount_available of this SubscriptionDetails.

Return type

float

property amount_commitment

Gets the amount_commitment of this SubscriptionDetails. Total committed amount for the subscription.

Returns

The amount_commitment of this SubscriptionDetails.

Return type

float

property amount_consumed

Gets the amount_consumed of this SubscriptionDetails. Amount consumed from the subscription commitment.

Returns

The amount_consumed of this SubscriptionDetails.

Return type

float

property amount_provisioned

Gets the amount_provisioned of this SubscriptionDetails. Amount provisioned for the subscription.

Returns

The amount_provisioned of this SubscriptionDetails.

Return type

float

property commitment_periods

Gets the commitment_periods of this SubscriptionDetails. Commitment periods associated with the subscription.

Returns

The commitment_periods of this SubscriptionDetails.

Return type

list[oci.onesubscription.models.CommitmentPeriod]

property contract_id

Gets the contract_id of this SubscriptionDetails. Contract identifier.

Returns

The contract_id of this SubscriptionDetails.

Return type

str

property currency_code

Gets the currency_code of this SubscriptionDetails. The currency of the subscription, in the format specified by ISO-4217.

Returns

The currency_code of this SubscriptionDetails.

Return type

str

property customer_name

Gets the customer_name of this SubscriptionDetails. Sold-to customer name.

Returns

The customer_name of this SubscriptionDetails.

Return type

str

property products_and_services

Gets the products_and_services of this SubscriptionDetails. Products and services that draw down from the subscription.

Returns

The products_and_services of this SubscriptionDetails.

Return type

list[oci.onesubscription.models.ProductAndService]

property subscription_id

Gets the subscription_id of this SubscriptionDetails. Subscription identifier.

Returns

The subscription_id of this SubscriptionDetails.

Return type

str

property time_commitment_end

Gets the time_commitment_end of this SubscriptionDetails. End date and time of the subscription commitment.

Returns

The time_commitment_end of this SubscriptionDetails.

Return type

datetime

property time_commitment_start

Gets the time_commitment_start of this SubscriptionDetails. Start date and time of the subscription commitment.

Returns

The time_commitment_start of this SubscriptionDetails.

Return type

datetime