Udostępnij za pośrednictwem


ServerAdvisorOperationsExtensions.Update Method

Definition

Updates the auto-execute status for this Advisor.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateResponse Update (this Microsoft.Azure.Management.Sql.LegacySdk.IServerAdvisorOperations operations, string resourceGroupName, string serverName, string advisorName, Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateParameters parameters);
static member Update : Microsoft.Azure.Management.Sql.LegacySdk.IServerAdvisorOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateParameters -> Microsoft.Azure.Management.Sql.LegacySdk.Models.AdvisorUpdateResponse
<Extension()>
Public Function Update (operations As IServerAdvisorOperations, resourceGroupName As String, serverName As String, advisorName As String, parameters As AdvisorUpdateParameters) As 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.

Applies to