ConnectorMappingResourceFormatCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

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