Share via


StorageMoverEndpointResource.UpdateAsync Method

Definition

Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}
  • Operation Id: Endpoints_Update
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverEndpointResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverEndpointResource>> UpdateAsync (Azure.ResourceManager.StorageMover.Models.StorageMoverEndpointPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.StorageMover.Models.StorageMoverEndpointPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverEndpointResource>>
override this.UpdateAsync : Azure.ResourceManager.StorageMover.Models.StorageMoverEndpointPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverEndpointResource>>
Public Overridable Function UpdateAsync (patch As StorageMoverEndpointPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageMoverEndpointResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to