Aracılığıyla paylaş


ConfigurationsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Updates a configuration of a server.

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

Parameters

operations
IConfigurationsOperations

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.

configurationName
String

The name of the server configuration.

parameters
Configuration

The required parameters for updating a server configuration.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to