diff --git a/lib/services/datacatalogManagement/LICENSE.txt b/lib/services/datacatalogManagement/LICENSE.txt index a70e8cf660..5431ba98b9 100644 --- a/lib/services/datacatalogManagement/LICENSE.txt +++ b/lib/services/datacatalogManagement/LICENSE.txt @@ -1,21 +1,21 @@ -The MIT License (MIT) - -Copyright (c) 2018 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 -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +The MIT License (MIT) + +Copyright (c) 2018 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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/lib/services/datacatalogManagement/README.md b/lib/services/datacatalogManagement/README.md index d4be2118d3..5ea0657a53 100644 --- a/lib/services/datacatalogManagement/README.md +++ b/lib/services/datacatalogManagement/README.md @@ -1,40 +1,40 @@ ---- -uid: azure-arm-datacatalog -summary: *content - ---- -# Microsoft Azure SDK for Node.js - DataCatalogRestClient -This project provides a Node.js package for accessing Azure. Right now it supports: -- **Node.js version 6.x.x or higher** - -## Features - - -## How to Install - -```bash -npm install azure-arm-datacatalog -``` - -## How to use - -### Authentication, client creation and list aDCOperations as an example. - -```javascript -const msRestAzure = require("ms-rest-azure"); -const DataCatalogRestClient = require("azure-arm-datacatalog"); -msRestAzure.interactiveLogin().then((creds) => { - const subscriptionId = ""; - const client = new DataCatalogRestClient(creds, subscriptionId); - return client.aDCOperations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); -}).catch((err) => { - console.log('An error ocurred:'); - console.dir(err, {depth: null, colors: true}); -}); - -## Related projects - -- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node) +--- +uid: azure-arm-datacatalog +summary: *content + +--- +# Microsoft Azure SDK for Node.js - DataCatalogRestClient +This project provides a Node.js package for accessing Azure. Right now it supports: +- **Node.js version 6.x.x or higher** + +## Features + + +## How to Install + +```bash +npm install azure-arm-datacatalog +``` + +## How to use + +### Authentication, client creation and list aDCOperations as an example. + +```javascript +const msRestAzure = require("ms-rest-azure"); +const DataCatalogRestClient = require("azure-arm-datacatalog"); +msRestAzure.interactiveLogin().then((creds) => { + const subscriptionId = ""; + const client = new DataCatalogRestClient(creds, subscriptionId); + return client.aDCOperations.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 + +- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node) diff --git a/lib/services/datacatalogManagement/lib/dataCatalogRestClient.d.ts b/lib/services/datacatalogManagement/lib/dataCatalogRestClient.d.ts index 818ccd8c92..1a9dfe187b 100644 --- a/lib/services/datacatalogManagement/lib/dataCatalogRestClient.d.ts +++ b/lib/services/datacatalogManagement/lib/dataCatalogRestClient.d.ts @@ -36,11 +36,11 @@ export default class DataCatalogRestClient extends AzureServiceClient { * * @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy * - * @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response. + * @param {string} [options.acceptLanguage] - The preferred language for the response. * - * @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. + * @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30. * - * @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. * */ constructor(credentials: ServiceClientCredentials, subscriptionId: string, catalogName: string, baseUri?: string, options?: AzureServiceClientOptions); diff --git a/lib/services/datacatalogManagement/lib/dataCatalogRestClient.js b/lib/services/datacatalogManagement/lib/dataCatalogRestClient.js index 03a7e33569..bd5e302bde 100644 --- a/lib/services/datacatalogManagement/lib/dataCatalogRestClient.js +++ b/lib/services/datacatalogManagement/lib/dataCatalogRestClient.js @@ -35,9 +35,9 @@ class DataCatalogRestClient extends ServiceClient { * @param {object} [options.requestOptions] - Options for the underlying request object * {@link https://github.com/request/request#requestoptions-callback Options doc} * @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy - * @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response. - * @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. - * @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * @param {string} [options.acceptLanguage] - The preferred language for the response. + * @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30. + * @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ constructor(credentials, subscriptionId, catalogName, baseUri, options) { if (credentials === null || credentials === undefined) { diff --git a/lib/services/datacatalogManagement/lib/models/aDCCatalogsListResult.js b/lib/services/datacatalogManagement/lib/models/aDCCatalogsListResult.js index 09c5f2c42c..2326e9a668 100644 --- a/lib/services/datacatalogManagement/lib/models/aDCCatalogsListResult.js +++ b/lib/services/datacatalogManagement/lib/models/aDCCatalogsListResult.js @@ -10,8 +10,6 @@ 'use strict'; -const models = require('./index'); - /** * The response from the List Azure Data Catalog operation. * diff --git a/lib/services/datacatalogManagement/lib/models/operationEntity.js b/lib/services/datacatalogManagement/lib/models/operationEntity.js index c66bd69246..3b7efa7c9c 100644 --- a/lib/services/datacatalogManagement/lib/models/operationEntity.js +++ b/lib/services/datacatalogManagement/lib/models/operationEntity.js @@ -10,8 +10,6 @@ 'use strict'; -const models = require('./index'); - /** * The operation supported by Azure Data Catalog Service. * diff --git a/lib/services/datacatalogManagement/lib/models/operationEntityListResult.js b/lib/services/datacatalogManagement/lib/models/operationEntityListResult.js index dcd7d2e16b..9119a307e9 100644 --- a/lib/services/datacatalogManagement/lib/models/operationEntityListResult.js +++ b/lib/services/datacatalogManagement/lib/models/operationEntityListResult.js @@ -10,8 +10,6 @@ 'use strict'; -const models = require('./index'); - /** * The list of Azure data catalog service operation response. * diff --git a/lib/services/datacatalogManagement/package.json b/lib/services/datacatalogManagement/package.json index 11616bf587..432390f4b8 100644 --- a/lib/services/datacatalogManagement/package.json +++ b/lib/services/datacatalogManagement/package.json @@ -4,19 +4,22 @@ "description": "DataCatalogRestClient Library with typescript type definitions for node", "version": "1.0.1", "dependencies": { - "ms-rest": "^2.3.2", + "ms-rest": "^2.3.3", "ms-rest-azure": "^2.5.5" }, - "keywords": [ "node", "azure" ], + "keywords": [ + "node", + "azure" + ], "license": "MIT", "main": "./lib/dataCatalogRestClient.js", "types": "./lib/dataCatalogRestClient.d.ts", - "homepage": "http://github.com/azure/azure-sdk-for-node", + "homepage": "https://github.com/azure/azure-sdk-for-node/tree/master/lib/services/datacatalogManagement", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-node.git" }, "bugs": { - "url": "http://github.com/Azure/azure-sdk-for-node/issues" + "url": "https://github.com/azure/azure-sdk-for-node/issues" } }