CurrentMonthlyCost

class oci.cloud_migrations.models.CurrentMonthlyCost(**kwargs)

Bases: object

Current monthly compute and storage costs.

Methods

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

Attributes

asset_count Gets the asset_count of this CurrentMonthlyCost.
compute_amount [Required] Gets the compute_amount of this CurrentMonthlyCost.
currency_code [Required] Gets the currency_code of this CurrentMonthlyCost.
storage_amount Gets the storage_amount of this CurrentMonthlyCost.
__init__(**kwargs)

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

Parameters:
  • compute_amount (float) – The value to assign to the compute_amount property of this CurrentMonthlyCost.
  • storage_amount (float) – The value to assign to the storage_amount property of this CurrentMonthlyCost.
  • currency_code (str) – The value to assign to the currency_code property of this CurrentMonthlyCost.
  • asset_count (int) – The value to assign to the asset_count property of this CurrentMonthlyCost.
asset_count

Gets the asset_count of this CurrentMonthlyCost. Number of assets used in this calculation.

Returns:The asset_count of this CurrentMonthlyCost.
Return type:int
compute_amount

[Required] Gets the compute_amount of this CurrentMonthlyCost. Current monthly compute costs.

Returns:The compute_amount of this CurrentMonthlyCost.
Return type:float
currency_code

[Required] Gets the currency_code of this CurrentMonthlyCost. Currency code as defined by ISO-4217.

Returns:The currency_code of this CurrentMonthlyCost.
Return type:str
storage_amount

Gets the storage_amount of this CurrentMonthlyCost. Current monthly storage costs.

Returns:The storage_amount of this CurrentMonthlyCost.
Return type:float