共用方式為


SharedKeysOperationsExtensions.RegenerateAsync Method

Definition

Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.SharedKeys> RegenerateAsync (this Microsoft.Azure.Management.OperationalInsights.ISharedKeysOperations operations, string resourceGroupName, string workspaceName, System.Threading.CancellationToken cancellationToken = default);
static member RegenerateAsync : Microsoft.Azure.Management.OperationalInsights.ISharedKeysOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.SharedKeys>
<Extension()>
Public Function RegenerateAsync (operations As ISharedKeysOperations, resourceGroupName As String, workspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SharedKeys)

Parameters

operations
ISharedKeysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to