@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.6 kB
TypeScript
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>;
}