Partilhar via


OperationalInsightsWorkspaceResource.RegenerateSharedKeyAsync Método

Definição

Regenera as chaves compartilhadas para um workspace do Log Analytics. Essas chaves são usadas para conectar agentes do Insights Operacionais da Microsoft ao workspace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/regenerateSharedKey
  • Operação IdSharedKeys_Regenerate
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceSharedKeys>> RegenerateSharedKeyAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateSharedKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceSharedKeys>>
override this.RegenerateSharedKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceSharedKeys>>
Public Overridable Function RegenerateSharedKeyAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OperationalInsightsWorkspaceSharedKeys))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a