Dataset Azure Sql Table Args
data class DatasetAzureSqlTableArgs(val additionalProperties: Output<Map<String, String>>? = null, val annotations: Output<List<String>>? = null, val dataFactoryId: Output<String>? = null, val description: Output<String>? = null, val folder: Output<String>? = null, val linkedServiceId: Output<String>? = null, val name: Output<String>? = null, val parameters: Output<Map<String, String>>? = null, val schema: Output<String>? = null, val schemaColumns: Output<List<DatasetAzureSqlTableSchemaColumnArgs>>? = null, val table: Output<String>? = null) : ConvertibleToJava<DatasetAzureSqlTableArgs>
Manages an Azure SQL Table Dataset inside an Azure Data Factory.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.datafactory.Factory;
import com.pulumi.azure.datafactory.FactoryArgs;
import com.pulumi.azure.datafactory.LinkedServiceAzureSqlDatabase;
import com.pulumi.azure.datafactory.LinkedServiceAzureSqlDatabaseArgs;
import com.pulumi.azure.datafactory.DatasetAzureSqlTable;
import com.pulumi.azure.datafactory.DatasetAzureSqlTableArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleFactory = new Factory("exampleFactory", FactoryArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.build());
var exampleLinkedServiceAzureSqlDatabase = new LinkedServiceAzureSqlDatabase("exampleLinkedServiceAzureSqlDatabase", LinkedServiceAzureSqlDatabaseArgs.builder()
.dataFactoryId(exampleFactory.id())
.connectionString("Integrated Security=False;Data Source=test;Initial Catalog=test;Initial Catalog=test;User ID=test;Password=test")
.build());
var exampleDatasetAzureSqlTable = new DatasetAzureSqlTable("exampleDatasetAzureSqlTable", DatasetAzureSqlTableArgs.builder()
.dataFactoryId(exampleFactory.id())
.linkedServiceId(exampleLinkedServiceAzureSqlDatabase.id())
.build());
}
}
Content copied to clipboard
Import
Data Factory Azure SQL Table Datasets can be imported using the resource id
, e.g.
$ pulumi import azure:datafactory/datasetAzureSqlTable:DatasetAzureSqlTable example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/datasets/example
Content copied to clipboard
Constructors
Link copied to clipboard
fun DatasetAzureSqlTableArgs(additionalProperties: Output<Map<String, String>>? = null, annotations: Output<List<String>>? = null, dataFactoryId: Output<String>? = null, description: Output<String>? = null, folder: Output<String>? = null, linkedServiceId: Output<String>? = null, name: Output<String>? = null, parameters: Output<Map<String, String>>? = null, schema: Output<String>? = null, schemaColumns: Output<List<DatasetAzureSqlTableSchemaColumnArgs>>? = null, table: Output<String>? = null)
Functions
Properties
Link copied to clipboard
Specifies the name of the Data Factory Dataset Azure SQL Table. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.