def begin_power_off(resource_group_name, vm_name, skip_shutdown:false, custom_headers:nil)
      response = begin_power_off_async(resource_group_name, vm_name, skip_shutdown:skip_shutdown, custom_headers:custom_headers).value!
      nil
    end
def begin_power_off(resource_group_name, vm_name, skip_shutdown:false, custom_headers:nil)
      response = begin_power_off_async(resource_group_name, vm_name, skip_shutdown:skip_shutdown, custom_headers:custom_headers).value!
      nil
    end
The operation to power off (stop) a virtual machine. The virtual machine can
 be restarted with the same provisioned resources. You are still charged for
 this virtual machine.

 @param resource_group_name [String] The name of the resource group.
 @param vm_name [String] The name of the virtual machine.
 @param skip_shutdown [Boolean] The parameter to request non-graceful VM
 shutdown. True value for this flag indicates non-graceful shutdown whereas
 false indicates otherwise. Default value for this flag is false if not
 specified
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.