Compartilhar via


OperationalInsightsWorkspaceResource.EnableIntelligencePackAsync Método

Definição

Habilitar um pacote de inteligência para determinado workspace.

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

Parâmetros

intelligencePackName
String

O nome do pacote de inteligência a ser habilitado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

intelligencePackName é nulo.

Aplica-se a