"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.listBuildAuthTokenOutput = exports.listBuildAuthToken = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * 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. 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.
 */
function listBuildAuthToken(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:app:listBuildAuthToken", {
        "buildName": args.buildName,
        "builderName": args.builderName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.listBuildAuthToken = listBuildAuthToken;
/**
 * 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. 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.
 */
function listBuildAuthTokenOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:app:listBuildAuthToken", {
        "buildName": args.buildName,
        "builderName": args.builderName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.listBuildAuthTokenOutput = listBuildAuthTokenOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdEJ1aWxkQXV0aFRva2VuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi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