import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Azure Data Factory (Version 2). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleFactory = new azure.datafactory.Factory("example", { * name: "example", * location: example.location, * resourceGroupName: example.name, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DataFactory` - 2018-06-01 * * ## Import * * Data Factory can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:datafactory/factory:Factory example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example * ``` */ export declare class Factory extends pulumi.CustomResource { /** * Get an existing Factory resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FactoryState, opts?: pulumi.CustomResourceOptions): Factory; /** * Returns true if the given object is an instance of Factory. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Factory; /** * Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity. */ readonly customerManagedKeyId: pulumi.Output; /** * Specifies the ID of the user assigned identity associated with the Customer Managed Key. Must be supplied at factory creation if `customerManagedKeyId` is set. Can be left empty once factory is created to use the system assigned identity. See the [Microsoft documentation](https://learn.microsoft.com/en-us/azure/data-factory/enable-customer-managed-key) for more information. */ readonly customerManagedKeyIdentityId: pulumi.Output; /** * A `githubConfiguration` block as defined below. */ readonly githubConfiguration: pulumi.Output; /** * A list of `globalParameter` blocks as defined above. */ readonly globalParameters: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Is Managed Virtual Network enabled? */ readonly managedVirtualNetworkEnabled: pulumi.Output; /** * Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the [Microsoft documentation](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions. */ readonly name: pulumi.Output; /** * Is the Data Factory visible to the public network? Defaults to `true`. */ readonly publicNetworkEnabled: pulumi.Output; /** * Specifies the ID of the purview account resource associated with the Data Factory. */ readonly purviewId: pulumi.Output; /** * The name of the resource group in which to create the Data Factory. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A `vstsConfiguration` block as defined below. */ readonly vstsConfiguration: pulumi.Output; /** * Create a Factory resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FactoryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Factory resources. */ export interface FactoryState { /** * Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity. */ customerManagedKeyId?: pulumi.Input; /** * Specifies the ID of the user assigned identity associated with the Customer Managed Key. Must be supplied at factory creation if `customerManagedKeyId` is set. Can be left empty once factory is created to use the system assigned identity. See the [Microsoft documentation](https://learn.microsoft.com/en-us/azure/data-factory/enable-customer-managed-key) for more information. */ customerManagedKeyIdentityId?: pulumi.Input; /** * A `githubConfiguration` block as defined below. */ githubConfiguration?: pulumi.Input; /** * A list of `globalParameter` blocks as defined above. */ globalParameters?: pulumi.Input[]>; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Is Managed Virtual Network enabled? */ managedVirtualNetworkEnabled?: pulumi.Input; /** * Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the [Microsoft documentation](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions. */ name?: pulumi.Input; /** * Is the Data Factory visible to the public network? Defaults to `true`. */ publicNetworkEnabled?: pulumi.Input; /** * Specifies the ID of the purview account resource associated with the Data Factory. */ purviewId?: pulumi.Input; /** * The name of the resource group in which to create the Data Factory. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A `vstsConfiguration` block as defined below. */ vstsConfiguration?: pulumi.Input; } /** * The set of arguments for constructing a Factory resource. */ export interface FactoryArgs { /** * Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity. */ customerManagedKeyId?: pulumi.Input; /** * Specifies the ID of the user assigned identity associated with the Customer Managed Key. Must be supplied at factory creation if `customerManagedKeyId` is set. Can be left empty once factory is created to use the system assigned identity. See the [Microsoft documentation](https://learn.microsoft.com/en-us/azure/data-factory/enable-customer-managed-key) for more information. */ customerManagedKeyIdentityId?: pulumi.Input; /** * A `githubConfiguration` block as defined below. */ githubConfiguration?: pulumi.Input; /** * A list of `globalParameter` blocks as defined above. */ globalParameters?: pulumi.Input[]>; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Is Managed Virtual Network enabled? */ managedVirtualNetworkEnabled?: pulumi.Input; /** * Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the [Microsoft documentation](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions. */ name?: pulumi.Input; /** * Is the Data Factory visible to the public network? Defaults to `true`. */ publicNetworkEnabled?: pulumi.Input; /** * Specifies the ID of the purview account resource associated with the Data Factory. */ purviewId?: pulumi.Input; /** * The name of the resource group in which to create the Data Factory. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A `vstsConfiguration` block as defined below. */ vstsConfiguration?: pulumi.Input; }