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

[AutoPR] datafactory/resource-manager #4866

Closed
wants to merge 1 commit into from
Closed
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion lib/services/datafactoryManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
32 changes: 16 additions & 16 deletions lib/services/datafactoryManagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,41 @@ uid: azure-arm-datafactory
summary: *content

---
# Microsoft Azure SDK for Node.js - DataFactoryManagementClient
**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://github.com/Azure/azure-sdk-for-js) which works on Node.js and browsers.**
## Microsoft Azure SDK for Node.js - DataFactoryManagementClient

This project provides a Node.js package for accessing Azure. Right now it supports:
- **Node.js version 6.x.x or higher**

## Features
### Features


## How to Install
### How to Install

```bash
npm install azure-arm-datafactory
```

## How to use
### How to use

### Authentication, client creation and list operations as an example.
#### Authentication, client creation, and list operations as an example.

```javascript
const msRestAzure = require("ms-rest-azure");
const DataFactoryManagementClient = require("azure-arm-datafactory");
msRestAzure.interactiveLogin().then((creds) => {
const subscriptionId = "<Subscription_Id>";
const client = new DataFactoryManagementClient(creds, subscriptionId);
return client.operations.list().then((result) => {
console.log("The result is:");
console.log(result);
});
const subscriptionId = "<Subscription_Id>";
const client = new DataFactoryManagementClient(creds, subscriptionId);

return client.operations.list().then((result) => {
console.log("The result is:");
console.log(result);
});
}).catch((err) => {
console.log('An error occurred:');
console.dir(err, {depth: null, colors: true});
});

## Related projects
```
### Related projects

- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)


![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-node%2Flib%2Fservices%2FdatafactoryManagement%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ 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;
linkedServices: operations.LinkedServices;
datasets: operations.Datasets;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ 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);
this.linkedServices = new operations.LinkedServices(this);
this.datasets = new operations.Datasets(this);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
/*
* 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';

/**
* Get Data Plane read only token response definition.
*
*/
class AccessPolicyResponse {
/**
* Create a AccessPolicyResponse.
* @property {object} [policy] The user access policy.
* @property {string} [policy.permissions] The string with permissions for
* Data Plane access. Currently only 'r' is supported which grants read only
* access.
* @property {string} [policy.accessResourcePath] The resource path to get
* access relative to factory. Currently only empty string is supported which
* corresponds to the factory resource.
* @property {string} [policy.profileName] The name of the profile. Currently
* only the default is supported. The default value is DefaultProfile.
* @property {string} [policy.startTime] Start time for the token. If not
* specified the current time will be used.
* @property {string} [policy.expireTime] Expiration time for the token.
* Maximum duration for the token is eight hours and by default the token
* will expire in eight hours.
* @property {string} [accessToken] Data Plane read only access token.
* @property {string} [dataPlaneUrl] Data Plane service base URL.
*/
constructor() {
}

/**
* Defines the metadata of AccessPolicyResponse
*
* @returns {object} metadata of AccessPolicyResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'AccessPolicyResponse',
type: {
name: 'Composite',
className: 'AccessPolicyResponse',
modelProperties: {
policy: {
required: false,
serializedName: 'policy',
type: {
name: 'Composite',
className: 'UserAccessPolicy'
}
},
accessToken: {
required: false,
serializedName: 'accessToken',
type: {
name: 'String'
}
},
dataPlaneUrl: {
required: false,
serializedName: 'dataPlaneUrl',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = AccessPolicyResponse;
10 changes: 5 additions & 5 deletions lib/services/datafactoryManagement/lib/models/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
class Activity {
/**
* Create a Activity.
* @member {string} name Activity name.
* @member {string} [description] Activity description.
* @member {array} [dependsOn] Activity depends on condition.
* @member {array} [userProperties] Activity user properties.
* @member {string} type Polymorphic Discriminator
* @property {string} name Activity name.
* @property {string} [description] Activity description.
* @property {array} [dependsOn] Activity depends on condition.
* @property {array} [userProperties] Activity user properties.
* @property {string} type Polymorphic Discriminator
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class ActivityDependency {
/**
* Create a ActivityDependency.
* @member {string} activity Activity name.
* @member {array} dependencyConditions Match-Condition for the dependency.
* @property {string} activity Activity name.
* @property {array} dependencyConditions Match-Condition for the dependency.
*/
constructor() {
}
Expand Down
17 changes: 9 additions & 8 deletions lib/services/datafactoryManagement/lib/models/activityPolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@
class ActivityPolicy {
/**
* Create a ActivityPolicy.
* @member {object} [timeout] Specifies the timeout for the activity to run.
* The default timeout is 7 days. Type: string (or Expression with resultType
* string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @member {object} [retry] Maximum ordinary retry attempts. Default is 0.
* @property {object} [timeout] Specifies the timeout for the activity to
* run. The default timeout is 7 days. Type: string (or Expression with
* resultType string), pattern:
* ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @property {object} [retry] Maximum ordinary retry attempts. Default is 0.
* Type: integer (or Expression with resultType integer), minimum: 0.
* @member {number} [retryIntervalInSeconds] Interval between each retry
* @property {number} [retryIntervalInSeconds] Interval between each retry
* attempt (in seconds). The default is 30 sec.
* @member {boolean} [secureInput] When set to true, Input from activity is
* considered as secure and will not be logged to monitoring.
* @member {boolean} [secureOutput] When set to true, Output from activity is
* @property {boolean} [secureInput] When set to true, Input from activity is
* considered as secure and will not be logged to monitoring.
* @property {boolean} [secureOutput] When set to true, Output from activity
* is considered as secure and will not be logged to monitoring.
*/
constructor() {
}
Expand Down
26 changes: 13 additions & 13 deletions lib/services/datafactoryManagement/lib/models/activityRun.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@
class ActivityRun {
/**
* Create a ActivityRun.
* @member {string} [pipelineName] The name of the pipeline.
* @member {string} [pipelineRunId] The id of the pipeline run.
* @member {string} [activityName] The name of the activity.
* @member {string} [activityType] The type of the activity.
* @member {string} [activityRunId] The id of the activity run.
* @member {string} [linkedServiceName] The name of the compute linked
* @property {string} [pipelineName] The name of the pipeline.
* @property {string} [pipelineRunId] The id of the pipeline run.
* @property {string} [activityName] The name of the activity.
* @property {string} [activityType] The type of the activity.
* @property {string} [activityRunId] The id of the activity run.
* @property {string} [linkedServiceName] The name of the compute linked
* service.
* @member {string} [status] The status of the activity run.
* @member {date} [activityRunStart] The start time of the activity run in
* @property {string} [status] The status of the activity run.
* @property {date} [activityRunStart] The start time of the activity run in
* 'ISO 8601' format.
* @member {date} [activityRunEnd] The end time of the activity run in 'ISO
* @property {date} [activityRunEnd] The end time of the activity run in 'ISO
* 8601' format.
* @member {number} [durationInMs] The duration of the activity run.
* @member {object} [input] The input for the activity.
* @member {object} [output] The output for the activity.
* @member {object} [error] The error if any from the activity run.
* @property {number} [durationInMs] The duration of the activity run.
* @property {object} [input] The input for the activity.
* @property {object} [output] The output for the activity.
* @property {object} [error] The error if any from the activity run.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class ActivityRunsQueryResponse {
/**
* Create a ActivityRunsQueryResponse.
* @member {array} value List of activity runs.
* @member {string} [continuationToken] The continuation token for getting
* @property {array} value List of activity runs.
* @property {string} [continuationToken] The continuation token for getting
* the next page of results, if any remaining results exist, null otherwise.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@ const models = require('./index');
class AmazonMWSLinkedService extends models['LinkedService'] {
/**
* Create a AmazonMWSLinkedService.
* @member {object} endpoint The endpoint of the Amazon MWS server, (i.e.
* @property {object} endpoint The endpoint of the Amazon MWS server, (i.e.
* mws.amazonservices.com)
* @member {object} marketplaceID The Amazon Marketplace ID you want to
* retrieve data from. To retrive data from multiple Marketplace IDs,
* seperate them with a comma (,). (i.e. A2EUQ1WTGCTBG2)
* @member {object} sellerID The Amazon seller ID.
* @member {object} [mwsAuthToken] The Amazon MWS authentication token.
* @member {string} [mwsAuthToken.type] Polymorphic Discriminator
* @member {object} accessKeyId The access key id used to access data.
* @member {object} [secretKey] The secret key used to access data.
* @member {string} [secretKey.type] Polymorphic Discriminator
* @member {object} [useEncryptedEndpoints] Specifies whether the data source
* endpoints are encrypted using HTTPS. The default value is true.
* @member {object} [useHostVerification] Specifies whether to require the
* @property {object} marketplaceID The Amazon Marketplace ID you want to
* retrieve data from. To retrieve data from multiple Marketplace IDs,
* separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2)
* @property {object} sellerID The Amazon seller ID.
* @property {object} [mwsAuthToken] The Amazon MWS authentication token.
* @property {string} [mwsAuthToken.type] Polymorphic Discriminator
* @property {object} accessKeyId The access key id used to access data.
* @property {object} [secretKey] The secret key used to access data.
* @property {string} [secretKey.type] Polymorphic Discriminator
* @property {object} [useEncryptedEndpoints] Specifies whether the data
* source endpoints are encrypted using HTTPS. The default value is true.
* @property {object} [useHostVerification] Specifies whether to require the
* host name in the server's certificate to match the host name of the server
* when connecting over SSL. The default value is true.
* @member {object} [usePeerVerification] Specifies whether to verify the
* @property {object} [usePeerVerification] Specifies whether to verify the
* identity of the server when connecting over SSL. The default value is
* true.
* @member {object} [encryptedCredential] The encrypted credential used for
* @property {object} [encryptedCredential] The encrypted credential used for
* authentication. Credentials are encrypted using the integration runtime
* credential manager. Type: string (or Expression with resultType string).
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const models = require('./index');
class AmazonMWSObjectDataset extends models['Dataset'] {
/**
* Create a AmazonMWSObjectDataset.
* @member {object} [tableName] The table name. Type: string (or Expression
* @property {object} [tableName] The table name. Type: string (or Expression
* with resultType string).
*/
constructor() {
Expand Down 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 @@ -20,7 +20,7 @@ const models = require('./index');
class AmazonMWSSource extends models['CopySource'] {
/**
* Create a AmazonMWSSource.
* @member {object} [query] A query to retrieve data from source. Type:
* @property {object} [query] A query to retrieve data from source. Type:
* string (or Expression with resultType string).
*/
constructor() {
Expand Down Expand Up @@ -60,6 +60,13 @@ class AmazonMWSSource extends models['CopySource'] {
name: 'Object'
}
},
maxConcurrentConnections: {
required: false,
serializedName: 'maxConcurrentConnections',
type: {
name: 'Object'
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ const models = require('./index');
class AmazonRedshiftLinkedService extends models['LinkedService'] {
/**
* Create a AmazonRedshiftLinkedService.
* @member {object} server The name of the Amazon Redshift server. Type:
* @property {object} server The name of the Amazon Redshift server. Type:
* string (or Expression with resultType string).
* @member {object} [username] The username of the Amazon Redshift source.
* @property {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.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
* @property {object} [password] The password of the Amazon Redshift source.
* @property {string} [password.type] Polymorphic Discriminator
* @property {object} database The database name of the Amazon Redshift
* source. Type: string (or Expression with resultType string).
* @property {object} [port] The TCP port number that the Amazon Redshift
* server uses to listen for client connections. The default value is 5439.
* Type: integer (or Expression with resultType integer).
* @member {object} [encryptedCredential] The encrypted credential used for
* @property {object} [encryptedCredential] The encrypted credential used for
* authentication. Credentials are encrypted using the integration runtime
* credential manager. Type: string (or Expression with resultType string).
*/
Expand Down
Loading