import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Data Factory Binary Dataset inside an Azure Data Factory. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example", * location: "West Europe", * }); * const exampleFactory = new azure.datafactory.Factory("example", { * name: "example", * location: example.location, * resourceGroupName: example.name, * }); * const exampleLinkedServiceSftp = new azure.datafactory.LinkedServiceSftp("example", { * name: "example", * dataFactoryId: exampleFactory.id, * authenticationType: "Basic", * host: "http://www.bing.com", * port: 22, * username: "foo", * password: "bar", * }); * const exampleDatasetBinary = new azure.datafactory.DatasetBinary("example", { * name: "example", * dataFactoryId: exampleFactory.id, * linkedServiceName: exampleLinkedServiceSftp.name, * sftpServerLocation: { * path: "/test/", * filename: "**", * }, * }); * ``` * * ## Import * * Data Factory Binary Datasets can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:datafactory/datasetBinary:DatasetBinary example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/datasets/example * ``` */ export declare class DatasetBinary extends pulumi.CustomResource { /** * Get an existing DatasetBinary 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?: DatasetBinaryState, opts?: pulumi.CustomResourceOptions): DatasetBinary; /** * Returns true if the given object is an instance of DatasetBinary. 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 DatasetBinary; /** * A map of additional properties to associate with the Data Factory Binary Dataset. */ readonly additionalProperties: pulumi.Output<{ [key: string]: string; } | undefined>; /** * List of tags that can be used for describing the Data Factory Binary Dataset. */ readonly annotations: pulumi.Output; /** * A `azureBlobStorageLocation` block as defined below. */ readonly azureBlobStorageLocation: pulumi.Output; /** * A `compression` block as defined below. */ readonly compression: pulumi.Output; /** * The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource. */ readonly dataFactoryId: pulumi.Output; /** * The description for the Data Factory Dataset. */ readonly description: pulumi.Output; /** * The folder that this Dataset is in. If not specified, the Dataset will appear at the root level. */ readonly folder: pulumi.Output; /** * A `httpServerLocation` block as defined below. */ readonly httpServerLocation: pulumi.Output; /** * The Data Factory Linked Service name in which to associate the Binary Dataset with. */ readonly linkedServiceName: pulumi.Output; /** * Specifies the name of the Data Factory Binary Dataset. 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; /** * Specifies a list of parameters to associate with the Data Factory Binary Dataset. * * The following supported locations for a Binary Dataset. One of these should be specified: */ readonly parameters: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A `sftpServerLocation` block as defined below. */ readonly sftpServerLocation: pulumi.Output; /** * Create a DatasetBinary 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: DatasetBinaryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DatasetBinary resources. */ export interface DatasetBinaryState { /** * A map of additional properties to associate with the Data Factory Binary Dataset. */ additionalProperties?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * List of tags that can be used for describing the Data Factory Binary Dataset. */ annotations?: pulumi.Input[]>; /** * A `azureBlobStorageLocation` block as defined below. */ azureBlobStorageLocation?: pulumi.Input; /** * A `compression` block as defined below. */ compression?: pulumi.Input; /** * The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource. */ dataFactoryId?: pulumi.Input; /** * The description for the Data Factory Dataset. */ description?: pulumi.Input; /** * The folder that this Dataset is in. If not specified, the Dataset will appear at the root level. */ folder?: pulumi.Input; /** * A `httpServerLocation` block as defined below. */ httpServerLocation?: pulumi.Input; /** * The Data Factory Linked Service name in which to associate the Binary Dataset with. */ linkedServiceName?: pulumi.Input; /** * Specifies the name of the Data Factory Binary Dataset. 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; /** * Specifies a list of parameters to associate with the Data Factory Binary Dataset. * * The following supported locations for a Binary Dataset. One of these should be specified: */ parameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A `sftpServerLocation` block as defined below. */ sftpServerLocation?: pulumi.Input; } /** * The set of arguments for constructing a DatasetBinary resource. */ export interface DatasetBinaryArgs { /** * A map of additional properties to associate with the Data Factory Binary Dataset. */ additionalProperties?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * List of tags that can be used for describing the Data Factory Binary Dataset. */ annotations?: pulumi.Input[]>; /** * A `azureBlobStorageLocation` block as defined below. */ azureBlobStorageLocation?: pulumi.Input; /** * A `compression` block as defined below. */ compression?: pulumi.Input; /** * The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource. */ dataFactoryId: pulumi.Input; /** * The description for the Data Factory Dataset. */ description?: pulumi.Input; /** * The folder that this Dataset is in. If not specified, the Dataset will appear at the root level. */ folder?: pulumi.Input; /** * A `httpServerLocation` block as defined below. */ httpServerLocation?: pulumi.Input; /** * The Data Factory Linked Service name in which to associate the Binary Dataset with. */ linkedServiceName: pulumi.Input; /** * Specifies the name of the Data Factory Binary Dataset. 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; /** * Specifies a list of parameters to associate with the Data Factory Binary Dataset. * * The following supported locations for a Binary Dataset. One of these should be specified: */ parameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A `sftpServerLocation` block as defined below. */ sftpServerLocation?: pulumi.Input; }