Skip to content

Commit a9b5a60

Browse files
Merge pull request #98753 from Samantha-Yu/adfupdate1212
Updated connectionString settings for remaining articles
2 parents 5b3d412 + 06a2a20 commit a9b5a60

17 files changed

+23
-86
lines changed

articles/data-factory/concepts-linked-services.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,7 @@ The following linked service is an Azure Storage linked service. Notice that the
7272
"properties": {
7373
"type": "AzureStorage",
7474
"typeProperties": {
75-
"connectionString": {
76-
"type": "SecureString",
77-
"value": "DefaultEndpointsProtocol=https;AccountName=<accountname>;AccountKey=<accountkey>"
78-
}
75+
"connectionString": "DefaultEndpointsProtocol=https;AccountName=<accountname>;AccountKey=<accountkey>"
7976
},
8077
"connectVia": {
8178
"referenceName": "<name of Integration Runtime>",

articles/data-factory/control-flow-execute-pipeline-activity.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,7 @@ This scenario has two pipelines:
163163
"properties": {
164164
"type": "AzureStorage",
165165
"typeProperties": {
166-
"connectionString": {
167-
"value": "DefaultEndpointsProtocol=https;AccountName=*****",
168-
"type": "SecureString"
169-
}
166+
"connectionString": "DefaultEndpointsProtocol=https;AccountName=*****;AccountKey=*****"
170167
}
171168
}
172169
}

articles/data-factory/control-flow-if-condition-activity.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,7 @@ Another example for expression is:
191191
"properties": {
192192
"type": "AzureStorage",
193193
"typeProperties": {
194-
"connectionString": {
195-
"value": "DefaultEndpointsProtocol=https;AccountName=<Azure Storage account name>;AccountKey=<Azure Storage account key>",
196-
"type": "SecureString"
197-
}
194+
"connectionString": "DefaultEndpointsProtocol=https;AccountName=<Azure Storage account name>;AccountKey=<Azure Storage account key>"
198195
}
199196
}
200197
}

articles/data-factory/control-flow-lookup-activity.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,7 @@ This storage account contains the JSON file with the names of the SQL tables.
233233
"properties": {
234234
"type": "AzureStorage",
235235
"typeProperties": {
236-
"connectionString": {
237-
"value": "DefaultEndpointsProtocol=https;AccountName=<StorageAccountName>;AccountKey=<StorageAccountKey>",
238-
"type": "SecureString"
239-
}
236+
"connectionString": "DefaultEndpointsProtocol=https;AccountName=<StorageAccountName>;AccountKey=<StorageAccountKey>"
240237
}
241238
},
242239
"name": "AzureStorageLinkedService"
@@ -253,10 +250,7 @@ This Azure SQL Database instance contains the data to be copied to Blob storage.
253250
"type": "AzureSqlDatabase",
254251
"description": "",
255252
"typeProperties": {
256-
"connectionString": {
257-
"value": "Server=<server>;Initial Catalog=<database>;User ID=<user>;Password=<password>;",
258-
"type": "SecureString"
259-
}
253+
"connectionString": "Server=<server>;Initial Catalog=<database>;User ID=<user>;Password=<password>;"
260254
}
261255
}
262256
}

articles/data-factory/control-flow-switch-activity.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,7 @@ The pipeline in this example copies data from an input folder to an output folde
231231
"properties": {
232232
"type": "AzureStorage",
233233
"typeProperties": {
234-
"connectionString": {
235-
"value": "DefaultEndpointsProtocol=https;AccountName=<Azure Storage account name>;AccountKey=<Azure Storage account key>",
236-
"type": "SecureString"
237-
}
234+
"connectionString": "DefaultEndpointsProtocol=https;AccountName=<Azure Storage account name>;AccountKey=<Azure Storage account key>"
238235
}
239236
}
240237
}

articles/data-factory/control-flow-until-activity.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,7 @@ The pipeline in this sample copies data from an input folder to an output folder
194194
"properties": {
195195
"type": "AzureStorage",
196196
"typeProperties": {
197-
"connectionString": {
198-
"value": "DefaultEndpointsProtocol=https;AccountName=<Azure Storage account name>;AccountKey=<Azure Storage account key>",
199-
"type": "SecureString"
200-
}
197+
"connectionString": "DefaultEndpointsProtocol=https;AccountName=<Azure Storage account name>;AccountKey=<Azure Storage account key>"
201198
}
202199
}
203200
}

articles/data-factory/create-azure-integration-runtime.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ Once an Azure IR is created, you can reference it in your Linked Service definit
4444
"properties": {
4545
"type": "AzureStorage",
4646
"typeProperties": {
47-
"connectionString": {
48-
"value": "DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=...",
49-
"type": "SecureString"
50-
}
47+
"connectionString": "DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=..."
5148
},
5249
"connectVia": {
5350
"referenceName": "MySampleAzureIR",

articles/data-factory/encrypt-credentials-self-hosted-integration-runtime.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ Replace `<servername>`, `<databasename>`, `<username>`, and `<password>` with va
3434
"properties": {
3535
"type": "SqlServer",
3636
"typeProperties": {
37-
"connectionString": {
38-
"type": "SecureString",
39-
"value": "Server=<servername>;Database=<databasename>;User ID=<username>;Password=<password>;Timeout=60"
40-
}
37+
"connectionString": "Server=<servername>;Database=<databasename>;User ID=<username>;Password=<password>;Timeout=60"
4138
},
4239
"connectVia": {
4340
"type": "integrationRuntimeReference",

articles/data-factory/how-to-invoke-ssis-package-stored-procedure-activity.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,7 @@ Create a linked service to link your Azure SQL database that hosts the SSIS cata
200200
"properties": {
201201
"type": "AzureSqlDatabase",
202202
"typeProperties": {
203-
"connectionString": {
204-
"type": "SecureString",
205-
"value": "Server=tcp:<servername>.database.windows.net,1433;Database=SSISDB;User ID=<username>;Password=<password>;Trusted_Connection=False;Encrypt=True;Connection Timeout=30"
206-
}
203+
"connectionString": "Server=tcp:<servername>.database.windows.net,1433;Database=SSISDB;User ID=<username>;Password=<password>;Trusted_Connection=False;Encrypt=True;Connection Timeout=30"
207204
}
208205
}
209206
}

articles/data-factory/parameterize-linked-services.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ manager: anandsub
1616

1717
You can now parameterize a linked service and pass dynamic values at run time. For example, if you want to connect to different databases on the same Azure SQL Database server, you can now parameterize the database name in the linked service definition. This prevents you from having to create a linked service for each database on the Azure SQL database server. You can parameterize other properties in the linked service definition as well - for example, *User name.*
1818

19-
You can use the Data Factory UI in the Azure Portal or a programming interface to parameterize linked services.
19+
You can use the Data Factory UI in the Azure portal or a programming interface to parameterize linked services.
2020

2121
> [!TIP]
2222
> We recommend not to parameterize passwords or secrets. Store all connection strings in Azure Key Vault instead, and parameterize the *Secret Name*.
@@ -51,10 +51,7 @@ At this time, linked service parameterization is supported in the Data Factory U
5151
"properties": {
5252
"type": "AzureSqlDatabase",
5353
"typeProperties": {
54-
"connectionString": {
55-
"value": "Server=tcp:myserver.database.windows.net,1433;Database=@{linkedService().DBName};User ID=user;Password=fake;Trusted_Connection=False;Encrypt=True;Connection Timeout=30",
56-
"type": "SecureString"
57-
}
54+
"connectionString": "Server=tcp:myserver.database.windows.net,1433;Database=@{linkedService().DBName};User ID=user;Password=fake;Trusted_Connection=False;Encrypt=True;Connection Timeout=30"
5855
},
5956
"connectVia": null,
6057
"parameters": {

0 commit comments

Comments
 (0)