troveclient.v1.configurations module¶
-
class
troveclient.v1.configurations.
Configuration
(manager, info, loaded=False)¶ Bases:
troveclient.base.Resource
Configuration is a resource used to hold configuration information.
-
class
troveclient.v1.configurations.
ConfigurationParameter
(manager, info, loaded=False)¶ Bases:
troveclient.base.Resource
Configuration Parameter.
-
class
troveclient.v1.configurations.
ConfigurationParameters
(api)¶ Bases:
troveclient.base.ManagerWithFind
Manage
ConfigurationParameters
information.-
get_parameter
(datastore, version, key)¶ Get a list of valid parameters that can be changed.
-
get_parameter_by_version
(version, key)¶ Get a list of valid parameters that can be changed.
-
list
()¶
-
parameters
(datastore, version)¶ Get a list of valid parameters that can be changed.
-
parameters_by_version
(version)¶ Get a list of valid parameters that can be changed.
-
resource_class
¶ alias of
troveclient.v1.configurations.ConfigurationParameter
-
-
class
troveclient.v1.configurations.
Configurations
(api)¶ Bases:
troveclient.base.ManagerWithFind
Manage
Configurations
information.-
create
(name, values, description=None, datastore=None, datastore_version=None, datastore_version_number=None)¶ Create a new configuration.
-
delete
(configuration)¶ Delete the specified configuration.
- Parameters
configuration – The configuration id to delete
-
edit
(configuration, values)¶ Update an existing configuration.
-
get
(configuration)¶ Get a specific configuration.
- Return type
-
instances
(configuration, limit=None, marker=None)¶ Get a list of instances on a configuration.
- Return type
-
list
(limit=None, marker=None)¶ Get a list of all configurations.
- Return type
list of
Configurations
.
-
resource_class
¶
-
update
(configuration, values, name=None, description=None)¶ Update an existing configuration.
-