AggregatedComputedUsageSummary¶
- class oci.onesubscription.models.AggregatedComputedUsageSummary(**kwargs)¶
Bases:
objectSubscribed service contract details.
Attributes:
A constant which can be used with the pricing_model property of a AggregatedComputedUsageSummary.
A constant which can be used with the pricing_model property of a AggregatedComputedUsageSummary.
A constant which can be used with the pricing_model property of a AggregatedComputedUsageSummary.
A constant which can be used with the pricing_model property of a AggregatedComputedUsageSummary.
A constant which can be used with the pricing_model property of a AggregatedComputedUsageSummary.
Gets the aggregated_computed_usages of this AggregatedComputedUsageSummary.
Gets the currency_code of this AggregatedComputedUsageSummary.
Gets the parent_product of this AggregatedComputedUsageSummary.
Gets the parent_subscribed_service_id of this AggregatedComputedUsageSummary.
Gets the plan_number of this AggregatedComputedUsageSummary.
Gets the pricing_model of this AggregatedComputedUsageSummary.
Gets the rate_card_id of this AggregatedComputedUsageSummary.
[Required] Gets the subscription_id of this AggregatedComputedUsageSummary.
Gets the time_end of this AggregatedComputedUsageSummary.
Gets the time_start of this AggregatedComputedUsageSummary.
Methods:
__init__(**kwargs)Initializes a new AggregatedComputedUsageSummary object with values from keyword arguments.
- PRICING_MODEL_ANNUAL = 'ANNUAL'¶
A constant which can be used with the pricing_model property of a AggregatedComputedUsageSummary. This constant has a value of “ANNUAL”
- PRICING_MODEL_FUNDED_ALLOCATION = 'FUNDED_ALLOCATION'¶
A constant which can be used with the pricing_model property of a AggregatedComputedUsageSummary. This constant has a value of “FUNDED_ALLOCATION”
- PRICING_MODEL_MONTHLY = 'MONTHLY'¶
A constant which can be used with the pricing_model property of a AggregatedComputedUsageSummary. This constant has a value of “MONTHLY”
- PRICING_MODEL_PAY_AS_YOU_GO = 'PAY_AS_YOU_GO'¶
A constant which can be used with the pricing_model property of a AggregatedComputedUsageSummary. This constant has a value of “PAY_AS_YOU_GO”
- PRICING_MODEL_PREPAID = 'PREPAID'¶
A constant which can be used with the pricing_model property of a AggregatedComputedUsageSummary. This constant has a value of “PREPAID”
- __init__(**kwargs)¶
Initializes a new AggregatedComputedUsageSummary 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 AggregatedComputedUsageSummary.
parent_subscribed_service_id (str) – The value to assign to the parent_subscribed_service_id property of this AggregatedComputedUsageSummary.
parent_product (oci.onesubscription.models.ComputedUsageProduct) – The value to assign to the parent_product property of this AggregatedComputedUsageSummary.
time_start (datetime) – The value to assign to the time_start property of this AggregatedComputedUsageSummary.
time_end (datetime) – The value to assign to the time_end property of this AggregatedComputedUsageSummary.
plan_number (str) – The value to assign to the plan_number property of this AggregatedComputedUsageSummary.
currency_code (str) – The value to assign to the currency_code property of this AggregatedComputedUsageSummary.
rate_card_id (str) – The value to assign to the rate_card_id property of this AggregatedComputedUsageSummary.
pricing_model (str) – The value to assign to the pricing_model property of this AggregatedComputedUsageSummary. Allowed values for this property are: “PAY_AS_YOU_GO”, “MONTHLY”, “ANNUAL”, “PREPAID”, “FUNDED_ALLOCATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
aggregated_computed_usages (list[oci.onesubscription.models.ComputedUsageAggregation]) – The value to assign to the aggregated_computed_usages property of this AggregatedComputedUsageSummary.
- property aggregated_computed_usages¶
Gets the aggregated_computed_usages of this AggregatedComputedUsageSummary. Aggregation of computed usages for the subscribed service.
- Returns
The aggregated_computed_usages of this AggregatedComputedUsageSummary.
- Return type
- property currency_code¶
Gets the currency_code of this AggregatedComputedUsageSummary. Currency code.
- Returns
The currency_code of this AggregatedComputedUsageSummary.
- Return type
str
- property parent_product¶
Gets the parent_product of this AggregatedComputedUsageSummary.
- Returns
The parent_product of this AggregatedComputedUsageSummary.
- Return type
- property parent_subscribed_service_id¶
Gets the parent_subscribed_service_id of this AggregatedComputedUsageSummary. Subscribed service line parent ID.
- Returns
The parent_subscribed_service_id of this AggregatedComputedUsageSummary.
- Return type
str
- property plan_number¶
Gets the plan_number of this AggregatedComputedUsageSummary. Subscribed service asociated subscription plan number.
- Returns
The plan_number of this AggregatedComputedUsageSummary.
- Return type
str
- property pricing_model¶
Gets the pricing_model of this AggregatedComputedUsageSummary. Subscribed services pricing model.
Allowed values for this property are: “PAY_AS_YOU_GO”, “MONTHLY”, “ANNUAL”, “PREPAID”, “FUNDED_ALLOCATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The pricing_model of this AggregatedComputedUsageSummary.
- Return type
str
- property rate_card_id¶
Gets the rate_card_id of this AggregatedComputedUsageSummary. Inernal SPM rate card ID at line level.
- Returns
The rate_card_id of this AggregatedComputedUsageSummary.
- Return type
str
- property subscription_id¶
[Required] Gets the subscription_id of this AggregatedComputedUsageSummary. Subscription ID is an identifier associated with the service used for filtering the computed usage in SPM (Subscription Plan Management).
- Returns
The subscription_id of this AggregatedComputedUsageSummary.
- Return type
str
- property time_end¶
Gets the time_end of this AggregatedComputedUsageSummary. Subscribed services contract line end date, expressed in RFC 3339 timestamp format.
- Returns
The time_end of this AggregatedComputedUsageSummary.
- Return type
datetime
- property time_start¶
Gets the time_start of this AggregatedComputedUsageSummary. Subscribed services contract line start date, expressed in RFC 3339 timestamp format.
- Returns
The time_start of this AggregatedComputedUsageSummary.
- Return type
datetime