SummarizeOperationsInsightsWarehouseResourceUsageAggregation

class oci.opsi.models.SummarizeOperationsInsightsWarehouseResourceUsageAggregation(**kwargs)

Bases: object

Details of resource usage by an Operations Insights Warehouse resource.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

cpu_used

Gets the cpu_used of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

id

[Required] Gets the id of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

lifecycle_state

[Required] Gets the lifecycle_state of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

storage_used_in_gbs

Gets the storage_used_in_gbs of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

Methods:

__init__(**kwargs)

Initializes a new SummarizeOperationsInsightsWarehouseResourceUsageAggregation object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a SummarizeOperationsInsightsWarehouseResourceUsageAggregation. This constant has a value of “UPDATING”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

  • cpu_used (float) – The value to assign to the cpu_used property of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

  • storage_used_in_gbs (float) – The value to assign to the storage_used_in_gbs property of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property cpu_used

Gets the cpu_used of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation. Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.

Returns

The cpu_used of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

Return type

float

property id

[Required] Gets the id of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation. OPSI Warehouse OCID

Returns

The id of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation. Possible lifecycle states

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

Return type

str

property storage_used_in_gbs

Gets the storage_used_in_gbs of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation. Storage by OPSI Warehouse ADW in GB.

Returns

The storage_used_in_gbs of this SummarizeOperationsInsightsWarehouseResourceUsageAggregation.

Return type

float