otcextensions.sdk.rds.v1.configuration

The Configuration Class

The Configuration class inherits from Resource.

class otcextensions.sdk.rds.v1.configuration.ConfigurationGroup(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • 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.

base_path: str = '/%(project_id)s/configurations'

The base part of the URI for this resource.

resource_key: ty.Optional[str] = 'configuration'

Singular form of key for resource.

resources_key: ty.Optional[str] = 'configurations'

Plural form of key for resource.

allow_create = True

Allow create operation for this resource.

allow_delete = True

Allow delete operation for this resource.

allow_list = True

Allow list operation for this resource.

id

Id of the configuration group Type:str

name: ty.Union[Body, URI]

Name of the configuration group Type:str

description

Description of the configuration group Type:str

datastore_version_id

Id of Datastore version Type:str

datastore_version_name

name of Datastore version Type:str

datastore_name

name of Datastore Type:str

created

Date of created Type:str

updated

Date of updated Type:str

instance_count

Count of associated instance Type:int

values

Params values Type:dict

parameters

Parameter list Type:dict

datastore

Datastore dict Type:dict

get_associated_instances(session, endpoint_override=None)

Get associated instancs

Parameters:
  • session – session (adapter)

  • endpoint_override – optional endpoint_override

Returns:

list of instance id/name dicts with instances with this configuration group

Return type:

list of dicts