import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieve the source control identified by source control name. * * Uses Azure REST API version 2024-10-23. * * Other available API versions: 2017-05-15-preview, 2019-06-01, 2020-01-13-preview, 2022-08-08, 2023-05-15-preview, 2023-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native automation [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getSourceControl(args: GetSourceControlArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetSourceControlArgs { /** * The name of the automation account. */ automationAccountName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of source control. */ sourceControlName: string; } /** * Definition of the source control. */ export interface GetSourceControlResult { /** * The auto sync of the source control. Default is false. */ readonly autoSync?: boolean; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The repo branch of the source control. Include branch as empty string for VsoTfvc. */ readonly branch?: string; /** * The creation time. */ readonly creationTime?: string; /** * The description. */ readonly description?: string; /** * The folder path of the source control. */ readonly folderPath?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The last modified time. */ readonly lastModifiedTime?: string; /** * The name of the resource */ readonly name: string; /** * The auto publish of the source control. Default is true. */ readonly publishRunbook?: boolean; /** * The repo url of the source control. */ readonly repoUrl?: string; /** * The source type. Must be one of VsoGit, VsoTfvc, GitHub. */ readonly sourceType?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.automation.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Retrieve the source control identified by source control name. * * Uses Azure REST API version 2024-10-23. * * Other available API versions: 2017-05-15-preview, 2019-06-01, 2020-01-13-preview, 2022-08-08, 2023-05-15-preview, 2023-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native automation [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getSourceControlOutput(args: GetSourceControlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetSourceControlOutputArgs { /** * The name of the automation account. */ automationAccountName: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * The name of source control. */ sourceControlName: pulumi.Input; } //# sourceMappingURL=getSourceControl.d.ts.map