code: def poweroff_vmss(access_token, subscription_id, resource_group, vmss_name):
      '''Power off 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.
  
      Returns:
          HTTP response.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourceGroups/', resource_group,
                          '/providers/Microsoft.Compute/virtualMachineScaleSets/', vmss_name,
                          '/powerOff?api-version=', COMP_API])
      body = '{"instanceIds" : ["*"]}'
      return do_post(endpoint, body, access_tokenf poweroff_vmss(access_token, subscription_id, resource_group, vmss_name):
      '''Power off 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.
  
      Returns:
          HTTP response.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourceGroups/', resource_group,
                          '/providers/Microsoft.Compute/virtualMachineScaleSets/', vmss_name,
                          '/powerOff?api-version=', COMP_API])
      body = '{"instanceIds" : ["*"]}'
      return do_post(endpoint, body, access_token)
docs: Power off 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.
  
      Returns:
          HTTP response.