PricingModel¶
-
class
oci.marketplace.models.PricingModel(**kwargs)¶ Bases:
objectThe model for pricing.
Attributes
CURRENCY_AEDA constant which can be used with the currency property of a PricingModel. CURRENCY_ALLA constant which can be used with the currency property of a PricingModel. CURRENCY_ARSA constant which can be used with the currency property of a PricingModel. CURRENCY_AUDA constant which can be used with the currency property of a PricingModel. CURRENCY_BAMA constant which can be used with the currency property of a PricingModel. CURRENCY_BDTA constant which can be used with the currency property of a PricingModel. CURRENCY_BGNA constant which can be used with the currency property of a PricingModel. CURRENCY_BRLA constant which can be used with the currency property of a PricingModel. CURRENCY_CADA constant which can be used with the currency property of a PricingModel. CURRENCY_CHFA constant which can be used with the currency property of a PricingModel. CURRENCY_CLPA constant which can be used with the currency property of a PricingModel. CURRENCY_CNYA constant which can be used with the currency property of a PricingModel. CURRENCY_COPA constant which can be used with the currency property of a PricingModel. CURRENCY_CRCA constant which can be used with the currency property of a PricingModel. CURRENCY_CZKA constant which can be used with the currency property of a PricingModel. CURRENCY_DKKA constant which can be used with the currency property of a PricingModel. CURRENCY_EGPA constant which can be used with the currency property of a PricingModel. CURRENCY_EURA constant which can be used with the currency property of a PricingModel. CURRENCY_GBPA constant which can be used with the currency property of a PricingModel. CURRENCY_HKDA constant which can be used with the currency property of a PricingModel. CURRENCY_HRKA constant which can be used with the currency property of a PricingModel. CURRENCY_HUFA constant which can be used with the currency property of a PricingModel. CURRENCY_IDRA constant which can be used with the currency property of a PricingModel. CURRENCY_ILSA constant which can be used with the currency property of a PricingModel. CURRENCY_INRA constant which can be used with the currency property of a PricingModel. CURRENCY_ISKA constant which can be used with the currency property of a PricingModel. CURRENCY_JMDA constant which can be used with the currency property of a PricingModel. CURRENCY_JPYA constant which can be used with the currency property of a PricingModel. CURRENCY_KESA constant which can be used with the currency property of a PricingModel. CURRENCY_KRWA constant which can be used with the currency property of a PricingModel. CURRENCY_KWDA constant which can be used with the currency property of a PricingModel. CURRENCY_KZTA constant which can be used with the currency property of a PricingModel. CURRENCY_LBPA constant which can be used with the currency property of a PricingModel. CURRENCY_MOPA constant which can be used with the currency property of a PricingModel. CURRENCY_MVRA constant which can be used with the currency property of a PricingModel. CURRENCY_MXNA constant which can be used with the currency property of a PricingModel. CURRENCY_MYRA constant which can be used with the currency property of a PricingModel. CURRENCY_NOKA constant which can be used with the currency property of a PricingModel. CURRENCY_NZDA constant which can be used with the currency property of a PricingModel. CURRENCY_OMRA constant which can be used with the currency property of a PricingModel. CURRENCY_PENA constant which can be used with the currency property of a PricingModel. CURRENCY_PHPA constant which can be used with the currency property of a PricingModel. CURRENCY_PKRA constant which can be used with the currency property of a PricingModel. CURRENCY_PLNA constant which can be used with the currency property of a PricingModel. CURRENCY_QARA constant which can be used with the currency property of a PricingModel. CURRENCY_RONA constant which can be used with the currency property of a PricingModel. CURRENCY_RSDA constant which can be used with the currency property of a PricingModel. CURRENCY_SARA constant which can be used with the currency property of a PricingModel. CURRENCY_SEKA constant which can be used with the currency property of a PricingModel. CURRENCY_SGDA constant which can be used with the currency property of a PricingModel. CURRENCY_THBA constant which can be used with the currency property of a PricingModel. CURRENCY_TRYA constant which can be used with the currency property of a PricingModel. CURRENCY_TWDA constant which can be used with the currency property of a PricingModel. CURRENCY_USDA constant which can be used with the currency property of a PricingModel. CURRENCY_VNDA constant which can be used with the currency property of a PricingModel. CURRENCY_ZARA constant which can be used with the currency property of a PricingModel. PAY_GO_STRATEGY_PER_INSTANCEA constant which can be used with the pay_go_strategy property of a PricingModel. PAY_GO_STRATEGY_PER_INSTANCE_MONTHLY_INCLUSIVEA constant which can be used with the pay_go_strategy property of a PricingModel. PAY_GO_STRATEGY_PER_OCPU_LINEARA constant which can be used with the pay_go_strategy property of a PricingModel. PAY_GO_STRATEGY_PER_OCPU_MIN_BILLINGA constant which can be used with the pay_go_strategy property of a PricingModel. TYPE_BYOLA constant which can be used with the type property of a PricingModel. TYPE_FREEA constant which can be used with the type property of a PricingModel. TYPE_PAYGOA constant which can be used with the type property of a PricingModel. currencyGets the currency of this PricingModel. international_market_priceGets the international_market_price of this PricingModel. pay_go_strategyGets the pay_go_strategy of this PricingModel. rateGets 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
-