IServerAdvisorOperations.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 advisorName, Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : 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, 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.
- advisorName
- String
The name of the Azure SQL Server 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.