ListingMeter

class oci.marketplace_publisher.models.ListingMeter(**kwargs)

Bases: object

A listing meter information attached by marketplace admin.

Methods

__init__(**kwargs) Initializes a new ListingMeter object with values from keyword arguments.

Attributes

extended_metadata [Required] Gets the extended_metadata of this ListingMeter.
name [Required] Gets the name of this ListingMeter.
rate_allocation [Required] Gets the rate_allocation of this ListingMeter.
__init__(**kwargs)

Initializes a new ListingMeter object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this ListingMeter.
  • rate_allocation (float) – The value to assign to the rate_allocation property of this ListingMeter.
  • extended_metadata (dict(str, str)) – The value to assign to the extended_metadata property of this ListingMeter.
extended_metadata

[Required] Gets the extended_metadata of this ListingMeter. Additional metadata key/value pairs for the listing meter.

For example:

{“pausedOnInstanceStop”: “True”,”coreSuffixMeter”: “_VMWARE”, “minimumBillingPeriodInHours”: “755”, “weight”: “1.0” }

Returns:The extended_metadata of this ListingMeter.
Return type:dict(str, str)
name

[Required] Gets the name of this ListingMeter. The meter name, ex - MP_BOBO_AP.

Returns:The name of this ListingMeter.
Return type:str
rate_allocation

[Required] Gets the rate_allocation of this ListingMeter. rate allocation, these are calculated based on rate information at parent part/sku and listing revision.

Returns:The rate_allocation of this ListingMeter.
Return type:float