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

[AutoPR datafactory/resource-manager] Fix ssis execution credential #4547

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -60,6 +60,13 @@ class AmazonMWSObjectDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ class AmazonS3Dataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ class AzureBlobDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ class AzureDataLakeStoreDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class AzureMySqlTableDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class AzurePostgreSqlTableDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class AzureSearchIndexDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class AzureSqlDWTableDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class AzureSqlTableDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class AzureTableDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ class CassandraTableDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class ConcurObjectDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class CouchbaseTableDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ class CustomDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
10 changes: 10 additions & 0 deletions lib/services/datafactoryManagement/lib/models/dataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ class Dataset {
* @property {object} [structure] Columns that define the structure of the
* dataset. Type: array (or Expression with resultType array), itemType:
* DatasetDataElement.
* @property {object} [schema] Columns that define the physical type schema
* of the dataset. Type: array (or Expression with resultType array),
* itemType: DatasetSchemaDataElement.
* @property {object} linkedServiceName Linked service reference.
* @property {string} [linkedServiceName.referenceName] Reference
* LinkedService name.
Expand Down Expand Up @@ -84,6 +87,13 @@ class Dataset {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ class DatasetResource extends models['SubResource'] {
* @property {object} [properties.structure] Columns that define the
* structure of the dataset. Type: array (or Expression with resultType
* array), itemType: DatasetDataElement.
* @property {object} [properties.schema] Columns that define the physical
* type schema of the dataset. Type: array (or Expression with resultType
* array), itemType: DatasetSchemaDataElement.
* @property {object} [properties.linkedServiceName] Linked service
* reference.
* @property {string} [properties.linkedServiceName.referenceName] Reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class DocumentDbCollectionDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class DrillTableDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class DynamicsEntityDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class EloquaObjectDataset extends models['Dataset'] {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
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;
Loading