ServerAdvisorOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateResponse> UpdateAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IServerAdvisorOperations operations, string resourceGroupName, string serverName, string advisorName, Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateParameters parameters);
static member UpdateAsync : Microsoft.Azure.Management.Sql.LegacySdk.IServerAdvisorOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateResponse>
<Extension()>
Public Function UpdateAsync (operations As IServerAdvisorOperations, resourceGroupName As String, serverName As String, advisorName As String, parameters As AdvisorUpdateParameters) As Task(Of AdvisorUpdateResponse)
Parameters
- operations
- IServerAdvisorOperations
Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IServerAdvisorOperations.
- resourceGroupName
- String
Required. The name of the Resource Group to which the Azure SQL Server belongs.
- serverName
- String
Required. The name of the Azure SQL Server on which the database is hosted.
- advisorName
- String
Required. The name of the Azure SQL Server advisor.
- parameters
- AdvisorUpdateParameters
Required. The required parameters for updating auto-execute status of an Advisor
Returns
Represents the response to a update advisor request.