ComputedUsageAggregation¶
-
class
oci.osub_usage.models.ComputedUsageAggregation(**kwargs)¶ Bases:
objectComputed Usage Aggregation object
Attributes
TYPE_COMMITA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_COMMITMENT_EXPIRATIONA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_DELAYED_USAGE_COMMITMENT_EXPA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_DELAYED_USAGE_INVOICE_TIMINGA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_DELAYED_USAGE_POST_TERMINATIONA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_DONOT_BILL_USAGE_POST_TERMINATIONA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_DO_NOT_BILLA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_FUNDED_ALLOCATIONA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_MONTHLY_MINIMUMA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_ON_ACCOUNT_CREDITA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_OVERAGEA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_PAY_AS_YOU_GOA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_PROMOTIONA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_SERVICE_CREDITA constant which can be used with the type property of a ComputedUsageAggregation. TYPE_USAGEA constant which can be used with the type property of a ComputedUsageAggregation. costGets the cost of this ComputedUsageAggregation. cost_unroundedGets the cost_unrounded of this ComputedUsageAggregation. data_centerGets the data_center of this ComputedUsageAggregation. net_unit_priceGets the net_unit_price of this ComputedUsageAggregation. productGets the product of this ComputedUsageAggregation. quantityGets the quantity of this ComputedUsageAggregation. time_metered_onGets the time_metered_on of this ComputedUsageAggregation. typeGets the type of this ComputedUsageAggregation. Methods
__init__(**kwargs)Initializes a new ComputedUsageAggregation object with values from keyword arguments. -
TYPE_COMMIT= 'COMMIT'¶ A constant which can be used with the type property of a ComputedUsageAggregation. This constant has a value of “COMMIT”
-
TYPE_COMMITMENT_EXPIRATION= 'COMMITMENT_EXPIRATION'¶ A constant which can be used with the type property of a ComputedUsageAggregation. 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 ComputedUsageAggregation. 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 ComputedUsageAggregation. 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 ComputedUsageAggregation. 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 ComputedUsageAggregation. 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 ComputedUsageAggregation. 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 ComputedUsageAggregation. 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 ComputedUsageAggregation. 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 ComputedUsageAggregation. This constant has a value of “ON_ACCOUNT_CREDIT”
-
TYPE_OVERAGE= 'OVERAGE'¶ A constant which can be used with the type property of a ComputedUsageAggregation. 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 ComputedUsageAggregation. 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 ComputedUsageAggregation. This constant has a value of “PROMOTION”
-
TYPE_SERVICE_CREDIT= 'SERVICE_CREDIT'¶ A constant which can be used with the type property of a ComputedUsageAggregation. This constant has a value of “SERVICE_CREDIT”
-
TYPE_USAGE= 'USAGE'¶ A constant which can be used with the type property of a ComputedUsageAggregation. This constant has a value of “USAGE”
-
__init__(**kwargs)¶ Initializes a new ComputedUsageAggregation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - quantity (str) – The value to assign to the quantity property of this ComputedUsageAggregation.
- product (oci.osub_usage.models.Product) – The value to assign to the product property of this ComputedUsageAggregation.
- data_center (str) – The value to assign to the data_center property of this ComputedUsageAggregation.
- time_metered_on (datetime) – The value to assign to the time_metered_on property of this ComputedUsageAggregation.
- net_unit_price (str) – The value to assign to the net_unit_price property of this ComputedUsageAggregation.
- cost_unrounded (str) – The value to assign to the cost_unrounded property of this ComputedUsageAggregation.
- cost (str) – The value to assign to the cost property of this ComputedUsageAggregation.
- type (str) – The value to assign to the type property of this ComputedUsageAggregation. 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’.
-
cost¶ Gets the cost of this ComputedUsageAggregation. Sum of Computed Line Amount rounded
Returns: The cost of this ComputedUsageAggregation. Return type: str
-
cost_unrounded¶ Gets the cost_unrounded of this ComputedUsageAggregation. Sum of Computed Line Amount unrounded
Returns: The cost_unrounded of this ComputedUsageAggregation. Return type: str
-
data_center¶ Gets the data_center of this ComputedUsageAggregation. Data Center Attribute as sent by MQS to SPM.
Returns: The data_center of this ComputedUsageAggregation. Return type: str
-
net_unit_price¶ Gets the net_unit_price of this ComputedUsageAggregation. Net Unit Price for the product in consideration.
Returns: The net_unit_price of this ComputedUsageAggregation. Return type: str
-
product¶ Gets the product of this ComputedUsageAggregation.
Returns: The product of this ComputedUsageAggregation. Return type: oci.osub_usage.models.Product
-
quantity¶ Gets the quantity of this ComputedUsageAggregation. Total Quantity that was used for computation
Returns: The quantity of this ComputedUsageAggregation. Return type: str
-
time_metered_on¶ Gets the time_metered_on of this ComputedUsageAggregation. Metered Service date , expressed in RFC 3339 timestamp format.
Returns: The time_metered_on of this ComputedUsageAggregation. Return type: datetime
-
type¶ Gets the type of this ComputedUsageAggregation. 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 ComputedUsageAggregation. Return type: str
-