OceInstanceSummary

class oci.oce.models.OceInstanceSummary(**kwargs)

Bases: object

Summary of the OceInstance.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a OceInstanceSummary. This constant has a value of "ACTIVE"

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a OceInstanceSummary. This constant has a value of "CREATING"

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a OceInstanceSummary. This constant has a value of "DELETED"

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a OceInstanceSummary. This constant has a value of "DELETING"

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a OceInstanceSummary. This constant has a value of "FAILED"

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a OceInstanceSummary. This constant has a value of "UPDATING"

__init__(**kwargs)

Initializes a new OceInstanceSummary 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 OceInstanceSummary.
  • guid (str) -- The value to assign to the guid property of this OceInstanceSummary.
  • description (str) -- The value to assign to the description property of this OceInstanceSummary.
  • compartment_id (str) -- The value to assign to the compartment_id property of this OceInstanceSummary.
  • name (str) -- The value to assign to the name property of this OceInstanceSummary.
  • tenancy_id (str) -- The value to assign to the tenancy_id property of this OceInstanceSummary.
  • idcs_tenancy (str) -- The value to assign to the idcs_tenancy property of this OceInstanceSummary.
  • tenancy_name (str) -- The value to assign to the tenancy_name property of this OceInstanceSummary.
  • object_storage_namespace (str) -- The value to assign to the object_storage_namespace property of this OceInstanceSummary.
  • admin_email (str) -- The value to assign to the admin_email property of this OceInstanceSummary.
  • time_created (datetime) -- The value to assign to the time_created property of this OceInstanceSummary.
  • time_updated (datetime) -- The value to assign to the time_updated property of this OceInstanceSummary.
  • lifecycle_state (str) -- The value to assign to the lifecycle_state property of this OceInstanceSummary. 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'.
  • state_message (str) -- The value to assign to the state_message property of this OceInstanceSummary.
  • service (dict(str, object)) -- The value to assign to the service property of this OceInstanceSummary.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this OceInstanceSummary.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this OceInstanceSummary.
admin_email

[Required] Gets the admin_email of this OceInstanceSummary. Admin Email for Notification

Returns:The admin_email of this OceInstanceSummary.
Return type:str
compartment_id

[Required] Gets the compartment_id of this OceInstanceSummary. Compartment Identifier

Returns:The compartment_id of this OceInstanceSummary.
Return type:str
defined_tags

Gets the defined_tags of this OceInstanceSummary. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace": {"bar-key": "value"}}

Returns:The defined_tags of this OceInstanceSummary.
Return type:dict(str, dict(str, object))
description

Gets the description of this OceInstanceSummary. OceInstance description, can be updated

Returns:The description of this OceInstanceSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this OceInstanceSummary. 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 OceInstanceSummary.
Return type:dict(str, str)
guid

[Required] Gets the guid of this OceInstanceSummary. Unique GUID identifier that is immutable on creation

Returns:The guid of this OceInstanceSummary.
Return type:str
id

[Required] Gets the id of this OceInstanceSummary. Unique identifier that is immutable on creation

Returns:The id of this OceInstanceSummary.
Return type:str
idcs_tenancy

[Required] Gets the idcs_tenancy of this OceInstanceSummary. IDCS Tenancy Identifier

Returns:The idcs_tenancy of this OceInstanceSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this OceInstanceSummary. The current state of the file system.

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 OceInstanceSummary.
Return type:str
name

[Required] Gets the name of this OceInstanceSummary. OceInstance Name

Returns:The name of this OceInstanceSummary.
Return type:str
object_storage_namespace

[Required] Gets the object_storage_namespace of this OceInstanceSummary. Object Storage Namespace of tenancy

Returns:The object_storage_namespace of this OceInstanceSummary.
Return type:str
service

Gets the service of this OceInstanceSummary. SERVICE data. Example: {"service": {"IDCS": "value"}}

Returns:The service of this OceInstanceSummary.
Return type:dict(str, object)
state_message

Gets the state_message of this OceInstanceSummary. An 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 state_message of this OceInstanceSummary.
Return type:str
tenancy_id

[Required] Gets the tenancy_id of this OceInstanceSummary. Tenancy Identifier

Returns:The tenancy_id of this OceInstanceSummary.
Return type:str
tenancy_name

[Required] Gets the tenancy_name of this OceInstanceSummary. Tenancy Name

Returns:The tenancy_name of this OceInstanceSummary.
Return type:str
time_created

Gets the time_created of this OceInstanceSummary. The time the the OceInstance was created. An RFC3339 formatted datetime string

Returns:The time_created of this OceInstanceSummary.
Return type:datetime
time_updated

Gets the time_updated of this OceInstanceSummary. The time the OceInstance was updated. An RFC3339 formatted datetime string

Returns:The time_updated of this OceInstanceSummary.
Return type:datetime