ComputedUsageAggregatedSummary

class oci.osub_usage.models.ComputedUsageAggregatedSummary(**kwargs)

Bases: object

Subscribed Service Contract details

Attributes

PRICING_MODEL_ANNUAL A constant which can be used with the pricing_model property of a ComputedUsageAggregatedSummary.
PRICING_MODEL_FUNDED_ALLOCATION A constant which can be used with the pricing_model property of a ComputedUsageAggregatedSummary.
PRICING_MODEL_MONTHLY A constant which can be used with the pricing_model property of a ComputedUsageAggregatedSummary.
PRICING_MODEL_PAY_AS_YOU_GO A constant which can be used with the pricing_model property of a ComputedUsageAggregatedSummary.
PRICING_MODEL_PREPAID A constant which can be used with the pricing_model property of a ComputedUsageAggregatedSummary.
aggregated_computed_usages Gets the aggregated_computed_usages of this ComputedUsageAggregatedSummary.
currency_code Gets the currency_code of this ComputedUsageAggregatedSummary.
parent_product Gets the parent_product of this ComputedUsageAggregatedSummary.
parent_subscribed_service_id Gets the parent_subscribed_service_id of this ComputedUsageAggregatedSummary.
plan_number Gets the plan_number of this ComputedUsageAggregatedSummary.
pricing_model Gets the pricing_model of this ComputedUsageAggregatedSummary.
rate_card_id Gets the rate_card_id of this ComputedUsageAggregatedSummary.
subscription_id [Required] Gets the subscription_id of this ComputedUsageAggregatedSummary.
time_end Gets the time_end of this ComputedUsageAggregatedSummary.
time_start Gets the time_start of this ComputedUsageAggregatedSummary.

Methods

__init__(**kwargs) Initializes a new ComputedUsageAggregatedSummary object with values from keyword arguments.
PRICING_MODEL_ANNUAL = 'ANNUAL'

A constant which can be used with the pricing_model property of a ComputedUsageAggregatedSummary. 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 ComputedUsageAggregatedSummary. 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 ComputedUsageAggregatedSummary. 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 ComputedUsageAggregatedSummary. 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 ComputedUsageAggregatedSummary. This constant has a value of “PREPAID”

__init__(**kwargs)

Initializes a new ComputedUsageAggregatedSummary 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 ComputedUsageAggregatedSummary.
  • parent_subscribed_service_id (str) – The value to assign to the parent_subscribed_service_id property of this ComputedUsageAggregatedSummary.
  • parent_product (oci.osub_usage.models.Product) – The value to assign to the parent_product property of this ComputedUsageAggregatedSummary.
  • time_start (datetime) – The value to assign to the time_start property of this ComputedUsageAggregatedSummary.
  • time_end (datetime) – The value to assign to the time_end property of this ComputedUsageAggregatedSummary.
  • plan_number (str) – The value to assign to the plan_number property of this ComputedUsageAggregatedSummary.
  • currency_code (str) – The value to assign to the currency_code property of this ComputedUsageAggregatedSummary.
  • rate_card_id (str) – The value to assign to the rate_card_id property of this ComputedUsageAggregatedSummary.
  • pricing_model (str) – The value to assign to the pricing_model property of this ComputedUsageAggregatedSummary. 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.osub_usage.models.ComputedUsageAggregation]) – The value to assign to the aggregated_computed_usages property of this ComputedUsageAggregatedSummary.
aggregated_computed_usages

Gets the aggregated_computed_usages of this ComputedUsageAggregatedSummary. Aggregation of computed usages for the subscribed service.

Returns:The aggregated_computed_usages of this ComputedUsageAggregatedSummary.
Return type:list[oci.osub_usage.models.ComputedUsageAggregation]
currency_code

Gets the currency_code of this ComputedUsageAggregatedSummary. Currency code

Returns:The currency_code of this ComputedUsageAggregatedSummary.
Return type:str
parent_product

Gets the parent_product of this ComputedUsageAggregatedSummary.

Returns:The parent_product of this ComputedUsageAggregatedSummary.
Return type:oci.osub_usage.models.Product
parent_subscribed_service_id

Gets the parent_subscribed_service_id of this ComputedUsageAggregatedSummary. Subscribed service line parent id

Returns:The parent_subscribed_service_id of this ComputedUsageAggregatedSummary.
Return type:str
plan_number

Gets the plan_number of this ComputedUsageAggregatedSummary. Subscribed service asociated subscription plan number.

Returns:The plan_number of this ComputedUsageAggregatedSummary.
Return type:str
pricing_model

Gets the pricing_model of this ComputedUsageAggregatedSummary. 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 ComputedUsageAggregatedSummary.
Return type:str
rate_card_id

Gets the rate_card_id of this ComputedUsageAggregatedSummary. Inernal SPM Ratecard Id at line level

Returns:The rate_card_id of this ComputedUsageAggregatedSummary.
Return type:str
subscription_id

[Required] Gets the subscription_id of this ComputedUsageAggregatedSummary. Subscription Id is an identifier associated to the service used for filter the Computed Usage in SPM

Returns:The subscription_id of this ComputedUsageAggregatedSummary.
Return type:str
time_end

Gets the time_end of this ComputedUsageAggregatedSummary. Subscribed services contract line end date, expressed in RFC 3339 timestamp format.

Returns:The time_end of this ComputedUsageAggregatedSummary.
Return type:datetime
time_start

Gets the time_start of this ComputedUsageAggregatedSummary. Subscribed services contract line start date, expressed in RFC 3339 timestamp format.

Returns:The time_start of this ComputedUsageAggregatedSummary.
Return type:datetime