OperationsInsightsWarehouseSummary

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

Bases: object

Summary of a Operations Insights Warehouse resource.

Attributes:

LIFECYCLE_STATE_ACTIVE

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

LIFECYCLE_STATE_CREATING

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

LIFECYCLE_STATE_DELETED

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

LIFECYCLE_STATE_DELETING

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

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_UPDATING

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

compartment_id

[Required] Gets the compartment_id of this OperationsInsightsWarehouseSummary.

compute_model

Gets the compute_model of this OperationsInsightsWarehouseSummary.

cpu_allocated

[Required] Gets the cpu_allocated of this OperationsInsightsWarehouseSummary.

cpu_used

Gets the cpu_used of this OperationsInsightsWarehouseSummary.

defined_tags

Gets the defined_tags of this OperationsInsightsWarehouseSummary.

display_name

[Required] Gets the display_name of this OperationsInsightsWarehouseSummary.

dynamic_group_id

Gets the dynamic_group_id of this OperationsInsightsWarehouseSummary.

freeform_tags

Gets the freeform_tags of this OperationsInsightsWarehouseSummary.

id

[Required] Gets the id of this OperationsInsightsWarehouseSummary.

lifecycle_details

Gets the lifecycle_details of this OperationsInsightsWarehouseSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this OperationsInsightsWarehouseSummary.

operations_insights_tenancy_id

Gets the operations_insights_tenancy_id of this OperationsInsightsWarehouseSummary.

storage_allocated_in_gbs

Gets the storage_allocated_in_gbs of this OperationsInsightsWarehouseSummary.

storage_used_in_gbs

Gets the storage_used_in_gbs of this OperationsInsightsWarehouseSummary.

system_tags

Gets the system_tags of this OperationsInsightsWarehouseSummary.

time_created

[Required] Gets the time_created of this OperationsInsightsWarehouseSummary.

time_last_wallet_rotated

Gets the time_last_wallet_rotated of this OperationsInsightsWarehouseSummary.

time_updated

[Required] Gets the time_updated of this OperationsInsightsWarehouseSummary.

Methods:

__init__(**kwargs)

Initializes a new OperationsInsightsWarehouseSummary object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

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

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

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

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

  • compute_model (str) – The value to assign to the compute_model property of this OperationsInsightsWarehouseSummary.

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

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

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

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

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

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

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

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

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

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

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

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

property compartment_id

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

Returns

The compartment_id of this OperationsInsightsWarehouseSummary.

Return type

str

property compute_model

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

Returns

The compute_model of this OperationsInsightsWarehouseSummary.

Return type

str

property cpu_allocated

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

Returns

The cpu_allocated of this OperationsInsightsWarehouseSummary.

Return type

float

property cpu_used

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

Returns

The cpu_used of this OperationsInsightsWarehouseSummary.

Return type

float

property defined_tags

Gets the defined_tags of this OperationsInsightsWarehouseSummary. 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 OperationsInsightsWarehouseSummary.

Return type

dict(str, dict(str, object))

property display_name

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

Returns

The display_name of this OperationsInsightsWarehouseSummary.

Return type

str

property dynamic_group_id

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

Returns

The dynamic_group_id of this OperationsInsightsWarehouseSummary.

Return type

str

property freeform_tags

Gets the freeform_tags of this OperationsInsightsWarehouseSummary. 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 OperationsInsightsWarehouseSummary.

Return type

dict(str, str)

property id

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

Returns

The id of this OperationsInsightsWarehouseSummary.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this OperationsInsightsWarehouseSummary. 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 OperationsInsightsWarehouseSummary.

Return type

str

property lifecycle_state

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

Return type

str

property operations_insights_tenancy_id

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

Returns

The operations_insights_tenancy_id of this OperationsInsightsWarehouseSummary.

Return type

str

property storage_allocated_in_gbs

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

Returns

The storage_allocated_in_gbs of this OperationsInsightsWarehouseSummary.

Return type

float

property storage_used_in_gbs

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

Returns

The storage_used_in_gbs of this OperationsInsightsWarehouseSummary.

Return type

float

property system_tags

Gets the system_tags of this OperationsInsightsWarehouseSummary. 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 OperationsInsightsWarehouseSummary.

Return type

dict(str, dict(str, object))

property time_created

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

Returns

The time_created of this OperationsInsightsWarehouseSummary.

Return type

datetime

property time_last_wallet_rotated

Gets the time_last_wallet_rotated of this OperationsInsightsWarehouseSummary. 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 OperationsInsightsWarehouseSummary.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this OperationsInsightsWarehouseSummary. The time at which the resource was last updated. An RFC3339 formatted datetime string

Returns

The time_updated of this OperationsInsightsWarehouseSummary.

Return type

datetime