Freigeben über


WorkloadGroupsOperationsExtensions.BeginCreateOrUpdateAsync Methode

Definition

Erstellt oder aktualisiert eine Workloadgruppe.

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

Parameter

operations
IWorkloadGroupsOperations

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

databaseName
String

Der Name der Datenbank.

workloadGroupName
String

Der Name der Workloadgruppe.

parameters
WorkloadGroup

Der angeforderte Workloadgruppenstatus.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: