Class: DatadogAPIClient::V2::ProductCatalogSKUDataAttributesResponse
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ProductCatalogSKUDataAttributesResponse
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb
Overview
The pricing and allotment metadata of a SKU.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#allotments ⇒ Object
readonly
The allotments the SKU provides to other SKUs.
-
#billing_dimension ⇒ Object
readonly
The identifier of the billing dimension the SKU is billed on, as used by the usage metering endpoints.
-
#billing_units ⇒ Object
The billable usage unit the SKU is priced per.
-
#currency ⇒ Object
readonly
The ISO-4217 code of the currency the prices are expressed in.
-
#default_on_demand_option ⇒ Object
readonly
The billing frequency applied to on-demand usage of the SKU by default.
-
#number_of_units_included_in_price ⇒ Object
readonly
The number of billable usage units that one unit of price covers.
-
#on_demand_list_price ⇒ Object
The public list price of on-demand usage of the SKU, as a decimal string.
-
#on_demand_tiered ⇒ Object
The tiered pricing applied to on-demand usage of the SKU.
-
#pricing_type ⇒ Object
readonly
How the SKU is priced.
-
#sku_name ⇒ Object
readonly
The human-readable name of the SKU.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
73 74 75 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 73 def additional_properties @additional_properties end |
#allotments ⇒ Object
The allotments the SKU provides to other SKUs. Every entry carries the code of this
SKU as its parent_sku_code. Empty when the SKU provides no allotments.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 26 def allotments @allotments end |
#billing_dimension ⇒ Object
The identifier of the billing dimension the SKU is billed on, as used by the usage metering endpoints. Several SKUs can share one billing dimension, so this value does not identify a SKU.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 31 def billing_dimension @billing_dimension end |
#billing_units ⇒ Object
The billable usage unit the SKU is priced per. null for SKUs that are not priced
per unit of usage, such as those whose pricing_type is percent.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 35 def billing_units @billing_units end |
#currency ⇒ Object
The ISO-4217 code of the currency the prices are expressed in.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 38 def currency @currency end |
#default_on_demand_option ⇒ Object
The billing frequency applied to on-demand usage of the SKU by default.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 41 def default_on_demand_option @default_on_demand_option end |
#number_of_units_included_in_price ⇒ Object
The number of billable usage units that one unit of price covers. Divide measured
usage by this value before multiplying by the price. For example, a SKU priced at 18.00 with
number_of_units_included_in_price of 1 costs 18.00 per host, while a SKU priced
at 12.00 with number_of_units_included_in_price of 10000 costs 12.00 per
10,000 requests. It is a scaling factor on the price, not a free allotment; included
quantities are in allotments. The same factor applies to the price of a tier in
on_demand_tiered whose pricing_unit_type is unit. It does not apply to a tier
whose pricing_unit_type is block: that tier's price is charged for the whole
block bounded by min_usage_quantity and max_usage_quantity, however much of the
block is used. 0 for SKUs that are not priced per unit of usage, such as those
whose pricing_type is percent.
54 55 56 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 54 def number_of_units_included_in_price @number_of_units_included_in_price end |
#on_demand_list_price ⇒ Object
The public list price of on-demand usage of the SKU, as a decimal string. The number
of decimal places is not normalized, so values such as 0, 0.9, and 30000.00
all occur. null when the SKU is priced with tiers, in which case the prices are in
on_demand_tiered.
60 61 62 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 60 def on_demand_list_price @on_demand_list_price end |
#on_demand_tiered ⇒ Object
The tiered pricing applied to on-demand usage of the SKU. null when the SKU is priced
with a single list price instead.
64 65 66 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 64 def on_demand_tiered @on_demand_tiered end |
#pricing_type ⇒ Object
How the SKU is priced. usage prices each billable usage unit, and percent prices a
percentage; percent-priced SKUs have no billing_units.
68 69 70 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 68 def pricing_type @pricing_type end |
#sku_name ⇒ Object
The human-readable name of the SKU.
71 72 73 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_data_attributes_response.rb', line 71 def sku_name @sku_name end |