CreateOceInstanceDetails

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

Bases: object

The information about new OceInstance.

Attributes

INSTANCE_ACCESS_TYPE_PRIVATE A constant which can be used with the instance_access_type property of a CreateOceInstanceDetails.
INSTANCE_ACCESS_TYPE_PUBLIC A constant which can be used with the instance_access_type property of a CreateOceInstanceDetails.
INSTANCE_LICENSE_TYPE_BYOL A constant which can be used with the instance_license_type property of a CreateOceInstanceDetails.
INSTANCE_LICENSE_TYPE_NEW A constant which can be used with the instance_license_type property of a CreateOceInstanceDetails.
INSTANCE_LICENSE_TYPE_PREMIUM A constant which can be used with the instance_license_type property of a CreateOceInstanceDetails.
INSTANCE_LICENSE_TYPE_STARTER A constant which can be used with the instance_license_type property of a CreateOceInstanceDetails.
INSTANCE_USAGE_TYPE_NONPRIMARY A constant which can be used with the instance_usage_type property of a CreateOceInstanceDetails.
INSTANCE_USAGE_TYPE_PRIMARY A constant which can be used with the instance_usage_type property of a CreateOceInstanceDetails.
add_on_features Gets the add_on_features of this CreateOceInstanceDetails.
admin_email [Required] Gets the admin_email of this CreateOceInstanceDetails.
compartment_id [Required] Gets the compartment_id of this CreateOceInstanceDetails.
defined_tags Gets the defined_tags of this CreateOceInstanceDetails.
description Gets the description of this CreateOceInstanceDetails.
dr_region Gets the dr_region of this CreateOceInstanceDetails.
freeform_tags Gets the freeform_tags of this CreateOceInstanceDetails.
idcs_access_token [Required] Gets the idcs_access_token of this CreateOceInstanceDetails.
identity_stripe Gets the identity_stripe of this CreateOceInstanceDetails.
instance_access_type Gets the instance_access_type of this CreateOceInstanceDetails.
instance_license_type Gets the instance_license_type of this CreateOceInstanceDetails.
instance_usage_type Gets the instance_usage_type of this CreateOceInstanceDetails.
name [Required] Gets the name of this CreateOceInstanceDetails.
object_storage_namespace [Required] Gets the object_storage_namespace of this CreateOceInstanceDetails.
tenancy_id [Required] Gets the tenancy_id of this CreateOceInstanceDetails.
tenancy_name [Required] Gets the tenancy_name of this CreateOceInstanceDetails.
upgrade_schedule Gets the upgrade_schedule of this CreateOceInstanceDetails.
waf_primary_domain Gets the waf_primary_domain of this CreateOceInstanceDetails.

Methods

__init__(**kwargs) Initializes a new CreateOceInstanceDetails 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 CreateOceInstanceDetails. 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 CreateOceInstanceDetails. 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 CreateOceInstanceDetails. 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 CreateOceInstanceDetails. 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 CreateOceInstanceDetails. 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 CreateOceInstanceDetails. 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 CreateOceInstanceDetails. 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 CreateOceInstanceDetails. This constant has a value of “PRIMARY”

__init__(**kwargs)

Initializes a new CreateOceInstanceDetails 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 CreateOceInstanceDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateOceInstanceDetails.
  • name (str) – The value to assign to the name property of this CreateOceInstanceDetails.
  • tenancy_id (str) – The value to assign to the tenancy_id property of this CreateOceInstanceDetails.
  • idcs_access_token (str) – The value to assign to the idcs_access_token property of this CreateOceInstanceDetails.
  • identity_stripe (oci.oce.models.IdentityStripeDetails) – The value to assign to the identity_stripe property of this CreateOceInstanceDetails.
  • tenancy_name (str) – The value to assign to the tenancy_name property of this CreateOceInstanceDetails.
  • instance_usage_type (str) – The value to assign to the instance_usage_type property of this CreateOceInstanceDetails. 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 CreateOceInstanceDetails.
  • object_storage_namespace (str) – The value to assign to the object_storage_namespace property of this CreateOceInstanceDetails.
  • admin_email (str) – The value to assign to the admin_email property of this CreateOceInstanceDetails.
  • upgrade_schedule (str) – The value to assign to the upgrade_schedule property of this CreateOceInstanceDetails.
  • waf_primary_domain (str) – The value to assign to the waf_primary_domain property of this CreateOceInstanceDetails.
  • instance_access_type (str) – The value to assign to the instance_access_type property of this CreateOceInstanceDetails. Allowed values for this property are: “PUBLIC”, “PRIVATE”
  • instance_license_type (str) – The value to assign to the instance_license_type property of this CreateOceInstanceDetails. Allowed values for this property are: “NEW”, “BYOL”, “PREMIUM”, “STARTER”
  • dr_region (str) – The value to assign to the dr_region property of this CreateOceInstanceDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOceInstanceDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOceInstanceDetails.
add_on_features

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

Returns:The add_on_features of this CreateOceInstanceDetails.
Return type:list[str]
admin_email

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

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

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

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

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

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

Gets the description of this CreateOceInstanceDetails. OceInstance description

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

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

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

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

[Required] Gets the idcs_access_token of this CreateOceInstanceDetails. Identity Cloud Service access token identifying a stripe and service administrator user

Returns:The idcs_access_token of this CreateOceInstanceDetails.
Return type:str
identity_stripe

Gets the identity_stripe of this CreateOceInstanceDetails.

Returns:The identity_stripe of this CreateOceInstanceDetails.
Return type:oci.oce.models.IdentityStripeDetails
instance_access_type

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

Allowed values for this property are: “PUBLIC”, “PRIVATE”

Returns:The instance_access_type of this CreateOceInstanceDetails.
Return type:str
instance_license_type

Gets the instance_license_type of this CreateOceInstanceDetails. 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 CreateOceInstanceDetails.
Return type:str
instance_usage_type

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

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

Returns:The instance_usage_type of this CreateOceInstanceDetails.
Return type:str
name

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

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

[Required] Gets the object_storage_namespace of this CreateOceInstanceDetails. Object Storage Namespace of Tenancy

Returns:The object_storage_namespace of this CreateOceInstanceDetails.
Return type:str
tenancy_id

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

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

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

Returns:The tenancy_name of this CreateOceInstanceDetails.
Return type:str
upgrade_schedule

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

Returns:The upgrade_schedule of this CreateOceInstanceDetails.
Return type:str
waf_primary_domain

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

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