Partager via


ProjectFileResource.UpdateAsync(ProjectFileData, CancellationToken) Méthode

Définition

Cette méthode met à jour un fichier existant.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}
  • IdFiles_Update d’opération
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))

Paramètres

data
ProjectFileData

Informations sur le fichier.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à