'Lists the affinity groups associated with the specified subscription.'

def list_affinity_groups(self):

    return self._perform_get((('/' + self.subscription_id) + '/affinitygroups'), AffinityGroups)
