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

Commit

Permalink
Generated from af8bffa10fefa97dffc4d50f127481f09e74174e (#4541)
Browse files Browse the repository at this point in the history
Winauth Support in SSIS Activity
  • Loading branch information
AutorestCI authored Jan 14, 2019
1 parent a6e5698 commit 1aa32d2
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class ExecuteSSISPackageActivity extends models['ExecutionActivity'] {
* 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} [executionCredential] The package execution credential.
* @property {object} connectVia The integration runtime reference.
* @property {string} [connectVia.referenceName] Reference integration
* runtime name.
Expand Down Expand Up @@ -190,6 +191,21 @@ class ExecuteSSISPackageActivity extends models['ExecutionActivity'] {
name: 'Object'
}
},
executionCredential: {
required: false,
serializedName: 'typeProperties.executionCredential',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'SSISExecutionCredentialElementType',
type: {
name: 'Composite',
className: 'SSISExecutionCredential'
}
}
}
},
connectVia: {
required: true,
serializedName: 'typeProperties.connectVia',
Expand Down
22 changes: 22 additions & 0 deletions lib/services/datafactoryManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6267,6 +6267,24 @@ export interface SSISExecutionParameter {
value: any;
}

/**
* SSIS package execution credential.
*/
export interface SSISExecutionCredential {
/**
* Domain for windows authentication.
*/
domain: any;
/**
* UseName for windows authentication.
*/
userName: any;
/**
* Password for windows authentication.
*/
password: SecureString;
}

/**
* SSIS package location.
*/
Expand Down Expand Up @@ -6300,6 +6318,10 @@ export interface ExecuteSSISPackageActivity extends ExecutionActivity {
* string).
*/
environmentPath?: any;
/**
* The package execution credential.
*/
executionCredential?: { [propertyName: string]: SSISExecutionCredential };
/**
* The integration runtime reference.
*/
Expand Down
1 change: 1 addition & 0 deletions lib/services/datafactoryManagement/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ exports.CustomActivityReferenceObject = require('./customActivityReferenceObject
exports.CustomActivity = require('./customActivity');
exports.SSISPropertyOverride = require('./sSISPropertyOverride');
exports.SSISExecutionParameter = require('./sSISExecutionParameter');
exports.SSISExecutionCredential = require('./sSISExecutionCredential');
exports.SSISPackageLocation = require('./sSISPackageLocation');
exports.ExecuteSSISPackageActivity = require('./executeSSISPackageActivity');
exports.HDInsightSparkActivity = require('./hDInsightSparkActivity');
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* SSIS package execution credential.
*
*/
class SSISExecutionCredential {
/**
* Create a SSISExecutionCredential.
* @property {object} domain Domain for windows authentication.
* @property {object} userName UseName for windows authentication.
* @property {object} password Password for windows authentication.
* @property {string} [password.value] Value of secure string.
*/
constructor() {
}

/**
* Defines the metadata of SSISExecutionCredential
*
* @returns {object} metadata of SSISExecutionCredential
*
*/
mapper() {
return {
required: false,
serializedName: 'SSISExecutionCredential',
type: {
name: 'Composite',
className: 'SSISExecutionCredential',
modelProperties: {
domain: {
required: true,
serializedName: 'domain',
type: {
name: 'Object'
}
},
userName: {
required: true,
serializedName: 'userName',
type: {
name: 'Object'
}
},
password: {
required: true,
serializedName: 'password',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'SecretBase',
className: 'SecureString'
}
}
}
}
};
}
}

module.exports = SSISExecutionCredential;

0 comments on commit 1aa32d2

Please sign in to comment.