AutoImportJobResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update an auto import job instance.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoImportJobs/{autoImportJobName}
- Operation Id: autoImportJobs_Update
- Default Api Version: 2025-07-01
- Resource: AutoImportJobResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StorageCache.AutoImportJobResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.StorageCache.Models.AutoImportJobPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.StorageCache.Models.AutoImportJobPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StorageCache.AutoImportJobResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.StorageCache.Models.AutoImportJobPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StorageCache.AutoImportJobResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As AutoImportJobPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AutoImportJobResource))
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- patch
- AutoImportJobPatch
Object containing the user-selectable properties of the auto import job. If read-only properties are included, they must match the existing values of those properties.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch is null.