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

59 lines (58 loc) 2.28 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets the token used to connect to the endpoint where source code can be uploaded for a build. * * Uses Azure REST API version 2024-10-02-preview. * * Other available API versions: 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-08-02-preview, 2025-02-02-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native app [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listBuildAuthToken(args: ListBuildAuthTokenArgs, opts?: pulumi.InvokeOptions): Promise<ListBuildAuthTokenResult>; export interface ListBuildAuthTokenArgs { /** * The name of a build. */ buildName: string; /** * The name of the builder. */ builderName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Build Auth Token. */ export interface ListBuildAuthTokenResult { /** * Token expiration date. */ readonly expires: string; /** * Authentication token. */ readonly token: string; } /** * Gets the token used to connect to the endpoint where source code can be uploaded for a build. * * Uses Azure REST API version 2024-10-02-preview. * * Other available API versions: 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-08-02-preview, 2025-02-02-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native app [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listBuildAuthTokenOutput(args: ListBuildAuthTokenOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListBuildAuthTokenResult>; export interface ListBuildAuthTokenOutputArgs { /** * The name of a build. */ buildName: pulumi.Input<string>; /** * The name of the builder. */ builderName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }