ComputedUsageSummary¶
-
class
oci.onesubscription.models.ComputedUsageSummary(**kwargs)¶ Bases:
objectComputed Usage Summary object
Attributes
TYPE_COMMITA constant which can be used with the type property of a ComputedUsageSummary. TYPE_COMMITMENT_EXPIRATIONA constant which can be used with the type property of a ComputedUsageSummary. TYPE_DELAYED_USAGE_COMMITMENT_EXPA constant which can be used with the type property of a ComputedUsageSummary. TYPE_DELAYED_USAGE_INVOICE_TIMINGA constant which can be used with the type property of a ComputedUsageSummary. TYPE_DELAYED_USAGE_POST_TERMINATIONA constant which can be used with the type property of a ComputedUsageSummary. TYPE_DONOT_BILL_USAGE_POST_TERMINATIONA constant which can be used with the type property of a ComputedUsageSummary. TYPE_DO_NOT_BILLA constant which can be used with the type property of a ComputedUsageSummary. TYPE_FUNDED_ALLOCATIONA constant which can be used with the type property of a ComputedUsageSummary. TYPE_MONTHLY_MINIMUMA constant which can be used with the type property of a ComputedUsageSummary. TYPE_ON_ACCOUNT_CREDITA constant which can be used with the type property of a ComputedUsageSummary. TYPE_OVERAGEA constant which can be used with the type property of a ComputedUsageSummary. TYPE_PAY_AS_YOU_GOA constant which can be used with the type property of a ComputedUsageSummary. TYPE_PROMOTIONA constant which can be used with the type property of a ComputedUsageSummary. TYPE_SERVICE_CREDITA constant which can be used with the type property of a ComputedUsageSummary. TYPE_USAGEA constant which can be used with the type property of a ComputedUsageSummary. commitment_service_idGets the commitment_service_id of this ComputedUsageSummary. compute_sourceGets the compute_source of this ComputedUsageSummary. computed_usage_id[Required] Gets the computed_usage_id of this ComputedUsageSummary. costGets the cost of this ComputedUsageSummary. cost_roundedGets the cost_rounded of this ComputedUsageSummary. currency_codeGets the currency_code of this ComputedUsageSummary. data_centerGets the data_center of this ComputedUsageSummary. is_invoicedGets the is_invoiced of this ComputedUsageSummary. mqs_message_idGets the mqs_message_id of this ComputedUsageSummary. net_unit_priceGets the net_unit_price of this ComputedUsageSummary. original_usage_numberGets the original_usage_number of this ComputedUsageSummary. parent_productGets the parent_product of this ComputedUsageSummary. parent_subscribed_service_idGets the parent_subscribed_service_id of this ComputedUsageSummary. plan_numberGets the plan_number of this ComputedUsageSummary. productGets the product of this ComputedUsageSummary. quantityGets the quantity of this ComputedUsageSummary. rate_card_idGets the rate_card_id of this ComputedUsageSummary. rate_card_tierd_idGets the rate_card_tierd_id of this ComputedUsageSummary. time_createdGets the time_created of this ComputedUsageSummary. time_metered_onGets the time_metered_on of this ComputedUsageSummary. time_of_arrivalGets the time_of_arrival of this ComputedUsageSummary. time_updatedGets the time_updated of this ComputedUsageSummary. typeGets the type of this ComputedUsageSummary. unit_of_measureGets the unit_of_measure of this ComputedUsageSummary. usage_numberGets the usage_number of this ComputedUsageSummary. Methods
__init__(**kwargs)Initializes a new ComputedUsageSummary object with values from keyword arguments. -
TYPE_COMMIT= 'COMMIT'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “COMMIT”
-
TYPE_COMMITMENT_EXPIRATION= 'COMMITMENT_EXPIRATION'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “COMMITMENT_EXPIRATION”
-
TYPE_DELAYED_USAGE_COMMITMENT_EXP= 'DELAYED_USAGE_COMMITMENT_EXP'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “DELAYED_USAGE_COMMITMENT_EXP”
-
TYPE_DELAYED_USAGE_INVOICE_TIMING= 'DELAYED_USAGE_INVOICE_TIMING'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “DELAYED_USAGE_INVOICE_TIMING”
-
TYPE_DELAYED_USAGE_POST_TERMINATION= 'DELAYED_USAGE_POST_TERMINATION'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “DELAYED_USAGE_POST_TERMINATION”
-
TYPE_DONOT_BILL_USAGE_POST_TERMINATION= 'DONOT_BILL_USAGE_POST_TERMINATION'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “DONOT_BILL_USAGE_POST_TERMINATION”
-
TYPE_DO_NOT_BILL= 'DO_NOT_BILL'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “DO_NOT_BILL”
-
TYPE_FUNDED_ALLOCATION= 'FUNDED_ALLOCATION'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “FUNDED_ALLOCATION”
-
TYPE_MONTHLY_MINIMUM= 'MONTHLY_MINIMUM'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “MONTHLY_MINIMUM”
-
TYPE_ON_ACCOUNT_CREDIT= 'ON_ACCOUNT_CREDIT'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “ON_ACCOUNT_CREDIT”
-
TYPE_OVERAGE= 'OVERAGE'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “OVERAGE”
-
TYPE_PAY_AS_YOU_GO= 'PAY_AS_YOU_GO'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “PAY_AS_YOU_GO”
-
TYPE_PROMOTION= 'PROMOTION'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “PROMOTION”
-
TYPE_SERVICE_CREDIT= 'SERVICE_CREDIT'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “SERVICE_CREDIT”
-
TYPE_USAGE= 'USAGE'¶ A constant which can be used with the type property of a ComputedUsageSummary. This constant has a value of “USAGE”
-
__init__(**kwargs)¶ Initializes a new ComputedUsageSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - time_created (datetime) – The value to assign to the time_created property of this ComputedUsageSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this ComputedUsageSummary.
- parent_subscribed_service_id (str) – The value to assign to the parent_subscribed_service_id property of this ComputedUsageSummary.
- parent_product (oci.onesubscription.models.ComputedUsageProduct) – The value to assign to the parent_product property of this ComputedUsageSummary.
- plan_number (str) – The value to assign to the plan_number property of this ComputedUsageSummary.
- currency_code (str) – The value to assign to the currency_code property of this ComputedUsageSummary.
- rate_card_tierd_id (str) – The value to assign to the rate_card_tierd_id property of this ComputedUsageSummary.
- rate_card_id (str) – The value to assign to the rate_card_id property of this ComputedUsageSummary.
- compute_source (str) – The value to assign to the compute_source property of this ComputedUsageSummary.
- data_center (str) – The value to assign to the data_center property of this ComputedUsageSummary.
- mqs_message_id (str) – The value to assign to the mqs_message_id property of this ComputedUsageSummary.
- computed_usage_id (str) – The value to assign to the computed_usage_id property of this ComputedUsageSummary.
- quantity (str) – The value to assign to the quantity property of this ComputedUsageSummary.
- usage_number (str) – The value to assign to the usage_number property of this ComputedUsageSummary.
- original_usage_number (str) – The value to assign to the original_usage_number property of this ComputedUsageSummary.
- commitment_service_id (str) – The value to assign to the commitment_service_id property of this ComputedUsageSummary.
- is_invoiced (bool) – The value to assign to the is_invoiced property of this ComputedUsageSummary.
- type (str) – The value to assign to the type property of this ComputedUsageSummary. Allowed values for this property are: “PROMOTION”, “DO_NOT_BILL”, “USAGE”, “COMMIT”, “OVERAGE”, “PAY_AS_YOU_GO”, “MONTHLY_MINIMUM”, “DELAYED_USAGE_INVOICE_TIMING”, “DELAYED_USAGE_COMMITMENT_EXP”, “ON_ACCOUNT_CREDIT”, “SERVICE_CREDIT”, “COMMITMENT_EXPIRATION”, “FUNDED_ALLOCATION”, “DONOT_BILL_USAGE_POST_TERMINATION”, “DELAYED_USAGE_POST_TERMINATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_of_arrival (datetime) – The value to assign to the time_of_arrival property of this ComputedUsageSummary.
- time_metered_on (datetime) – The value to assign to the time_metered_on property of this ComputedUsageSummary.
- net_unit_price (str) – The value to assign to the net_unit_price property of this ComputedUsageSummary.
- cost_rounded (str) – The value to assign to the cost_rounded property of this ComputedUsageSummary.
- cost (str) – The value to assign to the cost property of this ComputedUsageSummary.
- product (oci.onesubscription.models.ComputedUsageProduct) – The value to assign to the product property of this ComputedUsageSummary.
- unit_of_measure (str) – The value to assign to the unit_of_measure property of this ComputedUsageSummary.
-
commitment_service_id¶ Gets the commitment_service_id of this ComputedUsageSummary. Subscribed service commitmentId.
Returns: The commitment_service_id of this ComputedUsageSummary. Return type: str
-
compute_source¶ Gets the compute_source of this ComputedUsageSummary. SPM Internal compute records source .
Returns: The compute_source of this ComputedUsageSummary. Return type: str
-
computed_usage_id¶ [Required] Gets the computed_usage_id of this ComputedUsageSummary. SPM Internal computed usage Id , 32 character string
Returns: The computed_usage_id of this ComputedUsageSummary. Return type: str
-
cost¶ Gets the cost of this ComputedUsageSummary. Computed Line Amount not rounded
Returns: The cost of this ComputedUsageSummary. Return type: str
-
cost_rounded¶ Gets the cost_rounded of this ComputedUsageSummary. Computed Line Amount rounded.
Returns: The cost_rounded of this ComputedUsageSummary. Return type: str
-
currency_code¶ Gets the currency_code of this ComputedUsageSummary. Currency code
Returns: The currency_code of this ComputedUsageSummary. Return type: str
-
data_center¶ Gets the data_center of this ComputedUsageSummary. Data Center Attribute as sent by MQS to SPM.
Returns: The data_center of this ComputedUsageSummary. Return type: str
-
is_invoiced¶ Gets the is_invoiced of this ComputedUsageSummary. Invoicing status for the aggregated compute usage
Returns: The is_invoiced of this ComputedUsageSummary. Return type: bool
-
mqs_message_id¶ Gets the mqs_message_id of this ComputedUsageSummary. MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.
Returns: The mqs_message_id of this ComputedUsageSummary. Return type: str
-
net_unit_price¶ Gets the net_unit_price of this ComputedUsageSummary. Net Unit Price for the product in consideration, price actual.
Returns: The net_unit_price of this ComputedUsageSummary. Return type: str
-
original_usage_number¶ Gets the original_usage_number of this ComputedUsageSummary. SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity.
Returns: The original_usage_number of this ComputedUsageSummary. Return type: str
-
parent_product¶ Gets the parent_product of this ComputedUsageSummary.
Returns: The parent_product of this ComputedUsageSummary. Return type: oci.onesubscription.models.ComputedUsageProduct
-
parent_subscribed_service_id¶ Gets the parent_subscribed_service_id of this ComputedUsageSummary. Subscribed service line parent id
Returns: The parent_subscribed_service_id of this ComputedUsageSummary. Return type: str
-
plan_number¶ Gets the plan_number of this ComputedUsageSummary. Subscription plan number
Returns: The plan_number of this ComputedUsageSummary. Return type: str
-
product¶ Gets the product of this ComputedUsageSummary.
Returns: The product of this ComputedUsageSummary. Return type: oci.onesubscription.models.ComputedUsageProduct
-
quantity¶ Gets the quantity of this ComputedUsageSummary. Total Quantity that was used for computation
Returns: The quantity of this ComputedUsageSummary. Return type: str
-
rate_card_id¶ Gets the rate_card_id of this ComputedUsageSummary. Ratecard Id at subscribed service level
Returns: The rate_card_id of this ComputedUsageSummary. Return type: str
-
rate_card_tierd_id¶ Gets the rate_card_tierd_id of this ComputedUsageSummary. References the tier in the ratecard for that usage (OCI will be using the same reference to cross-reference for correctness on the usage csv report), comes from Entity OBSCNTR_IPT_PRODUCTTIER.
Returns: The rate_card_tierd_id of this ComputedUsageSummary. Return type: str
-
time_created¶ Gets the time_created of this ComputedUsageSummary. Computed Usage created time, expressed in RFC 3339 timestamp format.
Returns: The time_created of this ComputedUsageSummary. Return type: datetime
-
time_metered_on¶ Gets the time_metered_on of this ComputedUsageSummary. Metered Service date, expressed in RFC 3339 timestamp format.
Returns: The time_metered_on of this ComputedUsageSummary. Return type: datetime
-
time_of_arrival¶ Gets the time_of_arrival of this ComputedUsageSummary. Usae computation date, expressed in RFC 3339 timestamp format.
Returns: The time_of_arrival of this ComputedUsageSummary. Return type: datetime
-
time_updated¶ Gets the time_updated of this ComputedUsageSummary. Computed Usage updated time, expressed in RFC 3339 timestamp format.
Returns: The time_updated of this ComputedUsageSummary. Return type: datetime
-
type¶ Gets the type of this ComputedUsageSummary. Usage compute type in SPM.
Allowed values for this property are: “PROMOTION”, “DO_NOT_BILL”, “USAGE”, “COMMIT”, “OVERAGE”, “PAY_AS_YOU_GO”, “MONTHLY_MINIMUM”, “DELAYED_USAGE_INVOICE_TIMING”, “DELAYED_USAGE_COMMITMENT_EXP”, “ON_ACCOUNT_CREDIT”, “SERVICE_CREDIT”, “COMMITMENT_EXPIRATION”, “FUNDED_ALLOCATION”, “DONOT_BILL_USAGE_POST_TERMINATION”, “DELAYED_USAGE_POST_TERMINATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this ComputedUsageSummary. Return type: str
-
unit_of_measure¶ Gets the unit_of_measure of this ComputedUsageSummary. Unit of Messure
Returns: The unit_of_measure of this ComputedUsageSummary. Return type: str
-
usage_number¶ Gets the usage_number of this ComputedUsageSummary. SPM Internal usage Line number identifier in SPM coming from Metered Services entity.
Returns: The usage_number of this ComputedUsageSummary. Return type: str
-