SCClusterRecordCollection.CreateOrUpdate Method

Definition

Create confluent clusters

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}.
  • Operation Id. : SCClusterRecords_CreateOrUpdate.
  • Default Api Version. : 2025-08-18-preview.
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Confluent.SCClusterRecordResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string clusterId, Azure.ResourceManager.Confluent.SCClusterRecordData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Confluent.SCClusterRecordData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Confluent.SCClusterRecordResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Confluent.SCClusterRecordData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Confluent.SCClusterRecordResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, clusterId As String, data As SCClusterRecordData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SCClusterRecordResource)

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.

clusterId
String

Confluent kafka or schema registry cluster id.

data
SCClusterRecordData

Confluent Cluster resource model.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

clusterId is null.

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

Applies to