Condividi tramite


SCEnvironmentRecordResource.GetSchemaRegistryClusterAsync Method

Definition

Get schema registry cluster by Id

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/schemaRegistryClusters/{clusterId}.
  • Operation Id. : SCEnvironmentRecordCluster_GetSchemaRegistryClusterById.
  • Default Api Version. : 2025-08-18-preview.
  • Resource. : SCEnvironmentRecordResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.Models.SchemaRegistryClusterRecord>> GetSchemaRegistryClusterAsync(string clusterId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSchemaRegistryClusterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.Models.SchemaRegistryClusterRecord>>
override this.GetSchemaRegistryClusterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Confluent.Models.SchemaRegistryClusterRecord>>
Public Overridable Function GetSchemaRegistryClusterAsync (clusterId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SchemaRegistryClusterRecord))

Parameters

clusterId
String

Confluent connector name.

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