共用方式為


StorageMoverProjectResource.Update Method

Definition

Updates properties for a Project resource. Properties not specified in the request body will be unchanged.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to