def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil)
      response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil)
      response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Creates or updates 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 [Disk] Disk object supplied in the body of the Put disk
 operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Disk] operation results.