CostEstimation¶
-
class
oci.cloud_migrations.models.
CostEstimation
(**kwargs)¶ Bases:
object
Cost estimation description
Methods
__init__
(**kwargs)Initializes a new CostEstimation object with values from keyword arguments. Attributes
compute
[Required] Gets the compute of this CostEstimation. currency_code
Gets the currency_code of this CostEstimation. os_image
[Required] Gets the os_image of this CostEstimation. storage
[Required] Gets the storage of this CostEstimation. subscription_id
Gets the subscription_id of this CostEstimation. total_estimation_per_month
[Required] Gets the total_estimation_per_month of this CostEstimation. total_estimation_per_month_by_subscription
Gets the total_estimation_per_month_by_subscription of this CostEstimation. -
__init__
(**kwargs)¶ Initializes a new CostEstimation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compute (oci.cloud_migrations.models.ComputeCostEstimation) – The value to assign to the compute property of this CostEstimation.
- storage (oci.cloud_migrations.models.StorageCostEstimation) – The value to assign to the storage property of this CostEstimation.
- os_image (oci.cloud_migrations.models.OsImageEstimation) – The value to assign to the os_image property of this CostEstimation.
- currency_code (str) – The value to assign to the currency_code property of this CostEstimation.
- total_estimation_per_month (float) – The value to assign to the total_estimation_per_month property of this CostEstimation.
- total_estimation_per_month_by_subscription (float) – The value to assign to the total_estimation_per_month_by_subscription property of this CostEstimation.
- subscription_id (str) – The value to assign to the subscription_id property of this CostEstimation.
-
compute
¶ [Required] Gets the compute of this CostEstimation.
Returns: The compute of this CostEstimation. Return type: oci.cloud_migrations.models.ComputeCostEstimation
-
currency_code
¶ Gets the currency_code of this CostEstimation. Currency code in the ISO format.
Returns: The currency_code of this CostEstimation. Return type: str
-
os_image
¶ [Required] Gets the os_image of this CostEstimation.
Returns: The os_image of this CostEstimation. Return type: oci.cloud_migrations.models.OsImageEstimation
-
storage
¶ [Required] Gets the storage of this CostEstimation.
Returns: The storage of this CostEstimation. Return type: oci.cloud_migrations.models.StorageCostEstimation
-
subscription_id
¶ Gets the subscription_id of this CostEstimation. Subscription ID
Returns: The subscription_id of this CostEstimation. Return type: str
-
total_estimation_per_month
¶ [Required] Gets the total_estimation_per_month of this CostEstimation. Total estimation per month
Returns: The total_estimation_per_month of this CostEstimation. Return type: float
-
total_estimation_per_month_by_subscription
¶ Gets the total_estimation_per_month_by_subscription of this CostEstimation. Total estimation per month by subscription.
Returns: The total_estimation_per_month_by_subscription of this CostEstimation. Return type: float
-