ConfluentOrganizationCollection.CreateOrUpdate Method

Definition

Create Organization resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}
  • Operation Id: Organization_Create
  • Default Api Version: 2024-02-13
  • Resource: ConfluentOrganizationResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Confluent.ConfluentOrganizationResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string organizationName, Azure.ResourceManager.Confluent.ConfluentOrganizationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Confluent.ConfluentOrganizationData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Confluent.ConfluentOrganizationData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, organizationName As String, data As ConfluentOrganizationData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ConfluentOrganizationResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

organizationName
String

Organization resource name.

data
ConfluentOrganizationData

Organization resource model.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

organizationName is an empty string, and was expected to be non-empty.

organizationName or data is null.

Applies to