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

90 lines (89 loc) 3.77 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Container App SourceControl. * * Uses Azure REST API version 2025-02-02-preview. * * Other available API versions: 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01. 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 getContainerAppsSourceControl(args: GetContainerAppsSourceControlArgs, opts?: pulumi.InvokeOptions): Promise<GetContainerAppsSourceControlResult>; export interface GetContainerAppsSourceControlArgs { /** * Name of the Container App. */ containerAppName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * Name of the Container App SourceControl. */ sourceControlName: string; } /** * Container App SourceControl. */ export interface GetContainerAppsSourceControlResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The branch which will trigger the auto deployment */ readonly branch?: string; /** * Container App Revision Template with all possible settings and the * defaults if user did not provide them. The defaults are populated * as they were at the creation time */ readonly githubActionConfiguration?: outputs.app.GithubActionConfigurationResponse; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The name of the resource */ readonly name: string; /** * Current provisioning State of the operation */ readonly operationState: string; /** * The repo url which will be integrated to ContainerApp. */ readonly repoUrl?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.app.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Container App SourceControl. * * Uses Azure REST API version 2025-02-02-preview. * * Other available API versions: 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01. 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 getContainerAppsSourceControlOutput(args: GetContainerAppsSourceControlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContainerAppsSourceControlResult>; export interface GetContainerAppsSourceControlOutputArgs { /** * Name of the Container App. */ containerAppName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Name of the Container App SourceControl. */ sourceControlName: pulumi.Input<string>; }