troveclient.v1.hosts module

troveclient.v1.hosts module

class troveclient.v1.hosts.Host(manager, info, loaded=False)

Bases: troveclient.base.Resource

A Hosts is an opaque instance used to store Host instances.

class troveclient.v1.hosts.Hosts(api)

Bases: troveclient.base.ManagerWithFind

Manage Host resources.

get(host)

Get a specific host.

Return type:host
index()

Get a list of all hosts.

Return type:list of Hosts.
list()
resource_class

alias of Host

update_all(host_id)

Update all instances on a host.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.