import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Azure Data Factory (Version 2). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.datafactory.getFactory({ * name: "existing-adf", * resourceGroupName: "existing-rg", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.DataFactory` - 2018-06-01 */ export declare function getFactory(args: GetFactoryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFactory. */ export interface GetFactoryArgs { /** * The name of this Azure Data Factory. */ name: string; /** * The name of the Resource Group where the Azure Data Factory exists. */ resourceGroupName: string; } /** * A collection of values returned by getFactory. */ export interface GetFactoryResult { /** * A `githubConfiguration` block as defined below. */ readonly githubConfigurations: outputs.datafactory.GetFactoryGithubConfiguration[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as defined below. */ readonly identities: outputs.datafactory.GetFactoryIdentity[]; /** * The Azure Region where the Azure Data Factory exists. */ readonly location: string; readonly name: string; readonly resourceGroupName: string; /** * A mapping of tags assigned to the Azure Data Factory. */ readonly tags: { [key: string]: string; }; /** * A `vstsConfiguration` block as defined below. */ readonly vstsConfigurations: outputs.datafactory.GetFactoryVstsConfiguration[]; } /** * Use this data source to access information about an existing Azure Data Factory (Version 2). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.datafactory.getFactory({ * name: "existing-adf", * resourceGroupName: "existing-rg", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.DataFactory` - 2018-06-01 */ export declare function getFactoryOutput(args: GetFactoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFactory. */ export interface GetFactoryOutputArgs { /** * The name of this Azure Data Factory. */ name: pulumi.Input; /** * The name of the Resource Group where the Azure Data Factory exists. */ resourceGroupName: pulumi.Input; }