otcextensions.sdk.dcs.v1.config¶
The DCS Config Class¶
The Config
class inherits from
Resource
.
- class otcextensions.sdk.dcs.v1.config.Config(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connection
in Resource code should protect itself with a check for None.
- resources_key: ty.Optional[str] = 'redis_config'¶
Plural form of key for resource.
- base_path: str = '/instances/%(instance_id)s/configs'¶
The base part of the URI for this resource.
- allow_list = True¶
Allow list operation for this resource.
- allow_commit = True¶
Allow update operation for this resource.
- commit_method = 'PUT'¶
Method for committing a resource (PUT, PATCH, POST)
- instance_id¶
Instance ID
- description¶
Parameter description
- default_value¶
Parameter default value
- id¶
Parameter ID
- name: ty.Union[Body, URI]¶
Parameter Name
- value¶
Parameter value
- value_range¶
Parameter value range
- value_type¶
Parameter value type