Udostępnij za pośrednictwem


ConnectorResourceFormatCollection.Get(String, CancellationToken) Method

Definition

Gets a connector in the hub.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors/{connectorName}
  • Operation Id: Connectors_Get
public virtual Azure.Response<Azure.ResourceManager.CustomerInsights.ConnectorResourceFormatResource> Get (string connectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.ConnectorResourceFormatResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.ConnectorResourceFormatResource>
Public Overridable Function Get (connectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConnectorResourceFormatResource)

Parameters

connectorName
String

The name of the connector.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

connectorName is null.

Applies to