OperationsInsightsWarehouse

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

Bases: object

OPSI warehouse resource.

Attributes:

COMPUTE_MODEL_ECPU

A constant which can be used with the compute_model property of a OperationsInsightsWarehouse.

COMPUTE_MODEL_OCPU

A constant which can be used with the compute_model property of a OperationsInsightsWarehouse.

LIFECYCLE_STATE_ACTIVE

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

LIFECYCLE_STATE_CREATING

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

LIFECYCLE_STATE_DELETED

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

LIFECYCLE_STATE_DELETING

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

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_UPDATING

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

compartment_id

[Required] Gets the compartment_id of this OperationsInsightsWarehouse.

compute_model

Gets the compute_model of this OperationsInsightsWarehouse.

cpu_allocated

[Required] Gets the cpu_allocated of this OperationsInsightsWarehouse.

cpu_used

Gets the cpu_used of this OperationsInsightsWarehouse.

defined_tags

Gets the defined_tags of this OperationsInsightsWarehouse.

display_name

[Required] Gets the display_name of this OperationsInsightsWarehouse.

dynamic_group_id

Gets the dynamic_group_id of this OperationsInsightsWarehouse.

freeform_tags

Gets the freeform_tags of this OperationsInsightsWarehouse.

id

[Required] Gets the id of this OperationsInsightsWarehouse.

lifecycle_details

Gets the lifecycle_details of this OperationsInsightsWarehouse.

lifecycle_state

[Required] Gets the lifecycle_state of this OperationsInsightsWarehouse.

operations_insights_tenancy_id

Gets the operations_insights_tenancy_id of this OperationsInsightsWarehouse.

storage_allocated_in_gbs

Gets the storage_allocated_in_gbs of this OperationsInsightsWarehouse.

storage_used_in_gbs

Gets the storage_used_in_gbs of this OperationsInsightsWarehouse.

system_tags

Gets the system_tags of this OperationsInsightsWarehouse.

time_created

[Required] Gets the time_created of this OperationsInsightsWarehouse.

time_last_wallet_rotated

Gets the time_last_wallet_rotated of this OperationsInsightsWarehouse.

time_updated

Gets the time_updated of this OperationsInsightsWarehouse.

Methods:

__init__(**kwargs)

Initializes a new OperationsInsightsWarehouse object with values from keyword arguments.

COMPUTE_MODEL_ECPU = 'ECPU'

A constant which can be used with the compute_model property of a OperationsInsightsWarehouse. This constant has a value of “ECPU”

COMPUTE_MODEL_OCPU = 'OCPU'

A constant which can be used with the compute_model property of a OperationsInsightsWarehouse. This constant has a value of “OCPU”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

Initializes a new OperationsInsightsWarehouse 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 OperationsInsightsWarehouse.

  • compartment_id (str) – The value to assign to the compartment_id property of this OperationsInsightsWarehouse.

  • display_name (str) – The value to assign to the display_name property of this OperationsInsightsWarehouse.

  • cpu_allocated (float) – The value to assign to the cpu_allocated property of this OperationsInsightsWarehouse.

  • compute_model (str) – The value to assign to the compute_model property of this OperationsInsightsWarehouse. Allowed values for this property are: “OCPU”, “ECPU”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

  • storage_allocated_in_gbs (float) – The value to assign to the storage_allocated_in_gbs property of this OperationsInsightsWarehouse.

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

  • dynamic_group_id (str) – The value to assign to the dynamic_group_id property of this OperationsInsightsWarehouse.

  • operations_insights_tenancy_id (str) – The value to assign to the operations_insights_tenancy_id property of this OperationsInsightsWarehouse.

  • time_last_wallet_rotated (datetime) – The value to assign to the time_last_wallet_rotated property of this OperationsInsightsWarehouse.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OperationsInsightsWarehouse.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OperationsInsightsWarehouse.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this OperationsInsightsWarehouse.

  • time_created (datetime) – The value to assign to the time_created property of this OperationsInsightsWarehouse.

  • time_updated (datetime) – The value to assign to the time_updated property of this OperationsInsightsWarehouse.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OperationsInsightsWarehouse. 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’.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this OperationsInsightsWarehouse.

property compartment_id

[Required] Gets the compartment_id of this OperationsInsightsWarehouse. The OCID of the compartment.

Returns

The compartment_id of this OperationsInsightsWarehouse.

Return type

str

property compute_model

Gets the compute_model of this OperationsInsightsWarehouse. The compute model for the OPSI warehouse ADW (OCPU or ECPU)

Allowed values for this property are: “OCPU”, “ECPU”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The compute_model of this OperationsInsightsWarehouse.

Return type

str

property cpu_allocated

[Required] Gets the cpu_allocated of this OperationsInsightsWarehouse. Number of CPUs allocated to OPSI Warehouse ADW.

Returns

The cpu_allocated of this OperationsInsightsWarehouse.

Return type

float

property cpu_used

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

Returns

The cpu_used of this OperationsInsightsWarehouse.

Return type

float

property defined_tags

Gets the defined_tags of this OperationsInsightsWarehouse. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this OperationsInsightsWarehouse.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this OperationsInsightsWarehouse. User-friedly name of Ops Insights Warehouse that does not have to be unique.

Returns

The display_name of this OperationsInsightsWarehouse.

Return type

str

property dynamic_group_id

Gets the dynamic_group_id of this OperationsInsightsWarehouse. OCID of the dynamic group created for the warehouse

Returns

The dynamic_group_id of this OperationsInsightsWarehouse.

Return type

str

property freeform_tags

Gets the freeform_tags of this OperationsInsightsWarehouse. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this OperationsInsightsWarehouse.

Return type

dict(str, str)

property id

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

Returns

The id of this OperationsInsightsWarehouse.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this OperationsInsightsWarehouse. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Returns

The lifecycle_details of this OperationsInsightsWarehouse.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this OperationsInsightsWarehouse. 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 OperationsInsightsWarehouse.

Return type

str

property operations_insights_tenancy_id

Gets the operations_insights_tenancy_id of this OperationsInsightsWarehouse. Tenancy Identifier of Ops Insights service

Returns

The operations_insights_tenancy_id of this OperationsInsightsWarehouse.

Return type

str

property storage_allocated_in_gbs

Gets the storage_allocated_in_gbs of this OperationsInsightsWarehouse. Storage allocated to OPSI Warehouse ADW.

Returns

The storage_allocated_in_gbs of this OperationsInsightsWarehouse.

Return type

float

property storage_used_in_gbs

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

Returns

The storage_used_in_gbs of this OperationsInsightsWarehouse.

Return type

float

property system_tags

Gets the system_tags of this OperationsInsightsWarehouse. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this OperationsInsightsWarehouse.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this OperationsInsightsWarehouse. The time at which the resource was first created. An RFC3339 formatted datetime string

Returns

The time_created of this OperationsInsightsWarehouse.

Return type

datetime

property time_last_wallet_rotated

Gets the time_last_wallet_rotated of this OperationsInsightsWarehouse. The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string

Returns

The time_last_wallet_rotated of this OperationsInsightsWarehouse.

Return type

datetime

property time_updated

Gets the time_updated of this OperationsInsightsWarehouse. The time at which the resource was last updated. An RFC3339 formatted datetime string

Returns

The time_updated of this OperationsInsightsWarehouse.

Return type

datetime