Method: Azure::BaseManagement::BaseManagementService#list_affinity_groups
- Defined in:
- lib/azure/base_management/base_management_service.rb
#list_affinity_groups ⇒ Array<Azure::BaseManagement::AffinityGroup>
Gets a lists the affinity groups associated with the specified subscription.
75 76 77 78 79 80 |
# File 'lib/azure/base_management/base_management_service.rb', line 75 def list_affinity_groups request_path = '/affinitygroups' request = @client.management_request(:get, request_path) response = request.call Serialization.affinity_groups_from_xml(response) end |