你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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>