def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil)
      response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil)
      response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
The operation to create or update the extension.

 @param resource_group_name [String] The name of the resource group.
 @param vm_name [String] The name of the virtual machine where the extension
 should be created or updated.
 @param vm_extension_name [String] The name of the virtual machine extension.
 @param extension_parameters [VirtualMachineExtension] Parameters supplied to
 the Create Virtual Machine Extension operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [VirtualMachineExtension] operation results.