def poweroff_vmss_vms(access_token, subscription_id, resource_group, vmss_name, instance_ids):
endpoint = '<STR_LIT>'.join([get_rm_endpoint(),<EOL>'<STR_LIT>', subscription_id,<EOL>'<STR_LIT>', resource_group,<EOL>'<STR_LIT>', vmss_name,<EOL>'<STR_LIT>', COMP_API])<EOL>body = '<STR_LIT>' + instance_ids + '<STR_LIT:}>'<EOL>return do_post(endpoint, body, access_token)<EOL>
Poweroff all the VMs in a virtual machine scale set.

    Args:
        access_token (str): A valid Azure authentication token.
        subscription_id (str): Azure subscription id.
        resource_group (str): Azure resource group name.
        vmss_name (str): Name of the virtual machine scale set.
        instance_ids (str): String representation of a JSON list of VM IDs. E.g. '[1,2]'.

    Returns:
        HTTP response.