SharedKeysOperations interface

Interface representing a SharedKeysOperations.

Methods

getSharedKeys(string, string, SharedKeysGetSharedKeysOptionalParams)

Gets the shared keys for a workspace.

regenerate(string, string, SharedKeysRegenerateOptionalParams)

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

Method Details

getSharedKeys(string, string, SharedKeysGetSharedKeysOptionalParams)

Gets the shared keys for a workspace.

function getSharedKeys(resourceGroupName: string, workspaceName: string, options?: SharedKeysGetSharedKeysOptionalParams): Promise<SharedKeys>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

options
SharedKeysGetSharedKeysOptionalParams

The options parameters.

Returns

Promise<SharedKeys>

regenerate(string, string, SharedKeysRegenerateOptionalParams)

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

function regenerate(resourceGroupName: string, workspaceName: string, options?: SharedKeysRegenerateOptionalParams): Promise<SharedKeys>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

options
SharedKeysRegenerateOptionalParams

The options parameters.

Returns

Promise<SharedKeys>