openstack.database.v1.database¶
The Database Class¶
The Database class inherits from Resource.
-
class
openstack.database.v1.database.Database(attrs=None, loaded=False)¶ Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See
Resource.new()andResource.existing().Parameters: - attrs (dict) – The attributes to set when constructing this Resource.
- loaded (bool) –
Trueif this Resource exists on the server,Falseif it does not.
-
character_set= None¶ Set of symbols and encodings. The default character set is
utf8.
-
collate= None¶ Set of rules for comparing characters in a character set. The default value for collate is
utf8_general_ci.
-
instance_id= None¶ The ID of the instance
-
name= None¶ The name of the database