Partilhar via


OperationalInsightsTableCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém uma tabela de workspace do Log Analytics.

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

Parâmetros

tableName
String

O nome da tabela.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

tableName é nulo.

Aplica-se a