Class LinkedServiceSqlServer
Manages a Linked Service (connection) between a SQL Server and Azure Data Factory.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "northeurope",
});
var exampleFactory = new Azure.DataFactory.Factory("exampleFactory", new Azure.DataFactory.FactoryArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
});
var exampleLinkedServiceSqlServer = new Azure.DataFactory.LinkedServiceSqlServer("exampleLinkedServiceSqlServer", new Azure.DataFactory.LinkedServiceSqlServerArgs
{
ResourceGroupName = exampleResourceGroup.Name,
DataFactoryName = exampleFactory.Name,
ConnectionString = "Integrated Security=False;Data Source=test;Initial Catalog=test;User ID=test;Password=test",
});
}
}
Inherited Members
Namespace: Pulumi.Azure.DataFactory
Assembly: Pulumi.Azure.dll
Syntax
public class LinkedServiceSqlServer : CustomResource
Constructors
View SourceLinkedServiceSqlServer(String, LinkedServiceSqlServerArgs, CustomResourceOptions)
Create a LinkedServiceSqlServer resource with the given unique name, arguments, and options.
Declaration
public LinkedServiceSqlServer(string name, LinkedServiceSqlServerArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| LinkedServiceSqlServerArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAdditionalProperties
A map of additional properties to associate with the Data Factory Linked Service SQL Server.
Declaration
public Output<ImmutableDictionary<string, string>> AdditionalProperties { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Annotations
List of tags that can be used for describing the Data Factory Linked Service SQL Server.
Declaration
public Output<ImmutableArray<string>> Annotations { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
ConnectionString
The connection string in which to authenticate with the SQL Server.
Declaration
public Output<string> ConnectionString { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DataFactoryName
The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
Declaration
public Output<string> DataFactoryName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
The description for the Data Factory Linked Service SQL Server.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IntegrationRuntimeName
The integration runtime reference to associate with the Data Factory Linked Service SQL Server.
Declaration
public Output<string> IntegrationRuntimeName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Data Factory Linked Service SQL Server. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Parameters
A map of parameters to associate with the Data Factory Linked Service SQL Server.
Declaration
public Output<ImmutableDictionary<string, string>> Parameters { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
ResourceGroupName
The name of the resource group in which to create the Data Factory Linked Service SQL Server. Changing this forces a new resource
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, LinkedServiceSqlServerState, CustomResourceOptions)
Get an existing LinkedServiceSqlServer resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static LinkedServiceSqlServer Get(string name, Input<string> id, LinkedServiceSqlServerState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| LinkedServiceSqlServerState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| LinkedServiceSqlServer |