ConfluentConnectorCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

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

Parameters

connectorName
String

Confluent connector name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

connectorName is null.

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

Applies to