PricingModel¶
-
class
oci.marketplace.models.
PricingModel
(**kwargs)¶ Bases:
object
The model for pricing.
Attributes
CURRENCY_AED
A constant which can be used with the currency property of a PricingModel. CURRENCY_ALL
A constant which can be used with the currency property of a PricingModel. CURRENCY_ARS
A constant which can be used with the currency property of a PricingModel. CURRENCY_AUD
A constant which can be used with the currency property of a PricingModel. CURRENCY_BAM
A constant which can be used with the currency property of a PricingModel. CURRENCY_BDT
A constant which can be used with the currency property of a PricingModel. CURRENCY_BGN
A constant which can be used with the currency property of a PricingModel. CURRENCY_BRL
A constant which can be used with the currency property of a PricingModel. CURRENCY_CAD
A constant which can be used with the currency property of a PricingModel. CURRENCY_CHF
A constant which can be used with the currency property of a PricingModel. CURRENCY_CLP
A constant which can be used with the currency property of a PricingModel. CURRENCY_CNY
A constant which can be used with the currency property of a PricingModel. CURRENCY_COP
A constant which can be used with the currency property of a PricingModel. CURRENCY_CRC
A constant which can be used with the currency property of a PricingModel. CURRENCY_CZK
A constant which can be used with the currency property of a PricingModel. CURRENCY_DKK
A constant which can be used with the currency property of a PricingModel. CURRENCY_EGP
A constant which can be used with the currency property of a PricingModel. CURRENCY_EUR
A constant which can be used with the currency property of a PricingModel. CURRENCY_GBP
A constant which can be used with the currency property of a PricingModel. CURRENCY_HKD
A constant which can be used with the currency property of a PricingModel. CURRENCY_HRK
A constant which can be used with the currency property of a PricingModel. CURRENCY_HUF
A constant which can be used with the currency property of a PricingModel. CURRENCY_IDR
A constant which can be used with the currency property of a PricingModel. CURRENCY_ILS
A constant which can be used with the currency property of a PricingModel. CURRENCY_INR
A constant which can be used with the currency property of a PricingModel. CURRENCY_ISK
A constant which can be used with the currency property of a PricingModel. CURRENCY_JMD
A constant which can be used with the currency property of a PricingModel. CURRENCY_JPY
A constant which can be used with the currency property of a PricingModel. CURRENCY_KES
A constant which can be used with the currency property of a PricingModel. CURRENCY_KRW
A constant which can be used with the currency property of a PricingModel. CURRENCY_KWD
A constant which can be used with the currency property of a PricingModel. CURRENCY_KZT
A constant which can be used with the currency property of a PricingModel. CURRENCY_LBP
A constant which can be used with the currency property of a PricingModel. CURRENCY_MOP
A constant which can be used with the currency property of a PricingModel. CURRENCY_MVR
A constant which can be used with the currency property of a PricingModel. CURRENCY_MXN
A constant which can be used with the currency property of a PricingModel. CURRENCY_MYR
A constant which can be used with the currency property of a PricingModel. CURRENCY_NOK
A constant which can be used with the currency property of a PricingModel. CURRENCY_NZD
A constant which can be used with the currency property of a PricingModel. CURRENCY_OMR
A constant which can be used with the currency property of a PricingModel. CURRENCY_PEN
A constant which can be used with the currency property of a PricingModel. CURRENCY_PHP
A constant which can be used with the currency property of a PricingModel. CURRENCY_PKR
A constant which can be used with the currency property of a PricingModel. CURRENCY_PLN
A constant which can be used with the currency property of a PricingModel. CURRENCY_QAR
A constant which can be used with the currency property of a PricingModel. CURRENCY_RON
A constant which can be used with the currency property of a PricingModel. CURRENCY_RSD
A constant which can be used with the currency property of a PricingModel. CURRENCY_SAR
A constant which can be used with the currency property of a PricingModel. CURRENCY_SEK
A constant which can be used with the currency property of a PricingModel. CURRENCY_SGD
A constant which can be used with the currency property of a PricingModel. CURRENCY_THB
A constant which can be used with the currency property of a PricingModel. CURRENCY_TRY
A constant which can be used with the currency property of a PricingModel. CURRENCY_TWD
A constant which can be used with the currency property of a PricingModel. CURRENCY_USD
A constant which can be used with the currency property of a PricingModel. CURRENCY_VND
A constant which can be used with the currency property of a PricingModel. CURRENCY_ZAR
A constant which can be used with the currency property of a PricingModel. PAY_GO_STRATEGY_PER_INSTANCE
A constant which can be used with the pay_go_strategy property of a PricingModel. PAY_GO_STRATEGY_PER_INSTANCE_MONTHLY_INCLUSIVE
A constant which can be used with the pay_go_strategy property of a PricingModel. PAY_GO_STRATEGY_PER_OCPU_LINEAR
A constant which can be used with the pay_go_strategy property of a PricingModel. PAY_GO_STRATEGY_PER_OCPU_MIN_BILLING
A constant which can be used with the pay_go_strategy property of a PricingModel. TYPE_BYOL
A constant which can be used with the type property of a PricingModel. TYPE_FREE
A constant which can be used with the type property of a PricingModel. TYPE_PAYGO
A constant which can be used with the type property of a PricingModel. currency
Gets the currency of this PricingModel. international_market_price
Gets the international_market_price of this PricingModel. pay_go_strategy
Gets the pay_go_strategy of this PricingModel. rate
Gets the rate of this PricingModel. type
[Required] Gets the type of this PricingModel. Methods
__init__
(**kwargs)Initializes a new PricingModel object with values from keyword arguments. -
CURRENCY_AED
= 'AED'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “AED”
-
CURRENCY_ALL
= 'ALL'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “ALL”
-
CURRENCY_ARS
= 'ARS'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “ARS”
-
CURRENCY_AUD
= 'AUD'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “AUD”
-
CURRENCY_BAM
= 'BAM'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “BAM”
-
CURRENCY_BDT
= 'BDT'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “BDT”
-
CURRENCY_BGN
= 'BGN'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “BGN”
-
CURRENCY_BRL
= 'BRL'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “BRL”
-
CURRENCY_CAD
= 'CAD'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “CAD”
-
CURRENCY_CHF
= 'CHF'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “CHF”
-
CURRENCY_CLP
= 'CLP'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “CLP”
-
CURRENCY_CNY
= 'CNY'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “CNY”
-
CURRENCY_COP
= 'COP'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “COP”
-
CURRENCY_CRC
= 'CRC'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “CRC”
-
CURRENCY_CZK
= 'CZK'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “CZK”
-
CURRENCY_DKK
= 'DKK'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “DKK”
-
CURRENCY_EGP
= 'EGP'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “EGP”
-
CURRENCY_EUR
= 'EUR'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “EUR”
-
CURRENCY_GBP
= 'GBP'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “GBP”
-
CURRENCY_HKD
= 'HKD'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “HKD”
-
CURRENCY_HRK
= 'HRK'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “HRK”
-
CURRENCY_HUF
= 'HUF'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “HUF”
-
CURRENCY_IDR
= 'IDR'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “IDR”
-
CURRENCY_ILS
= 'ILS'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “ILS”
-
CURRENCY_INR
= 'INR'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “INR”
-
CURRENCY_ISK
= 'ISK'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “ISK”
-
CURRENCY_JMD
= 'JMD'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “JMD”
-
CURRENCY_JPY
= 'JPY'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “JPY”
-
CURRENCY_KES
= 'KES'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “KES”
-
CURRENCY_KRW
= 'KRW'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “KRW”
-
CURRENCY_KWD
= 'KWD'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “KWD”
-
CURRENCY_KZT
= 'KZT'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “KZT”
-
CURRENCY_LBP
= 'LBP'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “LBP”
-
CURRENCY_MOP
= 'MOP'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “MOP”
-
CURRENCY_MVR
= 'MVR'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “MVR”
-
CURRENCY_MXN
= 'MXN'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “MXN”
-
CURRENCY_MYR
= 'MYR'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “MYR”
-
CURRENCY_NOK
= 'NOK'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “NOK”
-
CURRENCY_NZD
= 'NZD'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “NZD”
-
CURRENCY_OMR
= 'OMR'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “OMR”
-
CURRENCY_PEN
= 'PEN'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “PEN”
-
CURRENCY_PHP
= 'PHP'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “PHP”
-
CURRENCY_PKR
= 'PKR'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “PKR”
-
CURRENCY_PLN
= 'PLN'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “PLN”
-
CURRENCY_QAR
= 'QAR'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “QAR”
-
CURRENCY_RON
= 'RON'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “RON”
-
CURRENCY_RSD
= 'RSD'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “RSD”
-
CURRENCY_SAR
= 'SAR'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “SAR”
-
CURRENCY_SEK
= 'SEK'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “SEK”
-
CURRENCY_SGD
= 'SGD'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “SGD”
-
CURRENCY_THB
= 'THB'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “THB”
-
CURRENCY_TRY
= 'TRY'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “TRY”
-
CURRENCY_TWD
= 'TWD'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “TWD”
-
CURRENCY_USD
= 'USD'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “USD”
-
CURRENCY_VND
= 'VND'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “VND”
-
CURRENCY_ZAR
= 'ZAR'¶ A constant which can be used with the currency property of a PricingModel. This constant has a value of “ZAR”
-
PAY_GO_STRATEGY_PER_INSTANCE
= 'PER_INSTANCE'¶ A constant which can be used with the pay_go_strategy property of a PricingModel. This constant has a value of “PER_INSTANCE”
-
PAY_GO_STRATEGY_PER_INSTANCE_MONTHLY_INCLUSIVE
= 'PER_INSTANCE_MONTHLY_INCLUSIVE'¶ A constant which can be used with the pay_go_strategy property of a PricingModel. This constant has a value of “PER_INSTANCE_MONTHLY_INCLUSIVE”
-
PAY_GO_STRATEGY_PER_OCPU_LINEAR
= 'PER_OCPU_LINEAR'¶ A constant which can be used with the pay_go_strategy property of a PricingModel. This constant has a value of “PER_OCPU_LINEAR”
-
PAY_GO_STRATEGY_PER_OCPU_MIN_BILLING
= 'PER_OCPU_MIN_BILLING'¶ A constant which can be used with the pay_go_strategy property of a PricingModel. This constant has a value of “PER_OCPU_MIN_BILLING”
-
TYPE_BYOL
= 'BYOL'¶ A constant which can be used with the type property of a PricingModel. This constant has a value of “BYOL”
-
TYPE_FREE
= 'FREE'¶ A constant which can be used with the type property of a PricingModel. This constant has a value of “FREE”
-
TYPE_PAYGO
= 'PAYGO'¶ A constant which can be used with the type property of a PricingModel. This constant has a value of “PAYGO”
-
__init__
(**kwargs)¶ Initializes a new PricingModel object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - type (str) – The value to assign to the type property of this PricingModel. Allowed values for this property are: “FREE”, “BYOL”, “PAYGO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- pay_go_strategy (str) – The value to assign to the pay_go_strategy property of this PricingModel. Allowed values for this property are: “PER_OCPU_LINEAR”, “PER_OCPU_MIN_BILLING”, “PER_INSTANCE”, “PER_INSTANCE_MONTHLY_INCLUSIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- currency (str) – The value to assign to the currency property of this PricingModel. Allowed values for this property are: “USD”, “CAD”, “INR”, “GBP”, “BRL”, “JPY”, “OMR”, “EUR”, “CHF”, “MXN”, “CLP”, “ALL”, “ARS”, “AUD”, “BDT”, “BAM”, “BGN”, “CNY”, “COP”, “CRC”, “HRK”, “CZK”, “DKK”, “EGP”, “HKD”, “HUF”, “ISK”, “IDR”, “ILS”, “JMD”, “KZT”, “KES”, “KRW”, “KWD”, “LBP”, “MOP”, “MYR”, “MVR”, “AED”, “NZD”, “NOK”, “PKR”, “PEN”, “PHP”, “PLN”, “QAR”, “RON”, “SAR”, “RSD”, “SGD”, “ZAR”, “SEK”, “TWD”, “THB”, “TRY”, “VND”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- rate (float) – The value to assign to the rate property of this PricingModel.
- international_market_price (oci.marketplace.models.InternationalMarketPrice) – The value to assign to the international_market_price property of this PricingModel.
-
currency
¶ Gets the currency of this PricingModel. The currency of the pricing model.
Allowed values for this property are: “USD”, “CAD”, “INR”, “GBP”, “BRL”, “JPY”, “OMR”, “EUR”, “CHF”, “MXN”, “CLP”, “ALL”, “ARS”, “AUD”, “BDT”, “BAM”, “BGN”, “CNY”, “COP”, “CRC”, “HRK”, “CZK”, “DKK”, “EGP”, “HKD”, “HUF”, “ISK”, “IDR”, “ILS”, “JMD”, “KZT”, “KES”, “KRW”, “KWD”, “LBP”, “MOP”, “MYR”, “MVR”, “AED”, “NZD”, “NOK”, “PKR”, “PEN”, “PHP”, “PLN”, “QAR”, “RON”, “SAR”, “RSD”, “SGD”, “ZAR”, “SEK”, “TWD”, “THB”, “TRY”, “VND”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The currency of this PricingModel. Return type: str
-
international_market_price
¶ Gets the international_market_price of this PricingModel.
Returns: The international_market_price of this PricingModel. Return type: oci.marketplace.models.InternationalMarketPrice
-
pay_go_strategy
¶ Gets the pay_go_strategy of this PricingModel. The type of pricing for a PAYGO model, eg PER_OCPU_LINEAR, PER_OCPU_MIN_BILLING, PER_INSTANCE. Null if type is not PAYGO.
Allowed values for this property are: “PER_OCPU_LINEAR”, “PER_OCPU_MIN_BILLING”, “PER_INSTANCE”, “PER_INSTANCE_MONTHLY_INCLUSIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The pay_go_strategy of this PricingModel. Return type: str
-
rate
¶ Gets the rate of this PricingModel. The pricing rate.
Returns: The rate of this PricingModel. Return type: float
-
type
¶ [Required] Gets the type of this PricingModel. The type of the pricing model.
Allowed values for this property are: “FREE”, “BYOL”, “PAYGO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this PricingModel. Return type: str
-