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

51 lines (50 loc) 1.96 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets the shared keys for a workspace. * * Uses Azure REST API version 2023-09-01. * * Other available API versions: 2020-03-01-preview, 2020-08-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native operationalinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getSharedKeys(args: GetSharedKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetSharedKeysResult>; export interface GetSharedKeysArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the workspace. */ workspaceName: string; } /** * The shared keys for a workspace. */ export interface GetSharedKeysResult { /** * 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 2023-09-01. * * Other available API versions: 2020-03-01-preview, 2020-08-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native operationalinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getSharedKeysOutput(args: GetSharedKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSharedKeysResult>; export interface GetSharedKeysOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the workspace. */ workspaceName: pulumi.Input<string>; }