SCEnvironmentRecordResource.GetSchemaRegistryClusterAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.