Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
[AutoPR datafactory/resource-manager] [Azure Data Factory] Change Ssi…
Browse files Browse the repository at this point in the history
…s activity property type to support expression (#4488)

* Generated from f9be2a6b0020602b14ff1e64cfb47c38f096fffa

Change type of Ssis actitvity's packagePath, runtime, loggingLevel and
environmentPath from string to object, so that we can use expression for
these properties

* Generated from f9be2a6b0020602b14ff1e64cfb47c38f096fffa

Change type of Ssis actitvity's packagePath, runtime, loggingLevel and
environmentPath from string to object, so that we can use expression for
these properties
  • Loading branch information
AutorestCI authored Jan 4, 2019
1 parent d75db2a commit 3868b16
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 21 deletions.
2 changes: 1 addition & 1 deletion lib/services/datafactoryManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ class ExecuteSSISPackageActivity extends models['ExecutionActivity'] {
/**
* Create a ExecuteSSISPackageActivity.
* @property {object} packageLocation SSIS package location.
* @property {string} [packageLocation.packagePath] The SSIS package path.
* @property {string} [runtime] Specifies the runtime to execute SSIS
* package. Possible values include: 'x64', 'x86'
* @property {string} [loggingLevel] The logging level of SSIS package
* execution.
* @property {string} [environmentPath] The environment path to execute the
* SSIS package.
* @property {object} [packageLocation.packagePath] The SSIS package path.
* Type: string (or Expression with resultType string).
* @property {object} [runtime] Specifies the runtime to execute SSIS
* package. The value should be "x86" or "x64". Type: string (or Expression
* with resultType string).
* @property {object} [loggingLevel] The logging level of SSIS package
* execution. Type: string (or Expression with resultType string).
* @property {object} [environmentPath] The environment path to execute the
* SSIS package. Type: string (or Expression with resultType string).
* @property {object} connectVia The integration runtime reference.
* @property {string} [connectVia.referenceName] Reference integration
* runtime name.
Expand Down Expand Up @@ -171,21 +173,21 @@ class ExecuteSSISPackageActivity extends models['ExecutionActivity'] {
required: false,
serializedName: 'typeProperties.runtime',
type: {
name: 'String'
name: 'Object'
}
},
loggingLevel: {
required: false,
serializedName: 'typeProperties.loggingLevel',
type: {
name: 'String'
name: 'Object'
}
},
environmentPath: {
required: false,
serializedName: 'typeProperties.environmentPath',
type: {
name: 'String'
name: 'Object'
}
},
connectVia: {
Expand Down
19 changes: 11 additions & 8 deletions lib/services/datafactoryManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6272,9 +6272,9 @@ export interface SSISExecutionParameter {
*/
export interface SSISPackageLocation {
/**
* The SSIS package path.
* The SSIS package path. Type: string (or Expression with resultType string).
*/
packagePath: string;
packagePath: any;
}

/**
Expand All @@ -6286,17 +6286,20 @@ export interface ExecuteSSISPackageActivity extends ExecutionActivity {
*/
packageLocation: SSISPackageLocation;
/**
* Specifies the runtime to execute SSIS package. Possible values include: 'x64', 'x86'
* Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type:
* string (or Expression with resultType string).
*/
runtime?: string;
runtime?: any;
/**
* The logging level of SSIS package execution.
* The logging level of SSIS package execution. Type: string (or Expression with resultType
* string).
*/
loggingLevel?: string;
loggingLevel?: any;
/**
* The environment path to execute the SSIS package.
* The environment path to execute the SSIS package. Type: string (or Expression with resultType
* string).
*/
environmentPath?: string;
environmentPath?: any;
/**
* The integration runtime reference.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
class SSISPackageLocation {
/**
* Create a SSISPackageLocation.
* @property {string} packagePath The SSIS package path.
* @property {object} packagePath The SSIS package path. Type: string (or
* Expression with resultType string).
*/
constructor() {
}
Expand All @@ -40,7 +41,7 @@ class SSISPackageLocation {
required: true,
serializedName: 'packagePath',
type: {
name: 'String'
name: 'Object'
}
}
}
Expand Down

0 comments on commit 3868b16

Please sign in to comment.