ElasticPoolAdvisorOperationsExtensions.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.IElasticPoolAdvisorOperations operations, string resourceGroupName, string serverName, string elasticPoolName, string advisorName, Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateParameters parameters);
static member UpdateAsync : Microsoft.Azure.Management.Sql.LegacySdk.IElasticPoolAdvisorOperations * string * 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 IElasticPoolAdvisorOperations, resourceGroupName As String, serverName As String, elasticPoolName As String, advisorName As String, parameters As AdvisorUpdateParameters) As Task(Of AdvisorUpdateResponse)
Parameters
- operations
- IElasticPoolAdvisorOperations
Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IElasticPoolAdvisorOperations.
- 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.
- elasticPoolName
- String
Required. The name of the Azure SQL Elastic Database Pool.
- advisorName
- String
Required. The name of the Azure SQL Elastic Database Pool advisor.
- parameters
- AdvisorUpdateParameters
Required. The required parameters for updating auto-execute status of an Advisor
Returns
Represents the response to a update advisor request.