MultiTenancyConfiguration¶
- class oci.nosql.models.MultiTenancyConfiguration(**kwargs)¶
Bases:
ConfigurationThe service-level configuration for a multi-tenancy environment.
Attributes:
A constant which can be used with the environment property of a Configuration.
A constant which can be used with the environment property of a Configuration.
[Required] Gets the environment of this Configuration.
Methods:
__init__(**kwargs)Initializes a new MultiTenancyConfiguration 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 MultiTenancyConfiguration object with values from keyword arguments. The default value of the
environmentattribute of this class isMULTI_TENANCYand 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 MultiTenancyConfiguration. Allowed values for this property are: “MULTI_TENANCY”, “HOSTED”
- 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.