Class: CloudControl::API::Drs
Instance Attribute Summary
Attributes inherited from Core
Instance Method Summary collapse
- #list_consistency_group_snaps(consistency_group_id, options = {}) ⇒ Object
- #list_consistency_groups(options = {}) ⇒ Object
Methods inherited from Core
#endpoint, #get, #get_simple, #initialize, #log, #org_endpoint, #org_id, #perform, #post, #post_simple, #query_params, #request_query_string, #request_simple_body, #request_xml_body, #simple_params, #single, #xml_params
Constructor Details
This class inherits a constructor from CloudControl::API::Core
Instance Method Details
#list_consistency_group_snaps(consistency_group_id, options = {}) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/cloudcontrol/api/drs.rb', line 9 def list_consistency_group_snaps(consistency_group_id, ={}) org_endpoint '/consistencyGroup/snapshot' [:consistencyGroupId] = consistency_group_id query_params get_simple end |
#list_consistency_groups(options = {}) ⇒ Object
3 4 5 6 7 |
# File 'lib/cloudcontrol/api/drs.rb', line 3 def list_consistency_groups( = {}) org_endpoint '/consistencyGroup/consistencyGroup' query_params get_simple end |