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] Fix ssis execution credential (#…
Browse files Browse the repository at this point in the history
…4547)

* Generated from 8b1f253665d913fa9220085a4de852f5f3dcd66b

Fix ssis execute credential issue

* Generated from 8b1f253665d913fa9220085a4de852f5f3dcd66b

Fix ssis execute credential issue
  • Loading branch information
AutorestCI authored Jan 16, 2019
1 parent a48358c commit 904aab5
Show file tree
Hide file tree
Showing 10 changed files with 531 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default class DataFactoryManagementClient extends AzureServiceClient {
// Operation groups
operations: operations.Operations;
factories: operations.Factories;
exposureControl: operations.ExposureControl;
integrationRuntimes: operations.IntegrationRuntimes;
integrationRuntimeObjectMetadata: operations.IntegrationRuntimeObjectMetadata;
integrationRuntimeNodes: operations.IntegrationRuntimeNodes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class DataFactoryManagementClient extends ServiceClient {
}
this.operations = new operations.Operations(this);
this.factories = new operations.Factories(this);
this.exposureControl = new operations.ExposureControl(this);
this.integrationRuntimes = new operations.IntegrationRuntimes(this);
this.integrationRuntimeObjectMetadata = new operations.IntegrationRuntimeObjectMetadata(this);
this.integrationRuntimeNodes = new operations.IntegrationRuntimeNodes(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ class ExecuteSSISPackageActivity extends models['ExecutionActivity'] {
* @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} [executionCredential.domain] Domain for windows
* authentication.
* @property {object} [executionCredential.userName] UseName for windows
* authentication.
* @property {object} [executionCredential.password] Password for windows
* authentication.
* @property {string} [executionCredential.password.value] Value of secure
* string.
* @property {object} connectVia The integration runtime reference.
* @property {string} [connectVia.referenceName] Reference integration
* runtime name.
Expand Down Expand Up @@ -195,15 +203,8 @@ class ExecuteSSISPackageActivity extends models['ExecutionActivity'] {
required: false,
serializedName: 'typeProperties.executionCredential',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'SSISExecutionCredentialElementType',
type: {
name: 'Composite',
className: 'SSISExecutionCredential'
}
}
name: 'Composite',
className: 'SSISExecutionCredential'
}
},
connectVia: {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* 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';

/**
* The exposure control request.
*
*/
class ExposureControlRequest {
/**
* Create a ExposureControlRequest.
* @property {string} [featureName] The feature name.
* @property {string} [featureType] The feature type.
*/
constructor() {
}

/**
* Defines the metadata of ExposureControlRequest
*
* @returns {object} metadata of ExposureControlRequest
*
*/
mapper() {
return {
required: false,
serializedName: 'ExposureControlRequest',
type: {
name: 'Composite',
className: 'ExposureControlRequest',
modelProperties: {
featureName: {
required: false,
serializedName: 'featureName',
type: {
name: 'String'
}
},
featureType: {
required: false,
serializedName: 'featureType',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = ExposureControlRequest;
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/*
* 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';

/**
* The exposure control response.
*
*/
class ExposureControlResponse {
/**
* Create a ExposureControlResponse.
* @property {string} [featureName] The feature name.
* @property {string} [value] The feature value.
*/
constructor() {
}

/**
* Defines the metadata of ExposureControlResponse
*
* @returns {object} metadata of ExposureControlResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'ExposureControlResponse',
type: {
name: 'Composite',
className: 'ExposureControlResponse',
modelProperties: {
featureName: {
required: false,
readOnly: true,
serializedName: 'featureName',
type: {
name: 'String'
}
},
value: {
required: false,
readOnly: true,
serializedName: 'value',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = ExposureControlResponse;
30 changes: 29 additions & 1 deletion lib/services/datafactoryManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1343,6 +1343,34 @@ export interface SsisObjectMetadataStatusResponse {
error?: string;
}

/**
* The exposure control request.
*/
export interface ExposureControlRequest {
/**
* The feature name.
*/
featureName?: string;
/**
* The feature type.
*/
featureType?: string;
}

/**
* The exposure control response.
*/
export interface ExposureControlResponse {
/**
* The feature name.
*/
readonly featureName?: string;
/**
* The feature value.
*/
readonly value?: string;
}

/**
* Referenced dependency.
*/
Expand Down Expand Up @@ -6326,7 +6354,7 @@ export interface ExecuteSSISPackageActivity extends ExecutionActivity {
/**
* The package execution credential.
*/
executionCredential?: { [propertyName: string]: SSISExecutionCredential };
executionCredential?: SSISExecutionCredential;
/**
* The integration runtime reference.
*/
Expand Down
2 changes: 2 additions & 0 deletions lib/services/datafactoryManagement/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ exports.OperationServiceSpecification = require('./operationServiceSpecification
exports.Operation = require('./operation');
exports.GetSsisObjectMetadataRequest = require('./getSsisObjectMetadataRequest');
exports.SsisObjectMetadataStatusResponse = require('./ssisObjectMetadataStatusResponse');
exports.ExposureControlRequest = require('./exposureControlRequest');
exports.ExposureControlResponse = require('./exposureControlResponse');
exports.DependencyReference = require('./dependencyReference');
exports.SelfDependencyTumblingWindowTriggerReference = require('./selfDependencyTumblingWindowTriggerReference');
exports.TriggerReference = require('./triggerReference');
Expand Down
Loading

0 comments on commit 904aab5

Please sign in to comment.