'Deletes an affinity group in the specified subscription.
affinity_group_name:
The name of the affinity group.'

def delete_affinity_group(self, affinity_group_name):

    _validate_not_none('affinity_group_name', affinity_group_name)
    return self._perform_delete(((('/' + self.subscription_id) + '/affinitygroups/') + _str(affinity_group_name)))
