Skip to content

Commit

Permalink
Merge pull request Azure#1984 from xingwu1/master1
Browse files Browse the repository at this point in the history
Update batch SDK by using latest autorest and latest swagger spec.
  • Loading branch information
amarzavery authored Nov 18, 2016
2 parents 1176d6f + a8401dc commit d0b6094
Show file tree
Hide file tree
Showing 198 changed files with 18,387 additions and 8,949 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* @constructor
* Additional parameters for the listNodeAgentSkusNext operation.
*
* @member {string} [clientRequestId] The caller-generated request identity,
* in the form of a GUID with no decoration such as curly braces, e.g.
* @member {string} [clientRequestId] The caller-generated request identity, in
* the form of a GUID with no decoration such as curly braces, e.g.
* 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
*
* @member {boolean} [returnClientRequestId] Whether the server should return
* the client-request-id identifier in the response.
* the client-request-id in the response. Default value: false .
*
* @member {date} [ocpDate] The time the request was issued. If not specified,
* this header will be automatically populated with the current system clock
Expand Down Expand Up @@ -52,6 +52,7 @@ AccountListNodeAgentSkusNextOptions.prototype.mapper = function () {
},
returnClientRequestId: {
required: false,
defaultValue: false,
type: {
name: 'Boolean'
}
Expand Down
10 changes: 6 additions & 4 deletions lib/services/batch/lib/models/accountListNodeAgentSkusOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
* @member {string} [filter] An OData $filter clause.
*
* @member {number} [maxResults] The maximum number of items to return in the
* response.
* response. A maximum of 1000 results will be returned. Default value: 1000 .
*
* @member {number} [timeout] The maximum time that the server can spend
* processing the request, in seconds. The default is 30 seconds. Default
* value: 30 .
*
* @member {string} [clientRequestId] The caller-generated request identity,
* in the form of a GUID with no decoration such as curly braces, e.g.
* @member {string} [clientRequestId] The caller-generated request identity, in
* the form of a GUID with no decoration such as curly braces, e.g.
* 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
*
* @member {boolean} [returnClientRequestId] Whether the server should return
* the client-request-id identifier in the response.
* the client-request-id in the response. Default value: false .
*
* @member {date} [ocpDate] The time the request was issued. If not specified,
* this header will be automatically populated with the current system clock
Expand Down Expand Up @@ -61,6 +61,7 @@ AccountListNodeAgentSkusOptions.prototype.mapper = function () {
},
maxResults: {
required: false,
defaultValue: 1000,
type: {
name: 'Number'
}
Expand All @@ -80,6 +81,7 @@ AccountListNodeAgentSkusOptions.prototype.mapper = function () {
},
returnClientRequestId: {
required: false,
defaultValue: false,
type: {
name: 'Boolean'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ var util = require('util');
* @class
* Initializes a new instance of the AccountListNodeAgentSkusResult class.
* @constructor
* @summary Response to an AccountOperation.ListNodeAgentSkus request.
* @summary The result of listing the supported node agent SKUs.
*
* @member {string} [odatanextLink] The URL to get the next set of results.
* @member {string} [odatanextLink]
*
*/
function AccountListNodeAgentSkusResult() {
Expand Down
6 changes: 3 additions & 3 deletions lib/services/batch/lib/models/affinityInformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
* compute node on which to start a task.
*
* @member {string} affinityId An opaque string representing the location of a
* compute node or a task that has run previously. You can pass the
* affinityId of a compute node or task to indicate that this task needs to
* be placed close to the node or task.
* compute node or a task that has run previously. You can pass the affinityId
* of a compute node or task to indicate that this task needs to be placed
* close to the node or task.
*
*/
function AffinityInformation() {
Expand Down
7 changes: 4 additions & 3 deletions lib/services/batch/lib/models/applicationGetOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
* processing the request, in seconds. The default is 30 seconds. Default
* value: 30 .
*
* @member {string} [clientRequestId] The caller-generated request identity,
* in the form of a GUID with no decoration such as curly braces, e.g.
* @member {string} [clientRequestId] The caller-generated request identity, in
* the form of a GUID with no decoration such as curly braces, e.g.
* 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
*
* @member {boolean} [returnClientRequestId] Whether the server should return
* the client-request-id identifier in the response.
* the client-request-id in the response. Default value: false .
*
* @member {date} [ocpDate] The time the request was issued. If not specified,
* this header will be automatically populated with the current system clock
Expand Down Expand Up @@ -63,6 +63,7 @@ ApplicationGetOptions.prototype.mapper = function () {
},
returnClientRequestId: {
required: false,
defaultValue: false,
type: {
name: 'Boolean'
}
Expand Down
7 changes: 4 additions & 3 deletions lib/services/batch/lib/models/applicationListNextOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* @constructor
* Additional parameters for the listNext operation.
*
* @member {string} [clientRequestId] The caller-generated request identity,
* in the form of a GUID with no decoration such as curly braces, e.g.
* @member {string} [clientRequestId] The caller-generated request identity, in
* the form of a GUID with no decoration such as curly braces, e.g.
* 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
*
* @member {boolean} [returnClientRequestId] Whether the server should return
* the client-request-id identifier in the response.
* the client-request-id in the response. Default value: false .
*
* @member {date} [ocpDate] The time the request was issued. If not specified,
* this header will be automatically populated with the current system clock
Expand Down Expand Up @@ -52,6 +52,7 @@ ApplicationListNextOptions.prototype.mapper = function () {
},
returnClientRequestId: {
required: false,
defaultValue: false,
type: {
name: 'Boolean'
}
Expand Down
11 changes: 7 additions & 4 deletions lib/services/batch/lib/models/applicationListOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@
* Additional parameters for the Application_list operation.
*
* @member {number} [maxResults] The maximum number of items to return in the
* response.
* response. A maximum of 1000 applications can be returned. Default value:
* 1000 .
*
* @member {number} [timeout] The maximum time that the server can spend
* processing the request, in seconds. The default is 30 seconds. Default
* value: 30 .
*
* @member {string} [clientRequestId] The caller-generated request identity,
* in the form of a GUID with no decoration such as curly braces, e.g.
* @member {string} [clientRequestId] The caller-generated request identity, in
* the form of a GUID with no decoration such as curly braces, e.g.
* 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
*
* @member {boolean} [returnClientRequestId] Whether the server should return
* the client-request-id identifier in the response.
* the client-request-id in the response. Default value: false .
*
* @member {date} [ocpDate] The time the request was issued. If not specified,
* this header will be automatically populated with the current system clock
Expand All @@ -53,6 +54,7 @@ ApplicationListOptions.prototype.mapper = function () {
modelProperties: {
maxResults: {
required: false,
defaultValue: 1000,
type: {
name: 'Number'
}
Expand All @@ -72,6 +74,7 @@ ApplicationListOptions.prototype.mapper = function () {
},
returnClientRequestId: {
required: false,
defaultValue: false,
type: {
name: 'Boolean'
}
Expand Down
2 changes: 1 addition & 1 deletion lib/services/batch/lib/models/applicationListResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var util = require('util');
* @class
* Initializes a new instance of the ApplicationListResult class.
* @constructor
* @summary Response to a ApplicationOperations.List request.
* @summary The result of listing the applications available in an account.
*
* @member {string} [odatanextLink]
*
Expand Down
7 changes: 5 additions & 2 deletions lib/services/batch/lib/models/applicationPackageReference.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
* @summary A reference to an application package to be deployed to compute
* nodes.
*
* @member {string} applicationId The id of the application to deploy.
* @member {string} applicationId The ID of the application to deploy.
*
* @member {string} [version] The version of the application to deploy. If
* omitted, the default version is deployed.
* omitted, the default version is deployed. If this is omitted, and no default
* version is specified for this application, the request fails with the error
* code InvalidApplicationPackageReferences. If you are calling the REST API
* directly, the HTTP status code is 409.
*
*/
function ApplicationPackageReference() {
Expand Down
4 changes: 2 additions & 2 deletions lib/services/batch/lib/models/applicationSummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ var util = require('util');
* @summary Contains information about an application in an Azure Batch
* account.
*
* @member {string} id A string that uniquely identifies the application
* within the account.
* @member {string} id A string that uniquely identifies the application within
* the account.
*
* @member {string} displayName The display name for the application.
*
Expand Down
Loading

0 comments on commit d0b6094

Please sign in to comment.