共用方式為


StorageMoverEndpointResource.Update 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 Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverEndpointResource> Update (Azure.ResourceManager.StorageMover.Models.StorageMoverEndpointPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.StorageMover.Models.StorageMoverEndpointPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverEndpointResource>
override this.Update : Azure.ResourceManager.StorageMover.Models.StorageMoverEndpointPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverEndpointResource>
Public Overridable Function Update (patch As StorageMoverEndpointPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StorageMoverEndpointResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to