troveclient.v1.root module¶
-
class
troveclient.v1.root.
Root
(api)¶ Bases:
troveclient.base.ManagerWithFind
Manager class for Root resource.
-
clusters_url
= '/clusters/%s/root'¶
-
create
(instance)¶ Implements root-enable API. Enable the root user and return the root password for the specified db instance.
-
create_cluster_root
(cluster, root_password=None)¶ Implements root-enable for clusters.
-
create_instance_root
(instance, root_password=None)¶ Implements root-enable for instances.
-
delete
(instance)¶ Implements root-disable API. Disables access to the root user for the specified db instance. :param instance: The instance on which the root user is enabled
-
disable_instance_root
(instance)¶ Implements root-disable for instances.
-
instances_url
= '/instances/%s/root'¶
-
is_cluster_root_enabled
(cluster)¶ Returns whether root is enabled for the cluster.
-
is_instance_root_enabled
(instance)¶ Returns whether root is enabled for the instance.
-
is_root_enabled
(instance)¶ Return whether root is enabled for the instance.
-
list
()¶
-
resource_class
¶ alias of
troveclient.v1.users.User
-