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 troveclient.v1.hosts.Host

update_all(host_id)

Update all instances on a host.