import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Description for Gets the source control configuration of an app. * * Uses Azure REST API version 2025-05-01. * * Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-04-01, 2024-11-01, 2025-03-01, 2026-03-01-preview, 2026-03-15, 2026-07-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWebAppSourceControlSlot(args: GetWebAppSourceControlSlotArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetWebAppSourceControlSlotArgs { /** * Name of the app. */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot. */ slot: string; } /** * Source control configuration for an app. */ export interface GetWebAppSourceControlSlotResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Name of branch to use for deployment. */ readonly branch?: string; /** * true to enable deployment rollback; otherwise, false. */ readonly deploymentRollbackEnabled?: boolean; /** * If GitHub Action is selected, than the associated configuration. */ readonly gitHubActionConfiguration?: outputs.web.GitHubActionConfigurationResponse; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * true if this is deployed via GitHub action. */ readonly isGitHubAction?: boolean; /** * true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub). */ readonly isManualIntegration?: boolean; /** * true for a Mercurial repository; false for a Git repository. */ readonly isMercurial?: boolean; /** * Kind of resource. */ readonly kind?: string; /** * The name of the resource */ readonly name: string; /** * Repository or source control URL. */ readonly repoUrl?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.web.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Description for Gets the source control configuration of an app. * * Uses Azure REST API version 2025-05-01. * * Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-04-01, 2024-11-01, 2025-03-01, 2026-03-01-preview, 2026-03-15, 2026-07-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWebAppSourceControlSlotOutput(args: GetWebAppSourceControlSlotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetWebAppSourceControlSlotOutputArgs { /** * Name of the app. */ name: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot. */ slot: pulumi.Input; } //# sourceMappingURL=getWebAppSourceControlSlot.d.ts.map