Freigeben über


RecommendedActionResource.Update 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 Azure.Response<Azure.ResourceManager.Sql.RecommendedActionResource> Update (Azure.ResourceManager.Sql.RecommendedActionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Sql.RecommendedActionData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.RecommendedActionResource>
override this.Update : Azure.ResourceManager.Sql.RecommendedActionData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.RecommendedActionResource>
Public Overridable Function Update (data As RecommendedActionData, Optional cancellationToken As CancellationToken = Nothing) As 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: