Compartilhar via


ConnectorResourceFormatCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém um conector no hub.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors/{connectorName}
  • Operação IdConnectors_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.ConnectorResourceFormatResource>> GetAsync (string connectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.ConnectorResourceFormatResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.ConnectorResourceFormatResource>>
Public Overridable Function GetAsync (connectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConnectorResourceFormatResource))

Parâmetros

connectorName
String

O nome do conector.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

connectorName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

connectorName é nulo.

Aplica-se a