ComputeCostEstimation

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

Bases: object

Cost estimation for compute

Methods:

__init__(**kwargs)

Initializes a new ComputeCostEstimation object with values from keyword arguments.

Attributes:

gpu_count

Gets the gpu_count of this ComputeCostEstimation.

gpu_per_hour

[Required] Gets the gpu_per_hour of this ComputeCostEstimation.

gpu_per_hour_by_subscription

Gets the gpu_per_hour_by_subscription of this ComputeCostEstimation.

memory_amount_gb

Gets the memory_amount_gb of this ComputeCostEstimation.

memory_gb_per_hour

[Required] Gets the memory_gb_per_hour of this ComputeCostEstimation.

memory_gb_per_hour_by_subscription

Gets the memory_gb_per_hour_by_subscription of this ComputeCostEstimation.

ocpu_count

Gets the ocpu_count of this ComputeCostEstimation.

ocpu_per_hour

[Required] Gets the ocpu_per_hour of this ComputeCostEstimation.

ocpu_per_hour_by_subscription

Gets the ocpu_per_hour_by_subscription of this ComputeCostEstimation.

total_per_hour

[Required] Gets the total_per_hour of this ComputeCostEstimation.

total_per_hour_by_subscription

Gets the total_per_hour_by_subscription of this ComputeCostEstimation.

__init__(**kwargs)

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

Parameters
  • ocpu_per_hour (float) – The value to assign to the ocpu_per_hour property of this ComputeCostEstimation.

  • ocpu_per_hour_by_subscription (float) – The value to assign to the ocpu_per_hour_by_subscription property of this ComputeCostEstimation.

  • memory_gb_per_hour (float) – The value to assign to the memory_gb_per_hour property of this ComputeCostEstimation.

  • memory_gb_per_hour_by_subscription (float) – The value to assign to the memory_gb_per_hour_by_subscription property of this ComputeCostEstimation.

  • gpu_per_hour (float) – The value to assign to the gpu_per_hour property of this ComputeCostEstimation.

  • gpu_per_hour_by_subscription (float) – The value to assign to the gpu_per_hour_by_subscription property of this ComputeCostEstimation.

  • total_per_hour (float) – The value to assign to the total_per_hour property of this ComputeCostEstimation.

  • total_per_hour_by_subscription (float) – The value to assign to the total_per_hour_by_subscription property of this ComputeCostEstimation.

  • ocpu_count (float) – The value to assign to the ocpu_count property of this ComputeCostEstimation.

  • memory_amount_gb (float) – The value to assign to the memory_amount_gb property of this ComputeCostEstimation.

  • gpu_count (float) – The value to assign to the gpu_count property of this ComputeCostEstimation.

property gpu_count

Gets the gpu_count of this ComputeCostEstimation. Total number of GPU

Returns

The gpu_count of this ComputeCostEstimation.

Return type

float

property gpu_per_hour

[Required] Gets the gpu_per_hour of this ComputeCostEstimation. GPU per hour

Returns

The gpu_per_hour of this ComputeCostEstimation.

Return type

float

property gpu_per_hour_by_subscription

Gets the gpu_per_hour_by_subscription of this ComputeCostEstimation. GPU per hour by subscription

Returns

The gpu_per_hour_by_subscription of this ComputeCostEstimation.

Return type

float

property memory_amount_gb

Gets the memory_amount_gb of this ComputeCostEstimation. Total usage of memory

Returns

The memory_amount_gb of this ComputeCostEstimation.

Return type

float

property memory_gb_per_hour

[Required] Gets the memory_gb_per_hour of this ComputeCostEstimation. Gigabyte per hour

Returns

The memory_gb_per_hour of this ComputeCostEstimation.

Return type

float

property memory_gb_per_hour_by_subscription

Gets the memory_gb_per_hour_by_subscription of this ComputeCostEstimation. Gigabyte per hour by subscription

Returns

The memory_gb_per_hour_by_subscription of this ComputeCostEstimation.

Return type

float

property ocpu_count

Gets the ocpu_count of this ComputeCostEstimation. Total number of OCPUs

Returns

The ocpu_count of this ComputeCostEstimation.

Return type

float

property ocpu_per_hour

[Required] Gets the ocpu_per_hour of this ComputeCostEstimation. OCPU per hour

Returns

The ocpu_per_hour of this ComputeCostEstimation.

Return type

float

property ocpu_per_hour_by_subscription

Gets the ocpu_per_hour_by_subscription of this ComputeCostEstimation. OCPU per hour by subscription

Returns

The ocpu_per_hour_by_subscription of this ComputeCostEstimation.

Return type

float

property total_per_hour

[Required] Gets the total_per_hour of this ComputeCostEstimation. Total per hour

Returns

The total_per_hour of this ComputeCostEstimation.

Return type

float

property total_per_hour_by_subscription

Gets the total_per_hour_by_subscription of this ComputeCostEstimation. Total usage per hour by subscription

Returns

The total_per_hour_by_subscription of this ComputeCostEstimation.

Return type

float