Share via


ConfluentOrganizationResource.GetCluster Method

Definition

Get cluster by Id

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}
  • Operation Id: Organization_GetClusterById
  • Default Api Version: 2024-02-13
  • Resource: ConfluentOrganizationResource
public virtual Azure.Response<Azure.ResourceManager.Confluent.Models.SCClusterRecord> GetCluster (string environmentId, string clusterId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCluster : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Confluent.Models.SCClusterRecord>
override this.GetCluster : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Confluent.Models.SCClusterRecord>
Public Overridable Function GetCluster (environmentId As String, clusterId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SCClusterRecord)

Parameters

environmentId
String

Confluent environment id.

clusterId
String

Confluent kafka or schema registry cluster id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

environmentId or clusterId is null.

Applies to