你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServerAdministratorsOperationsExtensions.BeginCreateOrUpdateAsync 方法

定义

在现有服务器上创建或更新 Active Directory 管理员。 更新操作将覆盖现有管理员。

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

参数

operations
IServerAdministratorsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

serverName
String

服务器的名称。

properties
ServerAdministratorResource

创建或更新 AAD 服务器管理员所需的参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于