Compartilhar via


RecommendedActionResource.UpdateAsync Método

Definição

Atualizações uma ação recomendada do banco de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}
  • Operação 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))

Parâmetros

data
RecommendedActionData

O estado do recurso de ação recomendado solicitado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a