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

31 lines (30 loc) 1.09 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this function to get an Azure authentication token for the current login context. */ export declare function getClientToken(args?: GetClientTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetClientTokenResult>; export interface GetClientTokenArgs { /** * Optional authentication endpoint. Defaults to the endpoint of Azure Resource Manager. */ endpoint?: string; } /** * Configuration values returned by getClientToken. */ export interface GetClientTokenResult { /** * OAuth token for Azure Management API and SDK authentication. */ readonly token: string; } /** * Use this function to get an Azure authentication token for the current login context. */ export declare function getClientTokenOutput(args?: GetClientTokenOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClientTokenResult>; export interface GetClientTokenOutputArgs { /** * Optional authentication endpoint. Defaults to the endpoint of Azure Resource Manager. */ endpoint?: pulumi.Input<string>; }