IElasticPoolAdvisorOperations.UpdateAsync Method

Definition

Updates the auto-execute status for this Advisor.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateResponse> UpdateAsync (string resourceGroupName, string serverName, string elasticPoolName, string advisorName, Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateResponse>
Public Function UpdateAsync (resourceGroupName As String, serverName As String, elasticPoolName As String, advisorName As String, parameters As AdvisorUpdateParameters, cancellationToken As CancellationToken) As Task(Of AdvisorUpdateResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the Azure SQL Server belongs.

serverName
String

The name of the Azure SQL Server on which the database is hosted.

elasticPoolName
String

The name of the Azure SQL Elastic Database Pool.

advisorName
String

The name of the Azure SQL Elastic Database Pool advisor.

parameters
AdvisorUpdateParameters

The required parameters for updating auto-execute status of an Advisor

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the response to a update advisor request.

Applies to