@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.34 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* List tokens for application.
*
* Uses Azure REST API version 2021-07-01.
*
* Other available API versions: 2023-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native solutions [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listApplicationTokens(args: ListApplicationTokensArgs, opts?: pulumi.InvokeOptions): Promise<ListApplicationTokensResult>;
export interface ListApplicationTokensArgs {
/**
* The name of the managed application.
*/
applicationName: string;
/**
* The authorization audience.
*/
authorizationAudience?: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The user assigned identities.
*/
userAssignedIdentities?: string[];
}
/**
* The array of managed identity tokens.
*/
export interface ListApplicationTokensResult {
/**
* The array of managed identity tokens.
*/
readonly value?: outputs.solutions.ManagedIdentityTokenResponse[];
}
/**
* List tokens for application.
*
* Uses Azure REST API version 2021-07-01.
*
* Other available API versions: 2023-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native solutions [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listApplicationTokensOutput(args: ListApplicationTokensOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListApplicationTokensResult>;
export interface ListApplicationTokensOutputArgs {
/**
* The name of the managed application.
*/
applicationName: pulumi.Input<string>;
/**
* The authorization audience.
*/
authorizationAudience?: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The user assigned identities.
*/
userAssignedIdentities?: pulumi.Input<pulumi.Input<string>[]>;
}