Freigeben über


RecommendedActionResource.UpdateAsync Methode

Definition

Updates einer empfohlenen Datenbankaktion.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}
  • Vorgangs-IdDatabaseRecommendedActions_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.RecommendedActionResource>> UpdateAsync (Azure.ResourceManager.Sql.RecommendedActionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Sql.RecommendedActionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.RecommendedActionResource>>
override this.UpdateAsync : Azure.ResourceManager.Sql.RecommendedActionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.RecommendedActionResource>>
Public Overridable Function UpdateAsync (data As RecommendedActionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RecommendedActionResource))

Parameter

data
RecommendedActionData

Der angeforderte Ressourcenstatus der empfohlenen Aktion.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: