diff --git a/lib/services/machinelearning/lib/commitmentPlan/azureMLCommitmentPlansManagementClient.d.ts b/lib/services/machinelearning/lib/commitmentPlan/azureMLCommitmentPlansManagementClient.d.ts index 36239aae2b..ef22b0fa2c 100644 --- a/lib/services/machinelearning/lib/commitmentPlan/azureMLCommitmentPlansManagementClient.d.ts +++ b/lib/services/machinelearning/lib/commitmentPlan/azureMLCommitmentPlansManagementClient.d.ts @@ -56,6 +56,7 @@ export default class AzureMLCommitmentPlansManagementClient extends AzureService generateClientRequestId: boolean; // Operation groups + operations: operations.Operations; skus: operations.Skus; commitmentAssociations: operations.CommitmentAssociations; commitmentPlans: operations.CommitmentPlans; diff --git a/lib/services/machinelearning/lib/commitmentPlan/azureMLCommitmentPlansManagementClient.js b/lib/services/machinelearning/lib/commitmentPlan/azureMLCommitmentPlansManagementClient.js index bc0520e17c..22b16781aa 100644 --- a/lib/services/machinelearning/lib/commitmentPlan/azureMLCommitmentPlansManagementClient.js +++ b/lib/services/machinelearning/lib/commitmentPlan/azureMLCommitmentPlansManagementClient.js @@ -72,6 +72,7 @@ class AzureMLCommitmentPlansManagementClient extends ServiceClient { if(options.generateClientRequestId !== null && options.generateClientRequestId !== undefined) { this.generateClientRequestId = options.generateClientRequestId; } + this.operations = new operations.Operations(this); this.skus = new operations.Skus(this); this.commitmentAssociations = new operations.CommitmentAssociations(this); this.commitmentPlans = new operations.CommitmentPlans(this); diff --git a/lib/services/machinelearning/lib/commitmentPlan/models/index.d.ts b/lib/services/machinelearning/lib/commitmentPlan/models/index.d.ts index 483764348f..9b158d535f 100644 --- a/lib/services/machinelearning/lib/commitmentPlan/models/index.d.ts +++ b/lib/services/machinelearning/lib/commitmentPlan/models/index.d.ts @@ -38,7 +38,7 @@ export interface SkuCapacity { } /** - * Describes The SKU capabilites object. + * Describes The SKU capabilities object. */ export interface SkuCapability { /** @@ -355,6 +355,48 @@ export interface PlanUsageHistory { usageDate?: Date; } +/** + * The API operation info. + */ +export interface OperationDisplayInfo { + /** + * The description of the operation. + */ + readonly description?: string; + /** + * The action that users can perform, based on their permission level. + */ + readonly operation?: string; + /** + * The service provider. + */ + readonly provider?: string; + /** + * The resource on which the operation is performed. + */ + readonly resource?: string; +} + +/** + * An API operation. + */ +export interface OperationEntity { + /** + * Operation name: {provider}/{resource}/{operation}. + */ + readonly name?: string; + /** + * The API operation info. + */ + display?: OperationDisplayInfo; +} + +/** + * The list of REST API operations. + */ +export interface OperationEntityListResult extends Array { +} + /** * The list of commitment plan SKUs. */ diff --git a/lib/services/machinelearning/lib/commitmentPlan/models/index.js b/lib/services/machinelearning/lib/commitmentPlan/models/index.js index d4c1c19763..ecf616d105 100644 --- a/lib/services/machinelearning/lib/commitmentPlan/models/index.js +++ b/lib/services/machinelearning/lib/commitmentPlan/models/index.js @@ -33,6 +33,9 @@ exports.PlanQuantity = require('./planQuantity'); exports.CommitmentPlanProperties = require('./commitmentPlanProperties'); exports.CommitmentPlan = require('./commitmentPlan'); exports.PlanUsageHistory = require('./planUsageHistory'); +exports.OperationDisplayInfo = require('./operationDisplayInfo'); +exports.OperationEntity = require('./operationEntity'); +exports.OperationEntityListResult = require('./operationEntityListResult'); exports.SkuListResult = require('./skuListResult'); exports.CommitmentAssociationListResult = require('./commitmentAssociationListResult'); exports.CommitmentPlanListResult = require('./commitmentPlanListResult'); diff --git a/lib/services/machinelearning/lib/commitmentPlan/models/operationDisplayInfo.js b/lib/services/machinelearning/lib/commitmentPlan/models/operationDisplayInfo.js new file mode 100644 index 0000000000..1e0c55d4ab --- /dev/null +++ b/lib/services/machinelearning/lib/commitmentPlan/models/operationDisplayInfo.js @@ -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'; + +/** + * The API operation info. + * + */ +class OperationDisplayInfo { + /** + * Create a OperationDisplayInfo. + * @property {string} [description] The description of the operation. + * @property {string} [operation] The action that users can perform, based on + * their permission level. + * @property {string} [provider] The service provider. + * @property {string} [resource] The resource on which the operation is + * performed. + */ + constructor() { + } + + /** + * Defines the metadata of OperationDisplayInfo + * + * @returns {object} metadata of OperationDisplayInfo + * + */ + mapper() { + return { + required: false, + serializedName: 'OperationDisplayInfo', + type: { + name: 'Composite', + className: 'OperationDisplayInfo', + modelProperties: { + description: { + required: false, + readOnly: true, + serializedName: 'description', + type: { + name: 'String' + } + }, + operation: { + required: false, + readOnly: true, + serializedName: 'operation', + type: { + name: 'String' + } + }, + provider: { + required: false, + readOnly: true, + serializedName: 'provider', + type: { + name: 'String' + } + }, + resource: { + required: false, + readOnly: true, + serializedName: 'resource', + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = OperationDisplayInfo; diff --git a/lib/services/machinelearning/lib/commitmentPlan/models/operationEntity.js b/lib/services/machinelearning/lib/commitmentPlan/models/operationEntity.js new file mode 100644 index 0000000000..f1f135f742 --- /dev/null +++ b/lib/services/machinelearning/lib/commitmentPlan/models/operationEntity.js @@ -0,0 +1,69 @@ +/* + * 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'; + +/** + * An API operation. + * + */ +class OperationEntity { + /** + * Create a OperationEntity. + * @property {string} [name] Operation name: + * {provider}/{resource}/{operation}. + * @property {object} [display] The API operation info. + * @property {string} [display.description] The description of the operation. + * @property {string} [display.operation] The action that users can perform, + * based on their permission level. + * @property {string} [display.provider] The service provider. + * @property {string} [display.resource] The resource on which the operation + * is performed. + */ + constructor() { + } + + /** + * Defines the metadata of OperationEntity + * + * @returns {object} metadata of OperationEntity + * + */ + mapper() { + return { + required: false, + serializedName: 'OperationEntity', + type: { + name: 'Composite', + className: 'OperationEntity', + modelProperties: { + name: { + required: false, + readOnly: true, + serializedName: 'name', + type: { + name: 'String' + } + }, + display: { + required: false, + serializedName: 'display', + type: { + name: 'Composite', + className: 'OperationDisplayInfo' + } + } + } + } + }; + } +} + +module.exports = OperationEntity; diff --git a/lib/services/machinelearning/lib/commitmentPlan/models/operationEntityListResult.js b/lib/services/machinelearning/lib/commitmentPlan/models/operationEntityListResult.js new file mode 100644 index 0000000000..bc2f6127e5 --- /dev/null +++ b/lib/services/machinelearning/lib/commitmentPlan/models/operationEntityListResult.js @@ -0,0 +1,60 @@ +/* + * 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'; + +/** + * The list of REST API operations. + */ +class OperationEntityListResult extends Array { + /** + * Create a OperationEntityListResult. + */ + constructor() { + super(); + } + + /** + * Defines the metadata of OperationEntityListResult + * + * @returns {object} metadata of OperationEntityListResult + * + */ + mapper() { + return { + required: false, + serializedName: 'OperationEntityListResult', + type: { + name: 'Composite', + className: 'OperationEntityListResult', + modelProperties: { + value: { + required: false, + readOnly: true, + serializedName: '', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'OperationEntityElementType', + type: { + name: 'Composite', + className: 'OperationEntity' + } + } + } + } + } + } + }; + } +} + +module.exports = OperationEntityListResult; diff --git a/lib/services/machinelearning/lib/commitmentPlan/models/skuCapability.js b/lib/services/machinelearning/lib/commitmentPlan/models/skuCapability.js index dd336fc6d7..5f9b43a65b 100644 --- a/lib/services/machinelearning/lib/commitmentPlan/models/skuCapability.js +++ b/lib/services/machinelearning/lib/commitmentPlan/models/skuCapability.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Describes The SKU capabilites object. + * Describes The SKU capabilities object. * */ class SkuCapability { diff --git a/lib/services/machinelearning/lib/commitmentPlan/operations/index.d.ts b/lib/services/machinelearning/lib/commitmentPlan/operations/index.d.ts index 144ed3d1ab..a3ddc220c7 100644 --- a/lib/services/machinelearning/lib/commitmentPlan/operations/index.d.ts +++ b/lib/services/machinelearning/lib/commitmentPlan/operations/index.d.ts @@ -12,6 +12,69 @@ import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationRes import * as models from '../models'; +/** + * @class + * Operations + * __NOTE__: An instance of this class is automatically created for an + * instance of the AzureMLCommitmentPlansManagementClient. + */ +export interface Operations { + + + /** + * Lists all of the available Azure Machine Learning Studio Commitment Plan RP + * REST API operations. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @returns {Promise} A promise is returned + * + * @resolve {HttpOperationResponse} - The deserialized result object. + * + * @reject {Error|ServiceError} - The error object. + */ + listWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + + /** + * Lists all of the available Azure Machine Learning Studio Commitment Plan RP + * REST API operations. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {ServiceCallback} [optionalCallback] - The optional callback. + * + * @returns {ServiceCallback|Promise} If a callback was passed as the last + * parameter then it returns the callback else returns a Promise. + * + * {Promise} A promise is returned. + * + * @resolve {OperationEntityListResult} - The deserialized result object. + * + * @reject {Error|ServiceError} - The error object. + * + * {ServiceCallback} optionalCallback(err, result, request, response) + * + * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. + * + * {OperationEntityListResult} [result] - The deserialized result object if an error did not occur. + * See {@link OperationEntityListResult} for more + * information. + * + * {WebResource} [request] - The HTTP Request object if an error did not occur. + * + * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. + */ + list(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + list(callback: ServiceCallback): void; + list(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; +} + /** * @class * Skus diff --git a/lib/services/machinelearning/lib/commitmentPlan/operations/index.js b/lib/services/machinelearning/lib/commitmentPlan/operations/index.js index 26da863e22..1592d25544 100644 --- a/lib/services/machinelearning/lib/commitmentPlan/operations/index.js +++ b/lib/services/machinelearning/lib/commitmentPlan/operations/index.js @@ -14,6 +14,7 @@ 'use strict'; +exports.Operations = require('./operations'); exports.Skus = require('./skus'); exports.CommitmentAssociations = require('./commitmentAssociations'); exports.CommitmentPlans = require('./commitmentPlans'); diff --git a/lib/services/machinelearning/lib/commitmentPlan/operations/operations.js b/lib/services/machinelearning/lib/commitmentPlan/operations/operations.js new file mode 100644 index 0000000000..c49e3bfe32 --- /dev/null +++ b/lib/services/machinelearning/lib/commitmentPlan/operations/operations.js @@ -0,0 +1,242 @@ +/* + * 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 msRest = require('ms-rest'); +const msRestAzure = require('ms-rest-azure'); +const WebResource = msRest.WebResource; + +/** + * Lists all of the available Azure Machine Learning Studio Commitment Plan RP + * REST API operations. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {function} callback - The callback. + * + * @returns {function} callback(err, result, request, response) + * + * {Error} err - The Error object if an error occurred, null otherwise. + * + * {object} [result] - The deserialized result object if an error did not occur. + * See {@link OperationEntityListResult} for more + * information. + * + * {object} [request] - The HTTP Request object if an error did not occur. + * + * {stream} [response] - The HTTP Response stream if an error did not occur. + */ +function _list(options, callback) { + /* jshint validthis: true */ + let client = this.client; + if(!callback && typeof options === 'function') { + callback = options; + options = null; + } + if (!callback) { + throw new Error('callback cannot be null.'); + } + // Validate + try { + if (this.client.apiVersion === null || this.client.apiVersion === undefined || typeof this.client.apiVersion.valueOf() !== 'string') { + throw new Error('this.client.apiVersion cannot be null or undefined and it must be of type string.'); + } + if (this.client.acceptLanguage !== null && this.client.acceptLanguage !== undefined && typeof this.client.acceptLanguage.valueOf() !== 'string') { + throw new Error('this.client.acceptLanguage must be of type string.'); + } + } catch (error) { + return callback(error); + } + + // Construct URL + let baseUrl = this.client.baseUri; + let requestUrl = baseUrl + (baseUrl.endsWith('/') ? '' : '/') + 'providers/Microsoft.MachineLearning/operations'; + let queryParameters = []; + queryParameters.push('api-version=' + encodeURIComponent(this.client.apiVersion)); + if (queryParameters.length > 0) { + requestUrl += '?' + queryParameters.join('&'); + } + + // Create HTTP transport objects + let httpRequest = new WebResource(); + httpRequest.method = 'GET'; + httpRequest.url = requestUrl; + httpRequest.headers = {}; + // Set Headers + httpRequest.headers['Content-Type'] = 'application/json; charset=utf-8'; + if (this.client.generateClientRequestId) { + httpRequest.headers['x-ms-client-request-id'] = msRestAzure.generateUuid(); + } + if (this.client.acceptLanguage !== undefined && this.client.acceptLanguage !== null) { + httpRequest.headers['accept-language'] = this.client.acceptLanguage; + } + if(options) { + for(let headerName in options['customHeaders']) { + if (options['customHeaders'].hasOwnProperty(headerName)) { + httpRequest.headers[headerName] = options['customHeaders'][headerName]; + } + } + } + httpRequest.body = null; + // Send Request + return client.pipeline(httpRequest, (err, response, responseBody) => { + if (err) { + return callback(err); + } + let statusCode = response.statusCode; + if (statusCode !== 200) { + let error = new Error(responseBody); + error.statusCode = response.statusCode; + error.request = msRest.stripRequest(httpRequest); + error.response = msRest.stripResponse(response); + if (responseBody === '') responseBody = null; + let parsedErrorResponse; + try { + parsedErrorResponse = JSON.parse(responseBody); + if (parsedErrorResponse) { + if (parsedErrorResponse.error) parsedErrorResponse = parsedErrorResponse.error; + if (parsedErrorResponse.code) error.code = parsedErrorResponse.code; + if (parsedErrorResponse.message) error.message = parsedErrorResponse.message; + } + if (parsedErrorResponse !== null && parsedErrorResponse !== undefined) { + let resultMapper = new client.models['CloudError']().mapper(); + error.body = client.deserialize(resultMapper, parsedErrorResponse, 'error.body'); + } + } catch (defaultError) { + error.message = `Error "${defaultError.message}" occurred in deserializing the responseBody ` + + `- "${responseBody}" for the default response.`; + return callback(error); + } + return callback(error); + } + // Create Result + let result = null; + if (responseBody === '') responseBody = null; + // Deserialize Response + if (statusCode === 200) { + let parsedResponse = null; + try { + parsedResponse = JSON.parse(responseBody); + result = JSON.parse(responseBody); + if (parsedResponse !== null && parsedResponse !== undefined) { + let resultMapper = new client.models['OperationEntityListResult']().mapper(); + result = client.deserialize(resultMapper, parsedResponse, 'result'); + } + } catch (error) { + let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`); + deserializationError.request = msRest.stripRequest(httpRequest); + deserializationError.response = msRest.stripResponse(response); + return callback(deserializationError); + } + } + + return callback(null, result, httpRequest, response); + }); +} + +/** Class representing a Operations. */ +class Operations { + /** + * Create a Operations. + * @param {AzureMLCommitmentPlansManagementClient} client Reference to the service client. + */ + constructor(client) { + this.client = client; + this._list = _list; + } + + /** + * Lists all of the available Azure Machine Learning Studio Commitment Plan RP + * REST API operations. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @returns {Promise} A promise is returned + * + * @resolve {HttpOperationResponse} - The deserialized result object. + * + * @reject {Error} - The error object. + */ + listWithHttpOperationResponse(options) { + let client = this.client; + let self = this; + return new Promise((resolve, reject) => { + self._list(options, (err, result, request, response) => { + let httpOperationResponse = new msRest.HttpOperationResponse(request, response); + httpOperationResponse.body = result; + if (err) { reject(err); } + else { resolve(httpOperationResponse); } + return; + }); + }); + } + + /** + * Lists all of the available Azure Machine Learning Studio Commitment Plan RP + * REST API operations. + * + * @param {object} [options] Optional Parameters. + * + * @param {object} [options.customHeaders] Headers that will be added to the + * request + * + * @param {function} [optionalCallback] - The optional callback. + * + * @returns {function|Promise} If a callback was passed as the last parameter + * then it returns the callback else returns a Promise. + * + * {Promise} A promise is returned + * + * @resolve {OperationEntityListResult} - The deserialized result object. + * + * @reject {Error} - The error object. + * + * {function} optionalCallback(err, result, request, response) + * + * {Error} err - The Error object if an error occurred, null otherwise. + * + * {object} [result] - The deserialized result object if an error did not occur. + * See {@link OperationEntityListResult} for more + * information. + * + * {object} [request] - The HTTP Request object if an error did not occur. + * + * {stream} [response] - The HTTP Response stream if an error did not occur. + */ + list(options, optionalCallback) { + let client = this.client; + let self = this; + if (!optionalCallback && typeof options === 'function') { + optionalCallback = options; + options = null; + } + if (!optionalCallback) { + return new Promise((resolve, reject) => { + self._list(options, (err, result, request, response) => { + if (err) { reject(err); } + else { resolve(result); } + return; + }); + }); + } else { + return self._list(options, optionalCallback); + } + } + +} + +module.exports = Operations; diff --git a/lib/services/machinelearning/lib/webservices/models/index.d.ts b/lib/services/machinelearning/lib/webservices/models/index.d.ts index a58e3ccb96..44540dfca7 100644 --- a/lib/services/machinelearning/lib/webservices/models/index.d.ts +++ b/lib/services/machinelearning/lib/webservices/models/index.d.ts @@ -442,7 +442,7 @@ export interface WebServiceProperties { */ payloadsInBlobStorage?: boolean; /** - * The URI of the payload blob. This paramater contains a value only if the payloadsInBlobStorage + * The URI of the payload blob. This parameter contains a value only if the payloadsInBlobStorage * parameter is set to true. Otherwise is set to null. */ payloadsLocation?: BlobLocation; diff --git a/lib/services/machinelearning/lib/webservices/models/webService.js b/lib/services/machinelearning/lib/webservices/models/webService.js index 0fb159abc1..55d3679f34 100644 --- a/lib/services/machinelearning/lib/webservices/models/webService.js +++ b/lib/services/machinelearning/lib/webservices/models/webService.js @@ -132,7 +132,7 @@ class WebService extends models['Resource'] { * size of the Assets, Input, Output, Package, Parameters, and the * ExampleRequest. * @property {object} [properties.payloadsLocation] The URI of the payload - * blob. This paramater contains a value only if the payloadsInBlobStorage + * blob. This parameter contains a value only if the payloadsInBlobStorage * parameter is set to true. Otherwise is set to null. * @property {string} [properties.payloadsLocation.uri] The URI from which * the blob is accessible from. For example, aml://abc for system assets or diff --git a/lib/services/machinelearning/lib/webservices/models/webServiceProperties.js b/lib/services/machinelearning/lib/webservices/models/webServiceProperties.js index 8eba365e29..36e2062642 100644 --- a/lib/services/machinelearning/lib/webservices/models/webServiceProperties.js +++ b/lib/services/machinelearning/lib/webservices/models/webServiceProperties.js @@ -119,7 +119,7 @@ class WebServiceProperties { * inline. The Payload sizes is determined by adding the size of the Assets, * Input, Output, Package, Parameters, and the ExampleRequest. * @property {object} [payloadsLocation] The URI of the payload blob. This - * paramater contains a value only if the payloadsInBlobStorage parameter is + * parameter contains a value only if the payloadsInBlobStorage parameter is * set to true. Otherwise is set to null. * @property {string} [payloadsLocation.uri] The URI from which the blob is * accessible from. For example, aml://abc for system assets or https://xyz diff --git a/lib/services/machinelearning/lib/webservices/operations/index.d.ts b/lib/services/machinelearning/lib/webservices/operations/index.d.ts index 75594b7ba1..307a3dcf07 100644 --- a/lib/services/machinelearning/lib/webservices/operations/index.d.ts +++ b/lib/services/machinelearning/lib/webservices/operations/index.d.ts @@ -226,7 +226,7 @@ export interface WebServices { * ExampleRequest. * * @param {object} [createOrUpdatePayload.properties.payloadsLocation] The URI - * of the payload blob. This paramater contains a value only if the + * of the payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} createOrUpdatePayload.properties.payloadsLocation.uri The @@ -404,7 +404,7 @@ export interface WebServices { * ExampleRequest. * * @param {object} [createOrUpdatePayload.properties.payloadsLocation] The URI - * of the payload blob. This paramater contains a value only if the + * of the payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} createOrUpdatePayload.properties.payloadsLocation.uri The @@ -671,7 +671,7 @@ export interface WebServices { * ExampleRequest. * * @param {object} [patchPayload.properties.payloadsLocation] The URI of the - * payload blob. This paramater contains a value only if the + * payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} patchPayload.properties.payloadsLocation.uri The URI from @@ -845,7 +845,7 @@ export interface WebServices { * ExampleRequest. * * @param {object} [patchPayload.properties.payloadsLocation] The URI of the - * payload blob. This paramater contains a value only if the + * payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} patchPayload.properties.payloadsLocation.uri The URI from @@ -1357,7 +1357,7 @@ export interface WebServices { * ExampleRequest. * * @param {object} [createOrUpdatePayload.properties.payloadsLocation] The URI - * of the payload blob. This paramater contains a value only if the + * of the payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} createOrUpdatePayload.properties.payloadsLocation.uri The @@ -1535,7 +1535,7 @@ export interface WebServices { * ExampleRequest. * * @param {object} [createOrUpdatePayload.properties.payloadsLocation] The URI - * of the payload blob. This paramater contains a value only if the + * of the payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} createOrUpdatePayload.properties.payloadsLocation.uri The @@ -1729,7 +1729,7 @@ export interface WebServices { * ExampleRequest. * * @param {object} [patchPayload.properties.payloadsLocation] The URI of the - * payload blob. This paramater contains a value only if the + * payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} patchPayload.properties.payloadsLocation.uri The URI from @@ -1903,7 +1903,7 @@ export interface WebServices { * ExampleRequest. * * @param {object} [patchPayload.properties.payloadsLocation] The URI of the - * payload blob. This paramater contains a value only if the + * payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} patchPayload.properties.payloadsLocation.uri The URI from diff --git a/lib/services/machinelearning/lib/webservices/operations/webServices.js b/lib/services/machinelearning/lib/webservices/operations/webServices.js index 8ba9a561b6..1bce74221a 100644 --- a/lib/services/machinelearning/lib/webservices/operations/webServices.js +++ b/lib/services/machinelearning/lib/webservices/operations/webServices.js @@ -159,7 +159,7 @@ const WebResource = msRest.WebResource; * ExampleRequest. * * @param {object} [createOrUpdatePayload.properties.payloadsLocation] The URI - * of the payload blob. This paramater contains a value only if the + * of the payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} createOrUpdatePayload.properties.payloadsLocation.uri The @@ -551,7 +551,7 @@ function _get(resourceGroupName, webServiceName, options, callback) { * ExampleRequest. * * @param {object} [patchPayload.properties.payloadsLocation] The URI of the - * payload blob. This paramater contains a value only if the + * payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} patchPayload.properties.payloadsLocation.uri The URI from @@ -1375,7 +1375,7 @@ function _listBySubscriptionId(options, callback) { * ExampleRequest. * * @param {object} [createOrUpdatePayload.properties.payloadsLocation] The URI - * of the payload blob. This paramater contains a value only if the + * of the payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} createOrUpdatePayload.properties.payloadsLocation.uri The @@ -1709,7 +1709,7 @@ function _beginCreateOrUpdate(resourceGroupName, webServiceName, createOrUpdateP * ExampleRequest. * * @param {object} [patchPayload.properties.payloadsLocation] The URI of the - * payload blob. This paramater contains a value only if the + * payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} patchPayload.properties.payloadsLocation.uri The URI from @@ -2594,7 +2594,7 @@ class WebServices { * ExampleRequest. * * @param {object} [createOrUpdatePayload.properties.payloadsLocation] The URI - * of the payload blob. This paramater contains a value only if the + * of the payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} createOrUpdatePayload.properties.payloadsLocation.uri The @@ -2784,7 +2784,7 @@ class WebServices { * ExampleRequest. * * @param {object} [createOrUpdatePayload.properties.payloadsLocation] The URI - * of the payload blob. This paramater contains a value only if the + * of the payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} createOrUpdatePayload.properties.payloadsLocation.uri The @@ -3093,7 +3093,7 @@ class WebServices { * ExampleRequest. * * @param {object} [patchPayload.properties.payloadsLocation] The URI of the - * payload blob. This paramater contains a value only if the + * payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} patchPayload.properties.payloadsLocation.uri The URI from @@ -3279,7 +3279,7 @@ class WebServices { * ExampleRequest. * * @param {object} [patchPayload.properties.payloadsLocation] The URI of the - * payload blob. This paramater contains a value only if the + * payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} patchPayload.properties.payloadsLocation.uri The URI from @@ -3941,7 +3941,7 @@ class WebServices { * ExampleRequest. * * @param {object} [createOrUpdatePayload.properties.payloadsLocation] The URI - * of the payload blob. This paramater contains a value only if the + * of the payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} createOrUpdatePayload.properties.payloadsLocation.uri The @@ -4131,7 +4131,7 @@ class WebServices { * ExampleRequest. * * @param {object} [createOrUpdatePayload.properties.payloadsLocation] The URI - * of the payload blob. This paramater contains a value only if the + * of the payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} createOrUpdatePayload.properties.payloadsLocation.uri The @@ -4340,7 +4340,7 @@ class WebServices { * ExampleRequest. * * @param {object} [patchPayload.properties.payloadsLocation] The URI of the - * payload blob. This paramater contains a value only if the + * payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} patchPayload.properties.payloadsLocation.uri The URI from @@ -4526,7 +4526,7 @@ class WebServices { * ExampleRequest. * * @param {object} [patchPayload.properties.payloadsLocation] The URI of the - * payload blob. This paramater contains a value only if the + * payload blob. This parameter contains a value only if the * payloadsInBlobStorage parameter is set to true. Otherwise is set to null. * * @param {string} patchPayload.properties.payloadsLocation.uri The URI from