Dela via


ProjectFileResource.ReadWriteAsync(CancellationToken) Method

Definition

This method is used for requesting information for reading and writing the file content.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite
  • Operation Id: Files_ReadWrite
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.Models.FileStorageInfo>> ReadWriteAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ReadWriteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.Models.FileStorageInfo>>
override this.ReadWriteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.Models.FileStorageInfo>>
Public Overridable Function ReadWriteAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FileStorageInfo))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to