Partilhar via


ProjectFileResource.UpdateAsync(ProjectFileData, CancellationToken) Método

Definição

Esse método atualiza um arquivo existente.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}
  • IdFiles_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.ProjectFileResource>> UpdateAsync (Azure.ResourceManager.DataMigration.ProjectFileData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DataMigration.ProjectFileData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.ProjectFileResource>>
override this.UpdateAsync : Azure.ResourceManager.DataMigration.ProjectFileData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.ProjectFileResource>>
Public Overridable Function UpdateAsync (data As ProjectFileData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ProjectFileResource))

Parâmetros

data
ProjectFileData

Informações sobre o arquivo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a