HostedConfiguration

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

Bases: Configuration

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

Attributes:

ENVIRONMENT_HOSTED

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

ENVIRONMENT_MULTI_TENANCY

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

environment

[Required] Gets the environment of this Configuration.

kms_key

[Required] Gets the kms_key of this HostedConfiguration.

Methods:

__init__(**kwargs)

Initializes a new HostedConfiguration 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 Configuration. This constant has a value of “HOSTED”

ENVIRONMENT_MULTI_TENANCY = 'MULTI_TENANCY'

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

__init__(**kwargs)

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

property environment

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

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

Returns

The environment of this Configuration.

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

Returns

The kms_key of this HostedConfiguration.

Return type

oci.nosql.models.KmsKey