Partilhar via


SecurityInsightsDataConnectorCollection.GetAsync Método

Definição

Obtém um conector de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}
  • Operação IdDataConnectors_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsDataConnectorResource>> GetAsync (string dataConnectorId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsDataConnectorResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsDataConnectorResource>>
Public Overridable Function GetAsync (dataConnectorId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityInsightsDataConnectorResource))

Parâmetros

dataConnectorId
String

ID do conector.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

dataConnectorId é nulo.

Aplica-se a