Partilhar via


StorageInsightCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém uma instância de insight de armazenamento.

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

Parâmetros

storageInsightName
String

Nome do recurso storageInsightsConfigs.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

storageInsightName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

storageInsightName é nulo.

Aplica-se a