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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@

import { ServiceClientCredentials } from 'ms-rest';
import { AzureServiceClient, AzureServiceClientOptions } from 'ms-rest-azure';
import * as models from "./models";
import * as operations from "./operations";

declare class DataFactoryManagementClient extends AzureServiceClient {
export default class DataFactoryManagementClient extends AzureServiceClient {
/**
* Initializes a new instance of the DataFactoryManagementClient class.
* @constructor
Expand Down Expand Up @@ -58,6 +59,7 @@ declare class DataFactoryManagementClient extends AzureServiceClient {
operations: operations.Operations;
factories: operations.Factories;
integrationRuntimes: operations.IntegrationRuntimes;
integrationRuntimeNodes: operations.IntegrationRuntimeNodes;
linkedServices: operations.LinkedServices;
datasets: operations.Datasets;
pipelines: operations.Pipelines;
Expand All @@ -66,4 +68,4 @@ declare class DataFactoryManagementClient extends AzureServiceClient {
triggers: operations.Triggers;
}

export = DataFactoryManagementClient;
export { DataFactoryManagementClient, models as DataFactoryManagementModels };
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class DataFactoryManagementClient extends ServiceClient {
this.operations = new operations.Operations(this);
this.factories = new operations.Factories(this);
this.integrationRuntimes = new operations.IntegrationRuntimes(this);
this.integrationRuntimeNodes = new operations.IntegrationRuntimeNodes(this);
this.linkedServices = new operations.LinkedServices(this);
this.datasets = new operations.Datasets(this);
this.pipelines = new operations.Pipelines(this);
Expand All @@ -88,3 +89,6 @@ class DataFactoryManagementClient extends ServiceClient {
}

module.exports = DataFactoryManagementClient;
module.exports['default'] = DataFactoryManagementClient;
module.exports.DataFactoryManagementClient = DataFactoryManagementClient;
module.exports.DataFactoryManagementModels = models;
25 changes: 25 additions & 0 deletions lib/services/datafactoryManagement/lib/models/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ class Activity {
serializedName: 'Activity',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
Expand Down Expand Up @@ -70,6 +82,18 @@ class Activity {
serializedName: 'ActivityDependencyElementType',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
className: 'ActivityDependency'
}
}
Expand All @@ -78,6 +102,7 @@ class Activity {
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ class ActivityDependency {
serializedName: 'ActivityDependency',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
className: 'ActivityDependency',
modelProperties: {
activity: {
Expand Down
21 changes: 21 additions & 0 deletions lib/services/datafactoryManagement/lib/models/activityPolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class ActivityPolicy {
* Type: integer (or Expression with resultType integer), minimum: 0.
* @member {number} [retryIntervalInSeconds] Interval between each retry
* attempt (in seconds). The default is 30 sec.
* @member {boolean} [secureOutput] When set to true, Output from activity is
* considered as secure and will not be logged to monitoring.
*/
constructor() {
}
Expand All @@ -40,6 +42,18 @@ class ActivityPolicy {
serializedName: 'ActivityPolicy',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
className: 'ActivityPolicy',
modelProperties: {
timeout: {
Expand All @@ -66,6 +80,13 @@ class ActivityPolicy {
type: {
name: 'Number'
}
},
secureOutput: {
required: false,
serializedName: 'secureOutput',
type: {
name: 'Boolean'
}
}
}
}
Expand Down
12 changes: 12 additions & 0 deletions lib/services/datafactoryManagement/lib/models/activityRun.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ class ActivityRun {
serializedName: 'ActivityRun',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
className: 'ActivityRun',
modelProperties: {
pipelineName: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@ class ActivityRunsListResponse extends Array {
serializedName: 'ActivityRunElementType',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
className: 'ActivityRun'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ class AmazonMWSLinkedService extends models['LinkedService'] {
serializedName: 'AmazonMWS',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'LinkedService',
className: 'AmazonMWSLinkedService',
modelProperties: {
connectVia: {
Expand All @@ -76,9 +81,39 @@ class AmazonMWSLinkedService extends models['LinkedService'] {
name: 'String'
}
},
parameters: {
required: false,
serializedName: 'parameters',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ParameterSpecificationElementType',
type: {
name: 'Composite',
className: 'ParameterSpecification'
}
}
}
},
annotations: {
required: false,
serializedName: 'annotations',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ class AmazonMWSObjectDataset extends models['Dataset'] {
serializedName: 'AmazonMWSObject',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'Dataset',
className: 'AmazonMWSObjectDataset',
modelProperties: {
description: {
Expand Down Expand Up @@ -77,9 +82,24 @@ class AmazonMWSObjectDataset extends models['Dataset'] {
}
}
},
annotations: {
required: false,
serializedName: 'annotations',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ class AmazonMWSSource extends models['CopySource'] {
serializedName: 'AmazonMWSSource',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'CopySource',
className: 'AmazonMWSSource',
modelProperties: {
sourceRetryCount: {
Expand All @@ -58,6 +63,7 @@ class AmazonMWSSource extends models['CopySource'] {
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AmazonRedshiftLinkedService extends models['LinkedService'] {
* @member {object} [username] The username of the Amazon Redshift source.
* Type: string (or Expression with resultType string).
* @member {object} [password] The password of the Amazon Redshift source.
* @member {string} [password.value] Value of secure string.
* @member {string} [password.type] Polymorphic Discriminator
* @member {object} database The database name of the Amazon Redshift source.
* Type: string (or Expression with resultType string).
* @member {object} [port] The TCP port number that the Amazon Redshift
Expand All @@ -51,6 +51,11 @@ class AmazonRedshiftLinkedService extends models['LinkedService'] {
serializedName: 'AmazonRedshift',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'LinkedService',
className: 'AmazonRedshiftLinkedService',
modelProperties: {
connectVia: {
Expand All @@ -68,9 +73,39 @@ class AmazonRedshiftLinkedService extends models['LinkedService'] {
name: 'String'
}
},
parameters: {
required: false,
serializedName: 'parameters',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ParameterSpecificationElementType',
type: {
name: 'Composite',
className: 'ParameterSpecification'
}
}
}
},
annotations: {
required: false,
serializedName: 'annotations',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
Expand All @@ -94,7 +129,12 @@ class AmazonRedshiftLinkedService extends models['LinkedService'] {
serializedName: 'typeProperties.password',
type: {
name: 'Composite',
className: 'SecureString'
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'SecretBase',
className: 'SecretBase'
}
},
database: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class AmazonRedshiftSource extends models['CopySource'] {
* @member {string}
* [redshiftUnloadSettings.s3LinkedServiceName.referenceName] Reference
* LinkedService name.
* @member {object} [redshiftUnloadSettings.s3LinkedServiceName.parameters]
* Arguments for LinkedService.
* @member {object} [redshiftUnloadSettings.bucketName] The bucket of the
* interim Amazon S3 which will be used to store the unloaded data from
* Amazon Redshift source. The bucket must be in the same region as the
Expand All @@ -54,6 +56,11 @@ class AmazonRedshiftSource extends models['CopySource'] {
serializedName: 'AmazonRedshiftSource',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'CopySource',
className: 'AmazonRedshiftSource',
modelProperties: {
sourceRetryCount: {
Expand All @@ -73,6 +80,7 @@ class AmazonRedshiftSource extends models['CopySource'] {
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
Expand Down
Loading