OceInstance

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

Bases: object

Details of OceInstance.

Attributes:

INSTANCE_ACCESS_TYPE_PRIVATE

A constant which can be used with the instance_access_type property of a OceInstance.

INSTANCE_ACCESS_TYPE_PUBLIC

A constant which can be used with the instance_access_type property of a OceInstance.

INSTANCE_LICENSE_TYPE_BYOL

A constant which can be used with the instance_license_type property of a OceInstance.

INSTANCE_LICENSE_TYPE_NEW

A constant which can be used with the instance_license_type property of a OceInstance.

INSTANCE_LICENSE_TYPE_PREMIUM

A constant which can be used with the instance_license_type property of a OceInstance.

INSTANCE_LICENSE_TYPE_STARTER

A constant which can be used with the instance_license_type property of a OceInstance.

INSTANCE_USAGE_TYPE_NONPRIMARY

A constant which can be used with the instance_usage_type property of a OceInstance.

INSTANCE_USAGE_TYPE_PRIMARY

A constant which can be used with the instance_usage_type property of a OceInstance.

LIFECYCLE_DETAILS_DOWN

A constant which can be used with the lifecycle_details property of a OceInstance.

LIFECYCLE_DETAILS_FAILOVER

A constant which can be used with the lifecycle_details property of a OceInstance.

LIFECYCLE_DETAILS_PRIMARY

A constant which can be used with the lifecycle_details property of a OceInstance.

LIFECYCLE_DETAILS_STANDBY

A constant which can be used with the lifecycle_details property of a OceInstance.

LIFECYCLE_STATE_ACTIVE

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

LIFECYCLE_STATE_CREATING

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

LIFECYCLE_STATE_DELETED

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

LIFECYCLE_STATE_DELETING

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

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_UPDATING

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

UPGRADE_SCHEDULE_DELAYED_UPGRADE

A constant which can be used with the upgrade_schedule property of a OceInstance.

UPGRADE_SCHEDULE_UPGRADE_IMMEDIATELY

A constant which can be used with the upgrade_schedule property of a OceInstance.

add_on_features

Gets the add_on_features of this OceInstance.

admin_email

[Required] Gets the admin_email of this OceInstance.

compartment_id

[Required] Gets the compartment_id of this OceInstance.

defined_tags

Gets the defined_tags of this OceInstance.

description

Gets the description of this OceInstance.

dr_region

Gets the dr_region of this OceInstance.

freeform_tags

Gets the freeform_tags of this OceInstance.

guid

[Required] Gets the guid of this OceInstance.

id

[Required] Gets the id of this OceInstance.

idcs_tenancy

[Required] Gets the idcs_tenancy of this OceInstance.

identity_stripe

Gets the identity_stripe of this OceInstance.

instance_access_type

Gets the instance_access_type of this OceInstance.

instance_license_type

Gets the instance_license_type of this OceInstance.

instance_usage_type

Gets the instance_usage_type of this OceInstance.

lifecycle_details

Gets the lifecycle_details of this OceInstance.

lifecycle_state

Gets the lifecycle_state of this OceInstance.

name

[Required] Gets the name of this OceInstance.

object_storage_namespace

[Required] Gets the object_storage_namespace of this OceInstance.

service

Gets the service of this OceInstance.

state_message

Gets the state_message of this OceInstance.

system_tags

Gets the system_tags of this OceInstance.

tenancy_id

[Required] Gets the tenancy_id of this OceInstance.

tenancy_name

[Required] Gets the tenancy_name of this OceInstance.

time_created

Gets the time_created of this OceInstance.

time_updated

Gets the time_updated of this OceInstance.

upgrade_schedule

Gets the upgrade_schedule of this OceInstance.

waf_primary_domain

Gets the waf_primary_domain of this OceInstance.

Methods:

__init__(**kwargs)

Initializes a new OceInstance object with values from keyword arguments.

INSTANCE_ACCESS_TYPE_PRIVATE = 'PRIVATE'

A constant which can be used with the instance_access_type property of a OceInstance. This constant has a value of “PRIVATE”

INSTANCE_ACCESS_TYPE_PUBLIC = 'PUBLIC'

A constant which can be used with the instance_access_type property of a OceInstance. This constant has a value of “PUBLIC”

INSTANCE_LICENSE_TYPE_BYOL = 'BYOL'

A constant which can be used with the instance_license_type property of a OceInstance. This constant has a value of “BYOL”

INSTANCE_LICENSE_TYPE_NEW = 'NEW'

A constant which can be used with the instance_license_type property of a OceInstance. This constant has a value of “NEW”

INSTANCE_LICENSE_TYPE_PREMIUM = 'PREMIUM'

A constant which can be used with the instance_license_type property of a OceInstance. This constant has a value of “PREMIUM”

INSTANCE_LICENSE_TYPE_STARTER = 'STARTER'

A constant which can be used with the instance_license_type property of a OceInstance. This constant has a value of “STARTER”

INSTANCE_USAGE_TYPE_NONPRIMARY = 'NONPRIMARY'

A constant which can be used with the instance_usage_type property of a OceInstance. This constant has a value of “NONPRIMARY”

INSTANCE_USAGE_TYPE_PRIMARY = 'PRIMARY'

A constant which can be used with the instance_usage_type property of a OceInstance. This constant has a value of “PRIMARY”

LIFECYCLE_DETAILS_DOWN = 'DOWN'

A constant which can be used with the lifecycle_details property of a OceInstance. This constant has a value of “DOWN”

LIFECYCLE_DETAILS_FAILOVER = 'FAILOVER'

A constant which can be used with the lifecycle_details property of a OceInstance. This constant has a value of “FAILOVER”

LIFECYCLE_DETAILS_PRIMARY = 'PRIMARY'

A constant which can be used with the lifecycle_details property of a OceInstance. This constant has a value of “PRIMARY”

LIFECYCLE_DETAILS_STANDBY = 'STANDBY'

A constant which can be used with the lifecycle_details property of a OceInstance. This constant has a value of “STANDBY”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

UPGRADE_SCHEDULE_DELAYED_UPGRADE = 'DELAYED_UPGRADE'

A constant which can be used with the upgrade_schedule property of a OceInstance. This constant has a value of “DELAYED_UPGRADE”

UPGRADE_SCHEDULE_UPGRADE_IMMEDIATELY = 'UPGRADE_IMMEDIATELY'

A constant which can be used with the upgrade_schedule property of a OceInstance. This constant has a value of “UPGRADE_IMMEDIATELY”

__init__(**kwargs)

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

  • guid (str) – The value to assign to the guid property of this OceInstance.

  • description (str) – The value to assign to the description property of this OceInstance.

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

  • name (str) – The value to assign to the name property of this OceInstance.

  • tenancy_id (str) – The value to assign to the tenancy_id property of this OceInstance.

  • idcs_tenancy (str) – The value to assign to the idcs_tenancy property of this OceInstance.

  • tenancy_name (str) – The value to assign to the tenancy_name property of this OceInstance.

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

  • identity_stripe (oci.oce.models.IdentityStripeDetails) – The value to assign to the identity_stripe property of this OceInstance.

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

  • add_on_features (list[str]) – The value to assign to the add_on_features property of this OceInstance.

  • object_storage_namespace (str) – The value to assign to the object_storage_namespace property of this OceInstance.

  • admin_email (str) – The value to assign to the admin_email property of this OceInstance.

  • waf_primary_domain (str) – The value to assign to the waf_primary_domain property of this OceInstance.

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

  • instance_license_type (str) – The value to assign to the instance_license_type property of this OceInstance. Allowed values for this property are: “NEW”, “BYOL”, “PREMIUM”, “STARTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

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

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OceInstance. 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 OceInstance. Allowed values for this property are: “STANDBY”, “FAILOVER”, “DOWN”, “PRIMARY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • dr_region (str) – The value to assign to the dr_region property of this OceInstance.

  • state_message (str) – The value to assign to the state_message property of this OceInstance.

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

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

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

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

property add_on_features

Gets the add_on_features of this OceInstance. a list of add-on features for the ocm instance

Returns

The add_on_features of this OceInstance.

Return type

list[str]

property admin_email

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

Returns

The admin_email of this OceInstance.

Return type

str

property compartment_id

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

Returns

The compartment_id of this OceInstance.

Return type

str

property defined_tags

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

Returns

The defined_tags of this OceInstance.

Return type

dict(str, dict(str, object))

property description

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

Returns

The description of this OceInstance.

Return type

str

property dr_region

Gets the dr_region of this OceInstance. disaster recovery paired ragion name

Returns

The dr_region of this OceInstance.

Return type

str

property freeform_tags

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

Return type

dict(str, str)

property guid

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

Returns

The guid of this OceInstance.

Return type

str

property id

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

Returns

The id of this OceInstance.

Return type

str

property idcs_tenancy

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

Returns

The idcs_tenancy of this OceInstance.

Return type

str

property identity_stripe

Gets the identity_stripe of this OceInstance.

Returns

The identity_stripe of this OceInstance.

Return type

oci.oce.models.IdentityStripeDetails

property instance_access_type

Gets the instance_access_type of this OceInstance. Flag indicating whether the instance access is private or public

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

Returns

The instance_access_type of this OceInstance.

Return type

str

property instance_license_type

Gets the instance_license_type of this OceInstance. Flag indicating whether the instance license is new cloud or bring your own license

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

Returns

The instance_license_type of this OceInstance.

Return type

str

property instance_usage_type

Gets the instance_usage_type of this OceInstance. Instance type based on its usage

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

Returns

The instance_usage_type of this OceInstance.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this OceInstance. Details of the current state of the instance lifecycle

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

Returns

The lifecycle_details of this OceInstance.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this OceInstance. The current state of the instance lifecycle.

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 OceInstance.

Return type

str

property name

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

Returns

The name of this OceInstance.

Return type

str

property object_storage_namespace

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

Returns

The object_storage_namespace of this OceInstance.

Return type

str

property service

Gets the service of this OceInstance. SERVICE data. Example: {“service”: {“IDCS”: “value”}}

Returns

The service of this OceInstance.

Return type

dict(str, object)

property state_message

Gets the state_message of this OceInstance. 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 OceInstance.

Return type

str

property system_tags

Gets the system_tags of this OceInstance. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this OceInstance.

Return type

dict(str, dict(str, object))

property tenancy_id

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

Returns

The tenancy_id of this OceInstance.

Return type

str

property tenancy_name

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

Returns

The tenancy_name of this OceInstance.

Return type

str

property time_created

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

Returns

The time_created of this OceInstance.

Return type

datetime

property time_updated

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

Returns

The time_updated of this OceInstance.

Return type

datetime

property upgrade_schedule

Gets the upgrade_schedule of this OceInstance. Upgrade schedule type representing service to be upgraded immediately whenever latest version is released or delay upgrade of the service to previous released version

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

Returns

The upgrade_schedule of this OceInstance.

Return type

str

property waf_primary_domain

Gets the waf_primary_domain of this OceInstance. Web Application Firewall(WAF) primary domain

Returns

The waf_primary_domain of this OceInstance.

Return type

str