@@ -170,190 +170,190 @@ In this step, you create a pipeline with an Execute SSIS Package activity. The a
170
170
> [ !IMPORTANT]
171
171
> Replace object names, descriptions, and paths, property or parameter values, passwords, and other variable values before you save the file.
172
172
173
- ```json
174
- {
175
- "name": "RunSSISPackagePipeline",
176
- "properties": {
177
- "activities": [{
178
- "name": "MySSISActivity",
179
- "description": "My SSIS package/activity description",
180
- "type": "ExecuteSSISPackage",
181
- "typeProperties": {
182
- "connectVia": {
183
- "referenceName": "MyAzureSSISIR",
184
- "type": "IntegrationRuntimeReference"
185
- },
186
- "executionCredential": {
187
- "domain": "MyExecutionDomain",
188
- "username": "MyExecutionUsername",
189
- "password": {
190
- "type": "SecureString",
191
- "value": "MyExecutionPassword"
192
- }
193
- },
194
- "runtime": "x64",
195
- "loggingLevel": "Basic",
196
- "packageLocation": {
197
- "packagePath": "MyFolder/MyProject/MyPackage.dtsx",
198
- "type": "SSISDB"
199
- },
200
- "environmentPath": "MyFolder/MyEnvironment",
201
- "projectParameters": {
202
- "project_param_1": {
203
- "value": "123"
173
+ ``` json
174
+ {
175
+ "name" : " RunSSISPackagePipeline" ,
176
+ "properties" : {
177
+ "activities" : [{
178
+ "name" : " MySSISActivity" ,
179
+ "description" : " My SSIS package/activity description" ,
180
+ "type" : " ExecuteSSISPackage" ,
181
+ "typeProperties" : {
182
+ "connectVia" : {
183
+ "referenceName" : " MyAzureSSISIR" ,
184
+ "type" : " IntegrationRuntimeReference"
185
+ },
186
+ "executionCredential" : {
187
+ "domain" : " MyExecutionDomain" ,
188
+ "username" : " MyExecutionUsername" ,
189
+ "password" : {
190
+ "type" : " SecureString" ,
191
+ "value" : " MyExecutionPassword"
192
+ }
193
+ },
194
+ "runtime" : " x64" ,
195
+ "loggingLevel" : " Basic" ,
196
+ "packageLocation" : {
197
+ "packagePath" : " MyFolder/MyProject/MyPackage.dtsx" ,
198
+ "type" : " SSISDB"
199
+ },
200
+ "environmentPath" : " MyFolder/MyEnvironment" ,
201
+ "projectParameters" : {
202
+ "project_param_1" : {
203
+ "value" : " 123"
204
+ },
205
+ "project_param_2" : {
206
+ "value" : {
207
+ "value" : " @pipeline().parameters.MyProjectParameter" ,
208
+ "type" : " Expression"
209
+ }
210
+ }
211
+ },
212
+ "packageParameters" : {
213
+ "package_param_1" : {
214
+ "value" : " 345"
215
+ },
216
+ "package_param_2" : {
217
+ "value" : {
218
+ "type" : " AzureKeyVaultSecret" ,
219
+ "store" : {
220
+ "referenceName" : " myAKV" ,
221
+ "type" : " LinkedServiceReference"
204
222
},
205
- "project_param_2": {
206
- "value": {
207
- "value": "@pipeline().parameters.MyProjectParameter",
208
- "type": "Expression"
209
- }
210
- }
223
+ "secretName" : " MyPackageParameter"
224
+ }
225
+ }
226
+ },
227
+ "projectConnectionManagers" : {
228
+ "MyAdonetCM" : {
229
+ "username" : {
230
+ "value" : " MyConnectionUsername"
211
231
},
212
- "packageParameters": {
213
- "package_param_1": {
214
- "value": "345"
215
- },
216
- "package_param_2": {
217
- "value": {
218
- "type": "AzureKeyVaultSecret",
219
- "store": {
220
- "referenceName": "myAKV",
221
- "type": "LinkedServiceReference"
222
- },
223
- "secretName": "MyPackageParameter"
224
- }
232
+ "password" : {
233
+ "value" : {
234
+ "type" : " SecureString" ,
235
+ "value" : " MyConnectionPassword"
225
236
}
226
- },
227
- "projectConnectionManagers": {
228
- "MyAdonetCM": {
229
- "username": {
230
- "value": "MyConnectionUsername"
231
- },
232
- "password": {
233
- "value": {
234
- "type": "SecureString",
235
- "value": "MyConnectionPassword"
236
- }
237
- }
237
+ }
238
+ }
239
+ },
240
+ "packageConnectionManagers" : {
241
+ "MyOledbCM" : {
242
+ "username" : {
243
+ "value" : {
244
+ "value" : " @pipeline().parameters.MyConnectionUsername" ,
245
+ "type" : " Expression"
238
246
}
239
247
},
240
- "packageConnectionManagers": {
241
- "MyOledbCM": {
242
- "username": {
243
- "value": {
244
- "value": "@pipeline().parameters.MyConnectionUsername",
245
- "type": "Expression"
246
- }
248
+ "password" : {
249
+ "value" : {
250
+ "type" : " AzureKeyVaultSecret" ,
251
+ "store" : {
252
+ "referenceName" : " myAKV" ,
253
+ "type" : " LinkedServiceReference"
247
254
},
248
- "password": {
249
- "value": {
250
- "type": "AzureKeyVaultSecret",
251
- "store": {
252
- "referenceName": "myAKV",
253
- "type": "LinkedServiceReference"
254
- },
255
- "secretName": "MyConnectionPassword",
256
- "secretVersion": "MyConnectionPasswordVersion"
257
- }
258
- }
259
- }
260
- },
261
- "propertyOverrides": {
262
- "\\Package.MaxConcurrentExecutables": {
263
- "value": 8,
264
- "isSensitive": false
255
+ "secretName" : " MyConnectionPassword" ,
256
+ "secretVersion" : " MyConnectionPasswordVersion"
265
257
}
266
258
}
267
- },
268
- "policy": {
269
- "timeout": "0.01:00:00",
270
- "retry": 0,
271
- "retryIntervalInSeconds": 30
272
259
}
273
- }]
260
+ },
261
+ "propertyOverrides" : {
262
+ "\\ Package.MaxConcurrentExecutables" : {
263
+ "value" : 8 ,
264
+ "isSensitive" : false
265
+ }
266
+ }
267
+ },
268
+ "policy" : {
269
+ "timeout" : " 0.01:00:00" ,
270
+ "retry" : 0 ,
271
+ "retryIntervalInSeconds" : 30
274
272
}
275
- }
276
- ```
273
+ }]
274
+ }
275
+ }
276
+ ```
277
277
278
278
To execute packages stored in file systems, file shares, or Azure Files, enter the values for your package or log location properties as follows:
279
279
280
- ```json
280
+ ``` json
281
+ {
282
+ {
281
283
{
282
284
{
283
- {
284
- {
285
- "packageLocation": {
286
- "packagePath": "//MyStorageAccount.file.core.windows.net/MyFileShare/MyPackage.dtsx",
287
- "type": "File",
288
- "typeProperties": {
289
- "packagePassword": {
290
- "type": "SecureString",
291
- "value": "MyEncryptionPassword"
292
- },
293
- "accessCredential": {
294
- "domain": "Azure",
295
- "username": "MyStorageAccount",
296
- "password": {
297
- "type": "SecureString",
298
- "value": "MyAccountKey"
299
- }
300
- }
285
+ "packageLocation" : {
286
+ "packagePath" : " //MyStorageAccount.file.core.windows.net/MyFileShare/MyPackage.dtsx" ,
287
+ "type" : " File" ,
288
+ "typeProperties" : {
289
+ "packagePassword" : {
290
+ "type" : " SecureString" ,
291
+ "value" : " MyEncryptionPassword"
292
+ },
293
+ "accessCredential" : {
294
+ "domain" : " Azure" ,
295
+ "username" : " MyStorageAccount" ,
296
+ "password" : {
297
+ "type" : " SecureString" ,
298
+ "value" : " MyAccountKey"
301
299
}
300
+ }
301
+ }
302
+ },
303
+ "logLocation" : {
304
+ "logPath" : " //MyStorageAccount.file.core.windows.net/MyFileShare/MyLogFolder" ,
305
+ "type" : " File" ,
306
+ "typeProperties" : {
307
+ "accessCredential" : {
308
+ "domain" : " Azure" ,
309
+ "username" : " MyStorageAccount" ,
310
+ "password" : {
311
+ "type" : " AzureKeyVaultSecret" ,
312
+ "store" : {
313
+ "referenceName" : " myAKV" ,
314
+ "type" : " LinkedServiceReference"
302
315
},
303
- "logLocation": {
304
- "logPath": "//MyStorageAccount.file.core.windows.net/MyFileShare/MyLogFolder",
305
- "type": "File",
306
- "typeProperties": {
307
- "accessCredential": {
308
- "domain": "Azure",
309
- "username": "MyStorageAccount",
310
- "password": {
311
- "type": "AzureKeyVaultSecret",
312
- "store": {
313
- "referenceName": "myAKV",
314
- "type": "LinkedServiceReference"
315
- },
316
- "secretName": "MyAccountKey"
317
- }
318
- }
316
+ "secretName" : " MyAccountKey"
319
317
}
320
318
}
321
319
}
322
320
}
323
321
}
324
322
}
325
- ```
323
+ }
324
+ }
325
+ ```
326
326
327
327
To execute packages within projects stored in file systems, file shares, or Azure Files, enter the values for your package location property as follows:
328
328
329
- ```json
329
+ ``` json
330
+ {
331
+ {
330
332
{
331
333
{
332
- {
333
- {
334
- "packageLocation": {
335
- "packagePath": "//MyStorageAccount.file.core.windows.net/MyFileShare/MyProject.ispac:MyPackage.dtsx",
336
- "type": "File",
337
- "typeProperties": {
338
- "packagePassword": {
339
- "type": "SecureString",
340
- "value": "MyEncryptionPassword"
341
- },
342
- "accessCredential": {
343
- "domain": "Azure",
344
- "userName": "MyStorageAccount",
345
- "password": {
346
- "type": "SecureString",
347
- "value": "MyAccountKey"
348
- }
349
- }
334
+ "packageLocation" : {
335
+ "packagePath" : " //MyStorageAccount.file.core.windows.net/MyFileShare/MyProject.ispac:MyPackage.dtsx" ,
336
+ "type" : " File" ,
337
+ "typeProperties" : {
338
+ "packagePassword" : {
339
+ "type" : " SecureString" ,
340
+ "value" : " MyEncryptionPassword"
341
+ },
342
+ "accessCredential" : {
343
+ "domain" : " Azure" ,
344
+ "userName" : " MyStorageAccount" ,
345
+ "password" : {
346
+ "type" : " SecureString" ,
347
+ "value" : " MyAccountKey"
350
348
}
351
349
}
352
350
}
353
351
}
354
352
}
355
353
}
356
- ```
354
+ }
355
+ }
356
+ ```
357
357
358
358
2 . In Azure PowerShell, switch to the * C:\ADF\RunSSISPackage* folder.
359
359
@@ -415,29 +415,29 @@ In the previous step, you ran the pipeline on demand. You can also create a sche
415
415
416
416
1 . Create a JSON file named * MyTrigger.json* in the * C:\ADF\RunSSISPackage* folder with the following content:
417
417
418
- ```json
419
- {
420
- "properties": {
421
- "name": "MyTrigger",
422
- "type": "ScheduleTrigger",
423
- "typeProperties": {
424
- "recurrence": {
425
- "frequency": "Hour",
426
- "interval": 1,
427
- "startTime": "2017-12-07T00:00:00-08:00",
428
- "endTime": "2017-12-08T00:00:00-08:00"
429
- }
430
- },
431
- "pipelines": [ {
432
- "pipelineReference": {
433
- "type": "PipelineReference",
434
- "referenceName": "RunSSISPackagePipeline"
435
- },
436
- "parameters": {}
437
- }]
418
+ ``` json
419
+ {
420
+ "properties" : {
421
+ "name" : " MyTrigger" ,
422
+ "type" : " ScheduleTrigger" ,
423
+ "typeProperties" : {
424
+ "recurrence" : {
425
+ "frequency" : " Hour" ,
426
+ "interval" : 1 ,
427
+ "startTime" : " 2017-12-07T00:00:00-08:00" ,
428
+ "endTime" : " 2017-12-08T00:00:00-08:00"
438
429
}
439
- }
440
- ```
430
+ },
431
+ "pipelines" : [{
432
+ "pipelineReference" : {
433
+ "type" : " PipelineReference" ,
434
+ "referenceName" : " RunSSISPackagePipeline"
435
+ },
436
+ "parameters" : {}
437
+ }]
438
+ }
439
+ }
440
+ ```
441
441
442
442
1 . In Azure PowerShell, switch to the * C:\ADF\RunSSISPackage* folder.
443
443
1 . Run the ** Set-AzDataFactoryV2Trigger** cmdlet, which creates the trigger.
0 commit comments