def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil)
      begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value!
    end
def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil)
      begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value!
    end
Updates (patches) a disk.

 @param resource_group_name [String] The name of the resource group.
 @param disk_name [String] The name of the managed disk that is being created.
 The name can't be changed after the disk is created. Supported characters for
 the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
 @param disk [DiskUpdate] Disk object supplied in the body of the Patch disk
 operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.