Partilhar via


OperationalInsightsWorkspaceResource.GetStorageInsightAsync 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}
  • Operação IdStorageInsightConfigs_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.StorageInsightResource>> GetStorageInsightAsync (string storageInsightName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageInsightAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.StorageInsightResource>>
override this.GetStorageInsightAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.StorageInsightResource>>
Public Overridable Function GetStorageInsightAsync (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 esperava-se que não estivesse vazia.

storageInsightName é nulo.

Aplica-se a