def list_as_sub(access_token, subscription_id):
endpoint = '<STR_LIT>'.join([get_rm_endpoint(),<EOL>'<STR_LIT>', subscription_id,<EOL>'<STR_LIT>',<EOL>'<STR_LIT>', COMP_API])<EOL>return do_get_next(endpoint, access_token)<EOL>
List availability sets in a subscription.

    Args:
        access_token (str): A valid Azure authentication token.
        subscription_id (str): Azure subscription id.

    Returns:
        HTTP response. JSON body of the list of availability set properties.