Freigeben über


ConfluentOrganizationCollection.CreateOrUpdateAsync Methode

Definition

Erstellen einer Organisationsressource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}
  • Vorgangs-IdOrganization_Create
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string organizationName, Azure.ResourceManager.Confluent.ConfluentOrganizationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Confluent.ConfluentOrganizationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Confluent.ConfluentOrganizationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, organizationName As String, data As ConfluentOrganizationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ConfluentOrganizationResource))

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der zeitintensive Vorgang für den Dienst abgeschlossen ist; Started , wenn sie nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführungszeit finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

organizationName
String

Name der Organisationsressource.

data
ConfluentOrganizationData

Organisationsressourcenmodell.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

organizationName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

organizationName oder data ist NULL.

Gilt für: