Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
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 @@ -66,6 +66,7 @@ export default class DataFactoryManagementClient extends AzureServiceClient {
pipelineRuns: operations.PipelineRuns;
activityRuns: operations.ActivityRuns;
triggers: operations.Triggers;
triggerRuns: operations.TriggerRuns;
}

export { DataFactoryManagementClient, models as DataFactoryManagementModels };
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class DataFactoryManagementClient extends ServiceClient {

super(credentials, options);

this.apiVersion = '2017-09-01-preview';
this.apiVersion = '2018-06-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.generateClientRequestId = true;
Expand Down Expand Up @@ -82,6 +82,7 @@ class DataFactoryManagementClient extends ServiceClient {
this.pipelineRuns = new operations.PipelineRuns(this);
this.activityRuns = new operations.ActivityRuns(this);
this.triggers = new operations.Triggers(this);
this.triggerRuns = new operations.TriggerRuns(this);
this.models = models;
msRest.addSerializationMixin(this);
}
Expand Down
15 changes: 15 additions & 0 deletions lib/services/datafactoryManagement/lib/models/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class Activity {
* @member {string} name Activity name.
* @member {string} [description] Activity description.
* @member {array} [dependsOn] Activity depends on condition.
* @member {object} [userProperties] Activity user properties.
* @member {string} type Polymorphic Discriminator
*/
constructor() {
Expand Down Expand Up @@ -99,6 +100,20 @@ class Activity {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
/*
* 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';

const models = require('./index');

/**
* A list activity runs.
*
*/
class ActivityRunsQueryResponse {
/**
* Create a ActivityRunsQueryResponse.
* @member {array} value List of activity runs.
* @member {string} [continuationToken] The continuation token for getting
* the next page of results, if any remaining results exist, null otherwise.
*/
constructor() {
}

/**
* Defines the metadata of ActivityRunsQueryResponse
*
* @returns {object} metadata of ActivityRunsQueryResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'ActivityRunsQueryResponse',
type: {
name: 'Composite',
className: 'ActivityRunsQueryResponse',
modelProperties: {
value: {
required: true,
serializedName: 'value',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ActivityRunElementType',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
className: 'ActivityRun'
}
}
}
},
continuationToken: {
required: false,
serializedName: 'continuationToken',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = ActivityRunsQueryResponse;
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,20 @@ class AzureMLBatchExecutionActivity extends models['ExecutionActivity'] {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,20 @@ class AzureMLUpdateResourceActivity extends models['ExecutionActivity'] {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
14 changes: 14 additions & 0 deletions lib/services/datafactoryManagement/lib/models/controlActivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,20 @@ class ControlActivity extends models['Activity'] {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
24 changes: 19 additions & 5 deletions lib/services/datafactoryManagement/lib/models/copyActivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ class CopyActivity extends models['ExecutionActivity'] {
* @member {object} [parallelCopies] Maximum number of concurrent sessions
* opened on the source or sink to avoid overloading the data store. Type:
* integer (or Expression with resultType integer), minimum: 0.
* @member {object} [cloudDataMovementUnits] Maximum number of cloud data
* movement units that can be used to perform this data movement. Type:
* integer (or Expression with resultType integer), minimum: 0.
* @member {object} [dataIntegrationUnits] Maximum number of data integration
* units that can be used to perform this data movement. Type: integer (or
* Expression with resultType integer), minimum: 0.
* @member {object} [enableSkipIncompatibleRow] Whether to skip incompatible
* row. Default value is false. Type: boolean (or Expression with resultType
* boolean).
Expand Down Expand Up @@ -144,6 +144,20 @@ class CopyActivity extends models['ExecutionActivity'] {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down Expand Up @@ -289,9 +303,9 @@ class CopyActivity extends models['ExecutionActivity'] {
name: 'Object'
}
},
cloudDataMovementUnits: {
dataIntegrationUnits: {
required: false,
serializedName: 'typeProperties.cloudDataMovementUnits',
serializedName: 'typeProperties.dataIntegrationUnits',
type: {
name: 'Object'
}
Expand Down
14 changes: 14 additions & 0 deletions lib/services/datafactoryManagement/lib/models/customActivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,20 @@ class CustomActivity extends models['ExecutionActivity'] {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,20 @@ class DataLakeAnalyticsUSQLActivity extends models['ExecutionActivity'] {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,20 @@ class DatabricksNotebookActivity extends models['ExecutionActivity'] {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,20 @@ class ExecutePipelineActivity extends models['ControlActivity'] {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,20 @@ class ExecuteSSISPackageActivity extends models['ExecutionActivity'] {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
14 changes: 14 additions & 0 deletions lib/services/datafactoryManagement/lib/models/executionActivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,20 @@ class ExecutionActivity extends models['Activity'] {
}
}
},
userProperties: {
required: false,
serializedName: 'userProperties',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Loading