import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing App Service Source Control Token. * * > **Note:** This value can only be queried for the user or service principal that is executing Terraform. It is not possible to retrieve for another user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.appservice.getSourceControlToken({ * type: "GitHub", * }); * export const id = exampleAzurermAppServiceGithubToken.id; * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Web` - 2023-01-01 */ export declare function getSourceControlToken(args: GetSourceControlTokenArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSourceControlToken. */ export interface GetSourceControlTokenArgs { /** * The Token type. Possible values include `Bitbucket`, `Dropbox`, `Github`, and `OneDrive`. */ type: string; } /** * A collection of values returned by getSourceControlToken. */ export interface GetSourceControlTokenResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The GitHub Token value. */ readonly token: string; readonly tokenSecret: string; readonly type: string; } /** * Use this data source to access information about an existing App Service Source Control Token. * * > **Note:** This value can only be queried for the user or service principal that is executing Terraform. It is not possible to retrieve for another user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.appservice.getSourceControlToken({ * type: "GitHub", * }); * export const id = exampleAzurermAppServiceGithubToken.id; * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Web` - 2023-01-01 */ export declare function getSourceControlTokenOutput(args: GetSourceControlTokenOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSourceControlToken. */ export interface GetSourceControlTokenOutputArgs { /** * The Token type. Possible values include `Bitbucket`, `Dropbox`, `Github`, and `OneDrive`. */ type: pulumi.Input; }