HostedConfiguration¶
-
class
oci.nosql.models.
HostedConfiguration
(**kwargs)¶ Bases:
oci.nosql.models.configuration.Configuration
The service-level configuration for a hosted environment. Includes kmsKey for retrieving the service’s encryption key state.
Attributes
ENVIRONMENT_HOSTED
str(object=’’) -> str ENVIRONMENT_MULTI_TENANCY
str(object=’’) -> str 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'¶
-
ENVIRONMENT_MULTI_TENANCY
= 'MULTI_TENANCY'¶
-
__init__
(**kwargs)¶ Initializes a new HostedConfiguration object with values from keyword arguments. The default value of the
environment
attribute of this class isHOSTED
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.
-
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.
-
kms_key
¶ [Required] Gets the kms_key of this HostedConfiguration.
Returns: The kms_key of this HostedConfiguration. Return type: oci.nosql.models.KmsKey
-