def begin_perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil)
      response = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil)
      response = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Perform maintenance on one or more virtual machines in a VM scale set.
 Operation on instances which are not eligible for perform maintenance will be
 failed. Please refer to best practices for more details:
 https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications

 @param resource_group_name [String] The name of the resource group.
 @param vm_scale_set_name [String] The name of the VM scale set.
 @param vm_instance_ids [VirtualMachineScaleSetVMInstanceIDs] A list of
 virtual machine instance IDs from the VM scale set.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [OperationStatusResponse] operation results.