From 3679f074fb39db72094409e51faef13118796f59 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 6 Dec 2018 08:26:12 +0000 Subject: [PATCH] Generated from 994207db1a278001c2141b2387b932f1913d98c6 typo: CustomVision/Training - Minor formatting - Limted -> Limited - assocated -> associated - modifed -> modified --- lib/services/customVision/training/README.md | 88 +++++++++---------- .../training/lib/models/index.d.ts | 2 +- .../training/lib/models/project.js | 2 +- .../training/lib/trainingAPIClient.d.ts | 16 ++-- .../training/lib/trainingAPIClient.js | 24 ++--- 5 files changed, 66 insertions(+), 66 deletions(-) diff --git a/lib/services/customVision/training/README.md b/lib/services/customVision/training/README.md index 17700bc3c6..4ca0fd9fd7 100644 --- a/lib/services/customVision/training/README.md +++ b/lib/services/customVision/training/README.md @@ -1,44 +1,44 @@ ---- -uid: azure-cognitiveservices-customvision-training -summary: *content - ---- -**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 - TrainingAPIClient - -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-cognitiveservices-customvision-training -``` - -### How to use - -#### Authentication, client creation, and getDomains as an example. - -```javascript -const msRest = require("ms-rest"); -const TrainingAPIClient = require("azure-cognitiveservices-customvision-training"); -const token = ""; -const creds = new msRest.TokenCredentials(token); -const subscriptionId = ""; -const client = new TrainingAPIClient(creds, subscriptionId); - -client.getDomains().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) +--- +uid: azure-cognitiveservices-customvision-training +summary: *content + +--- +**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 - TrainingAPIClient + +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-cognitiveservices-customvision-training +``` + +### How to use + +#### Authentication, client creation, and getDomains as an example. + +```javascript +const msRest = require("ms-rest"); +const TrainingAPIClient = require("azure-cognitiveservices-customvision-training"); +const token = ""; +const creds = new msRest.TokenCredentials(token); +const subscriptionId = ""; +const client = new TrainingAPIClient(creds, subscriptionId); + +client.getDomains().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/customVision/training/lib/models/index.d.ts b/lib/services/customVision/training/lib/models/index.d.ts index 767b7d2bd1..49deace9d2 100644 --- a/lib/services/customVision/training/lib/models/index.d.ts +++ b/lib/services/customVision/training/lib/models/index.d.ts @@ -434,7 +434,7 @@ export interface Project { */ readonly created?: Date; /** - * Gets the date this project was last modifed. + * Gets the date this project was last modified. */ readonly lastModified?: Date; /** diff --git a/lib/services/customVision/training/lib/models/project.js b/lib/services/customVision/training/lib/models/project.js index ae364fb038..df8a7ff4d4 100644 --- a/lib/services/customVision/training/lib/models/project.js +++ b/lib/services/customVision/training/lib/models/project.js @@ -29,7 +29,7 @@ class Project { * 'Multilabel' * @property {date} [created] Gets the date this project was created. * @property {date} [lastModified] Gets the date this project was last - * modifed. + * modified. * @property {string} [thumbnailUri] Gets the thumbnail url representing the * project. */ diff --git a/lib/services/customVision/training/lib/trainingAPIClient.d.ts b/lib/services/customVision/training/lib/trainingAPIClient.d.ts index 4e0159ccae..feea83a197 100644 --- a/lib/services/customVision/training/lib/trainingAPIClient.d.ts +++ b/lib/services/customVision/training/lib/trainingAPIClient.d.ts @@ -351,7 +351,7 @@ export default class TrainingAPIClient extends ServiceClient { * * @param {array} imageIds Image ids. Limited to 64 images. * - * @param {array} tagIds Tags to be deleted from the specified images. Limted + * @param {array} tagIds Tags to be deleted from the specified images. Limited * to 20 tags. * * @param {object} [options] Optional Parameters. @@ -374,7 +374,7 @@ export default class TrainingAPIClient extends ServiceClient { * * @param {array} imageIds Image ids. Limited to 64 images. * - * @param {array} tagIds Tags to be deleted from the specified images. Limted + * @param {array} tagIds Tags to be deleted from the specified images. Limited * to 20 tags. * * @param {object} [options] Optional Parameters. @@ -874,7 +874,7 @@ export default class TrainingAPIClient extends ServiceClient { * * @param {uuid} projectId The project id. * - * @param {array} imageIds Ids of the images to be deleted. Limted to 256 + * @param {array} imageIds Ids of the images to be deleted. Limited to 256 * images per batch. * * @param {object} [options] Optional Parameters. @@ -895,7 +895,7 @@ export default class TrainingAPIClient extends ServiceClient { * * @param {uuid} projectId The project id. * - * @param {array} imageIds Ids of the images to be deleted. Limted to 256 + * @param {array} imageIds Ids of the images to be deleted. Limited to 256 * images per batch. * * @param {object} [options] Optional Parameters. @@ -1087,8 +1087,8 @@ export default class TrainingAPIClient extends ServiceClient { * * @param {uuid} projectId The project id. * - * @param {object} batch Image and tag ids. Limted to 64 images and 20 tags per - * batch. + * @param {object} batch Image and tag ids. Limited to 64 images and 20 tags + * per batch. * * @param {array} [batch.images] * @@ -1115,8 +1115,8 @@ export default class TrainingAPIClient extends ServiceClient { * * @param {uuid} projectId The project id. * - * @param {object} batch Image and tag ids. Limted to 64 images and 20 tags per - * batch. + * @param {object} batch Image and tag ids. Limited to 64 images and 20 tags + * per batch. * * @param {array} [batch.images] * diff --git a/lib/services/customVision/training/lib/trainingAPIClient.js b/lib/services/customVision/training/lib/trainingAPIClient.js index 16d486b971..a7adf9de06 100644 --- a/lib/services/customVision/training/lib/trainingAPIClient.js +++ b/lib/services/customVision/training/lib/trainingAPIClient.js @@ -739,7 +739,7 @@ function _createImageTags(projectId, batch, options, callback) { * * @param {array} imageIds Image ids. Limited to 64 images. * - * @param {array} tagIds Tags to be deleted from the specified images. Limted + * @param {array} tagIds Tags to be deleted from the specified images. Limited * to 20 tags. * * @param {object} [options] Optional Parameters. @@ -1860,7 +1860,7 @@ function _createImagesFromData(projectId, imageData, options, callback) { * * @param {uuid} projectId The project id. * - * @param {array} imageIds Ids of the images to be deleted. Limted to 256 + * @param {array} imageIds Ids of the images to be deleted. Limited to 256 * images per batch. * * @param {object} [options] Optional Parameters. @@ -2290,8 +2290,8 @@ function _createImagesFromUrls(projectId, batch, options, callback) { * * @param {uuid} projectId The project id. * - * @param {object} batch Image and tag ids. Limted to 64 images and 20 tags per - * batch. + * @param {object} batch Image and tag ids. Limited to 64 images and 20 tags + * per batch. * * @param {array} [batch.images] * @@ -6566,7 +6566,7 @@ class TrainingAPIClient extends ServiceClient { * * @param {array} imageIds Image ids. Limited to 64 images. * - * @param {array} tagIds Tags to be deleted from the specified images. Limted + * @param {array} tagIds Tags to be deleted from the specified images. Limited * to 20 tags. * * @param {object} [options] Optional Parameters. @@ -6601,7 +6601,7 @@ class TrainingAPIClient extends ServiceClient { * * @param {array} imageIds Image ids. Limited to 64 images. * - * @param {array} tagIds Tags to be deleted from the specified images. Limted + * @param {array} tagIds Tags to be deleted from the specified images. Limited * to 20 tags. * * @param {object} [options] Optional Parameters. @@ -7278,7 +7278,7 @@ class TrainingAPIClient extends ServiceClient { * * @param {uuid} projectId The project id. * - * @param {array} imageIds Ids of the images to be deleted. Limted to 256 + * @param {array} imageIds Ids of the images to be deleted. Limited to 256 * images per batch. * * @param {object} [options] Optional Parameters. @@ -7311,7 +7311,7 @@ class TrainingAPIClient extends ServiceClient { * * @param {uuid} projectId The project id. * - * @param {array} imageIds Ids of the images to be deleted. Limted to 256 + * @param {array} imageIds Ids of the images to be deleted. Limited to 256 * images per batch. * * @param {object} [options] Optional Parameters. @@ -7572,8 +7572,8 @@ class TrainingAPIClient extends ServiceClient { * * @param {uuid} projectId The project id. * - * @param {object} batch Image and tag ids. Limted to 64 images and 20 tags per - * batch. + * @param {object} batch Image and tag ids. Limited to 64 images and 20 tags + * per batch. * * @param {array} [batch.images] * @@ -7612,8 +7612,8 @@ class TrainingAPIClient extends ServiceClient { * * @param {uuid} projectId The project id. * - * @param {object} batch Image and tag ids. Limted to 64 images and 20 tags per - * batch. + * @param {object} batch Image and tag ids. Limited to 64 images and 20 tags + * per batch. * * @param {array} [batch.images] *