ImpactConnectorCollection.GetAsync(String, CancellationToken) Method

Definition

Get a Connector

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Impact/connectors/{connectorName}
  • Operation Id: Connector_Get
  • Default Api Version: 2024-05-01-preview
  • Resource: ImpactConnectorResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ImpactReporting.ImpactConnectorResource>> GetAsync(string connectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ImpactReporting.ImpactConnectorResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ImpactReporting.ImpactConnectorResource>>
Public Overridable Function GetAsync (connectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ImpactConnectorResource))

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