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

92 lines (91 loc) 3.54 kB
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 2024-04-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-11-01. 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 getWebAppSourceControl(args: GetWebAppSourceControlArgs, opts?: pulumi.InvokeOptions): Promise<GetWebAppSourceControlResult>; export interface GetWebAppSourceControlArgs { /** * Name of the app. */ name: string; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: string; } /** * Source control configuration for an app. */ export interface GetWebAppSourceControlResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Name of branch to use for deployment. */ readonly branch?: string; /** * <code>true</code> to enable deployment rollback; otherwise, <code>false</code>. */ readonly deploymentRollbackEnabled?: boolean; /** * If GitHub Action is selected, than the associated configuration. */ readonly gitHubActionConfiguration?: outputs.web.GitHubActionConfigurationResponse; /** * Resource Id. */ readonly id: string; /** * <code>true</code> if this is deployed via GitHub action. */ readonly isGitHubAction?: boolean; /** * <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub). */ readonly isManualIntegration?: boolean; /** * <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository. */ readonly isMercurial?: boolean; /** * Kind of resource. */ readonly kind?: string; /** * Resource Name. */ readonly name: string; /** * Repository or source control URL. */ readonly repoUrl?: string; /** * Resource type. */ readonly type: string; } /** * Description for Gets the source control configuration of an app. * * Uses Azure REST API version 2024-04-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-11-01. 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 getWebAppSourceControlOutput(args: GetWebAppSourceControlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebAppSourceControlResult>; export interface GetWebAppSourceControlOutputArgs { /** * Name of the app. */ name: pulumi.Input<string>; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: pulumi.Input<string>; }