UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

47 lines (46 loc) 1.42 kB
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>; }