@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets the shared keys for a workspace.
*
* Uses Azure REST API version 2015-11-01-preview.
*/
export declare function getWorkspaceSharedKeys(args: GetWorkspaceSharedKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceSharedKeysResult>;
export interface GetWorkspaceSharedKeysArgs {
/**
* The name of the resource group to get. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Name of the Log Analytics Workspace.
*/
workspaceName: string;
}
/**
* The shared keys for a workspace.
*/
export interface GetWorkspaceSharedKeysResult {
/**
* The primary shared key of a workspace.
*/
readonly primarySharedKey?: string;
/**
* The secondary shared key of a workspace.
*/
readonly secondarySharedKey?: string;
}
/**
* Gets the shared keys for a workspace.
*
* Uses Azure REST API version 2015-11-01-preview.
*/
export declare function getWorkspaceSharedKeysOutput(args: GetWorkspaceSharedKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceSharedKeysResult>;
export interface GetWorkspaceSharedKeysOutputArgs {
/**
* The name of the resource group to get. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the Log Analytics Workspace.
*/
workspaceName: pulumi.Input<string>;
}