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

39 lines (38 loc) 1.6 kB
import * as pulumi from "@pulumi/pulumi"; /** * **Gets an access token for live metrics stream data.** * * Uses Azure REST API version 2021-10-14. * * Other available API versions: 2020-06-02-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native applicationinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getLiveToken(args: GetLiveTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetLiveTokenResult>; export interface GetLiveTokenArgs { /** * The identifier of the resource. */ resourceUri: string; } /** * The response to a live token query. */ export interface GetLiveTokenResult { /** * JWT token for accessing live metrics stream data. */ readonly liveToken: string; } /** * **Gets an access token for live metrics stream data.** * * Uses Azure REST API version 2021-10-14. * * Other available API versions: 2020-06-02-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native applicationinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getLiveTokenOutput(args: GetLiveTokenOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLiveTokenResult>; export interface GetLiveTokenOutputArgs { /** * The identifier of the resource. */ resourceUri: pulumi.Input<string>; }