Skip to content

Commit 99abd7a

Browse files
authored
Update how-to-invoke-ssis-package-ssis-activity.md
1 parent 0723b33 commit 99abd7a

File tree

1 file changed

+172
-172
lines changed

1 file changed

+172
-172
lines changed

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

Lines changed: 172 additions & 172 deletions
Original file line numberDiff line numberDiff line change
@@ -170,190 +170,190 @@ In this step, you create a pipeline with an Execute SSIS Package activity. The a
170170
> [!IMPORTANT]
171171
> Replace object names, descriptions, and paths, property or parameter values, passwords, and other variable values before you save the file.
172172
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"
204222
},
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"
211231
},
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"
225236
}
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"
238246
}
239247
},
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"
247254
},
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"
265257
}
266258
}
267-
},
268-
"policy": {
269-
"timeout": "0.01:00:00",
270-
"retry": 0,
271-
"retryIntervalInSeconds": 30
272259
}
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
274272
}
275-
}
276-
```
273+
}]
274+
}
275+
}
276+
```
277277

278278
To execute packages stored in file systems, file shares, or Azure Files, enter the values for your package or log location properties as follows:
279279

280-
```json
280+
```json
281+
{
282+
{
281283
{
282284
{
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"
301299
}
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"
302315
},
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"
319317
}
320318
}
321319
}
322320
}
323321
}
324322
}
325-
```
323+
}
324+
}
325+
```
326326

327327
To execute packages within projects stored in file systems, file shares, or Azure Files, enter the values for your package location property as follows:
328328

329-
```json
329+
```json
330+
{
331+
{
330332
{
331333
{
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"
350348
}
351349
}
352350
}
353351
}
354352
}
355353
}
356-
```
354+
}
355+
}
356+
```
357357

358358
2. In Azure PowerShell, switch to the *C:\ADF\RunSSISPackage* folder.
359359

@@ -415,29 +415,29 @@ In the previous step, you ran the pipeline on demand. You can also create a sche
415415

416416
1. Create a JSON file named *MyTrigger.json* in the *C:\ADF\RunSSISPackage* folder with the following content:
417417

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"
438429
}
439-
}
440-
```
430+
},
431+
"pipelines": [{
432+
"pipelineReference": {
433+
"type": "PipelineReference",
434+
"referenceName": "RunSSISPackagePipeline"
435+
},
436+
"parameters": {}
437+
}]
438+
}
439+
}
440+
```
441441

442442
1. In Azure PowerShell, switch to the *C:\ADF\RunSSISPackage* folder.
443443
1. Run the **Set-AzDataFactoryV2Trigger** cmdlet, which creates the trigger.

0 commit comments

Comments
 (0)