Module: CloudstackClient::Cluster

Defined in:
lib/cloudstack_client/commands/cluster.rb

Instance Method Summary collapse

Instance Method Details

#list_clusters(args = {}) ⇒ Object

Lists clusters.



8
9
10
11
12
13
14
15
# File 'lib/cloudstack_client/commands/cluster.rb', line 8

def list_clusters(args = {})
  params = {
    'command' => 'listClusters',
  }

  json = send_request(params)
  json['cluster'] || []
end