Freigeben über


GroupOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellt oder aktualisiert eine Gruppe

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.GroupContract> CreateOrUpdateAsync(this Microsoft.Azure.Management.ApiManagement.IGroupOperations operations, string resourceGroupName, string serviceName, string groupId, Microsoft.Azure.Management.ApiManagement.Models.GroupCreateParameters parameters, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ApiManagement.IGroupOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.GroupCreateParameters * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.GroupContract>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IGroupOperations, resourceGroupName As String, serviceName As String, groupId As String, parameters As GroupCreateParameters, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GroupContract)

Parameter

operations
IGroupOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

serviceName
String

Der Name des API Management-Diensts.

groupId
String

Gruppen-ID. Muss im aktuellen API Management-Dienst instance eindeutig sein.

parameters
GroupCreateParameters

Erstellen Sie Parameter.

ifMatch
String

ETag der Entität. Nicht erforderlich beim Erstellen einer Entität, aber erforderlich beim Aktualisieren einer Entität.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: