Configuration

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

Bases: object

A tenancy or service-level configuration. The service may of the standard MULTI_TENANCY type, or of the HOSTED environment type.

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.

Methods

__init__(**kwargs) Initializes a new Configuration 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 Configuration object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 Configuration. 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’.
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.