Freigeben über


ServerAzureADAdministratorsOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellt oder aktualisiert einen vorhandenen Azure Active Directory-Administrator.

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

Parameter

operations
IServerAzureADAdministratorsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die die Ressource enthält. Dieser Wert kann über die Azure-Ressourcen-Manager-API oder das Portal abgerufen werden.

serverName
String

Name des Servers

parameters
ServerAzureADAdministrator

Der angeforderte Azure Active Directory-Administratorressourcenstatus.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: