ServerAutomaticTuningOperationsExtensions.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.
Update automatic tuning options on server.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ServerAutomaticTuning> UpdateAsync (this Microsoft.Azure.Management.Sql.IServerAutomaticTuningOperations operations, string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.Models.ServerAutomaticTuning parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Sql.IServerAutomaticTuningOperations * string * string * Microsoft.Azure.Management.Sql.Models.ServerAutomaticTuning * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ServerAutomaticTuning>
<Extension()>
Public Function UpdateAsync (operations As IServerAutomaticTuningOperations, resourceGroupName As String, serverName As String, parameters As ServerAutomaticTuning, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServerAutomaticTuning)
Parameters
- operations
- IServerAutomaticTuningOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
- String
The name of the server.
- parameters
- ServerAutomaticTuning
The requested automatic tuning resource state.
- cancellationToken
- CancellationToken
The cancellation token.