次の方法で共有


ServerKeysOperationsExtensions.CreateOrUpdateAsync メソッド

定義

MySQL サーバー キーを作成または更新します。

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

パラメーター

operations
IServerKeysOperations

この拡張メソッドの操作グループ。

serverName
String

サーバーの名前。

keyName
String

操作する MySQL サーバー キーの名前 (更新または作成)。

parameters
ServerKey

要求された MySQL サーバー のキー リソースの状態。

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象