Delen via


HubResource.GetConnectorResourceFormatAsync(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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.ConnectorResourceFormatResource>> GetConnectorResourceFormatAsync (string connectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConnectorResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.ConnectorResourceFormatResource>>
override this.GetConnectorResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.ConnectorResourceFormatResource>>
Public Overridable Function GetConnectorResourceFormatAsync (connectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConnectorResourceFormatResource))

Parameters

connectorName
String

The name of the connector.

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