Share via


ConnectorMappingResourceFormatCollection.GetAsync Method

Definition

Gets a connector mapping in the connector.

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

Parameters

mappingName
String

The name of the connector mapping.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

mappingName is null.

Applies to