UpdateOceInstanceDetails

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

Bases: object

The information to be updated.

Attributes

INSTANCE_LICENSE_TYPE_BYOL A constant which can be used with the instance_license_type property of a UpdateOceInstanceDetails.
INSTANCE_LICENSE_TYPE_NEW A constant which can be used with the instance_license_type property of a UpdateOceInstanceDetails.
INSTANCE_LICENSE_TYPE_PREMIUM A constant which can be used with the instance_license_type property of a UpdateOceInstanceDetails.
INSTANCE_LICENSE_TYPE_STARTER A constant which can be used with the instance_license_type property of a UpdateOceInstanceDetails.
INSTANCE_USAGE_TYPE_NONPRIMARY A constant which can be used with the instance_usage_type property of a UpdateOceInstanceDetails.
INSTANCE_USAGE_TYPE_PRIMARY A constant which can be used with the instance_usage_type property of a UpdateOceInstanceDetails.
LIFECYCLE_DETAILS_DOWN A constant which can be used with the lifecycle_details property of a UpdateOceInstanceDetails.
LIFECYCLE_DETAILS_FAILOVER A constant which can be used with the lifecycle_details property of a UpdateOceInstanceDetails.
LIFECYCLE_DETAILS_PRIMARY A constant which can be used with the lifecycle_details property of a UpdateOceInstanceDetails.
LIFECYCLE_DETAILS_STANDBY A constant which can be used with the lifecycle_details property of a UpdateOceInstanceDetails.
add_on_features Gets the add_on_features of this UpdateOceInstanceDetails.
defined_tags Gets the defined_tags of this UpdateOceInstanceDetails.
description Gets the description of this UpdateOceInstanceDetails.
dr_region Gets the dr_region of this UpdateOceInstanceDetails.
freeform_tags Gets the freeform_tags of this UpdateOceInstanceDetails.
instance_license_type Gets the instance_license_type of this UpdateOceInstanceDetails.
instance_usage_type Gets the instance_usage_type of this UpdateOceInstanceDetails.
lifecycle_details Gets the lifecycle_details of this UpdateOceInstanceDetails.
waf_primary_domain Gets the waf_primary_domain of this UpdateOceInstanceDetails.

Methods

__init__(**kwargs) Initializes a new UpdateOceInstanceDetails object with values from keyword arguments.
INSTANCE_LICENSE_TYPE_BYOL = 'BYOL'

A constant which can be used with the instance_license_type property of a UpdateOceInstanceDetails. 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 UpdateOceInstanceDetails. 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 UpdateOceInstanceDetails. 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 UpdateOceInstanceDetails. 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 UpdateOceInstanceDetails. 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 UpdateOceInstanceDetails. This constant has a value of “PRIMARY”

LIFECYCLE_DETAILS_DOWN = 'DOWN'

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

LIFECYCLE_DETAILS_FAILOVER = 'FAILOVER'

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

LIFECYCLE_DETAILS_PRIMARY = 'PRIMARY'

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

LIFECYCLE_DETAILS_STANDBY = 'STANDBY'

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

__init__(**kwargs)

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

Parameters:
  • description (str) – The value to assign to the description property of this UpdateOceInstanceDetails.
  • waf_primary_domain (str) – The value to assign to the waf_primary_domain property of this UpdateOceInstanceDetails.
  • instance_license_type (str) – The value to assign to the instance_license_type property of this UpdateOceInstanceDetails. Allowed values for this property are: “NEW”, “BYOL”, “PREMIUM”, “STARTER”
  • instance_usage_type (str) – The value to assign to the instance_usage_type property of this UpdateOceInstanceDetails. Allowed values for this property are: “PRIMARY”, “NONPRIMARY”
  • add_on_features (list[str]) – The value to assign to the add_on_features property of this UpdateOceInstanceDetails.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this UpdateOceInstanceDetails. Allowed values for this property are: “STANDBY”, “FAILOVER”, “DOWN”, “PRIMARY”
  • dr_region (str) – The value to assign to the dr_region property of this UpdateOceInstanceDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateOceInstanceDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateOceInstanceDetails.
add_on_features

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

Returns:The add_on_features of this UpdateOceInstanceDetails.
Return type:list[str]
defined_tags

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

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

Gets the description of this UpdateOceInstanceDetails. OceInstance description

Returns:The description of this UpdateOceInstanceDetails.
Return type:str
dr_region

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

Returns:The dr_region of this UpdateOceInstanceDetails.
Return type:str
freeform_tags

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

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

Allowed values for this property are: “NEW”, “BYOL”, “PREMIUM”, “STARTER”

Returns:The instance_license_type of this UpdateOceInstanceDetails.
Return type:str
instance_usage_type

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

Allowed values for this property are: “PRIMARY”, “NONPRIMARY”

Returns:The instance_usage_type of this UpdateOceInstanceDetails.
Return type:str
lifecycle_details

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

Allowed values for this property are: “STANDBY”, “FAILOVER”, “DOWN”, “PRIMARY”

Returns:The lifecycle_details of this UpdateOceInstanceDetails.
Return type:str
waf_primary_domain

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

Returns:The waf_primary_domain of this UpdateOceInstanceDetails.
Return type:str