UpdateHostedConfigurationDetails

class oci.nosql.models.UpdateHostedConfigurationDetails(**kwargs)

Bases: UpdateConfigurationDetails

The service-level configuration for a hosted environment. Includes kmsKey for setting the service’s encryption key state.

Attributes:

ENVIRONMENT_HOSTED

A constant which can be used with the environment property of a UpdateConfigurationDetails.

ENVIRONMENT_MULTI_TENANCY

A constant which can be used with the environment property of a UpdateConfigurationDetails.

environment

[Required] Gets the environment of this UpdateConfigurationDetails.

kms_key

[Required] Gets the kms_key of this UpdateHostedConfigurationDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateHostedConfigurationDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

ENVIRONMENT_HOSTED = 'HOSTED'

A constant which can be used with the environment property of a UpdateConfigurationDetails. This constant has a value of “HOSTED”

ENVIRONMENT_MULTI_TENANCY = 'MULTI_TENANCY'

A constant which can be used with the environment property of a UpdateConfigurationDetails. This constant has a value of “MULTI_TENANCY”

__init__(**kwargs)

Initializes a new UpdateHostedConfigurationDetails object with values from keyword arguments. The default value of the environment attribute of this class is HOSTED and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • environment (str) – The value to assign to the environment property of this UpdateHostedConfigurationDetails. Allowed values for this property are: “MULTI_TENANCY”, “HOSTED”

  • kms_key (oci.nosql.models.KmsKey) – The value to assign to the kms_key property of this UpdateHostedConfigurationDetails.

property environment

[Required] Gets the environment of this UpdateConfigurationDetails. The service environment type.

Allowed values for this property are: “MULTI_TENANCY”, “HOSTED”

Returns

The environment of this UpdateConfigurationDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property kms_key

[Required] Gets the kms_key of this UpdateHostedConfigurationDetails.

Returns

The kms_key of this UpdateHostedConfigurationDetails.

Return type

oci.nosql.models.KmsKey