Dela via


ServersOperationsExtensions.UpgradeAsync Method

Definition

Upgrade server version.

public static System.Threading.Tasks.Task UpgradeAsync (this Microsoft.Azure.Management.MySQL.IServersOperations operations, string resourceGroupName, string serverName, Microsoft.Azure.Management.MySQL.Models.ServerUpgradeParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpgradeAsync : Microsoft.Azure.Management.MySQL.IServersOperations * string * string * Microsoft.Azure.Management.MySQL.Models.ServerUpgradeParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpgradeAsync (operations As IServersOperations, resourceGroupName As String, serverName As String, parameters As ServerUpgradeParameters, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IServersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

serverName
String

The name of the server.

parameters
ServerUpgradeParameters

The required parameters for updating a server.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to