lib/services/batch/lib/operations/account.js
/**
   * @summary Lists all node agent SKUs supported by the Azure Batch service.
   *
   * @param {object} [options] Optional Parameters.
   *
   * @param {object} [options.accountListNodeAgentSkusOptions] Additional
   * parameters for the operation
   *
   * @param {string} [options.accountListNodeAgentSkusOptions.filter] An OData
   * $filter clause. For more information on constructing this filter, see
   * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-node-agent-skus.
   *
   * @param {number} [options.accountListNodeAgentSkusOptions.maxResults] The
   * maximum number of items to return in the response. A maximum of 1000 results
   * will be returned.
   *
   * @param {number} [options.accountListNodeAgentSkusOptions.timeout] The
   * maximum time that the server can spend processing the request, in seconds.
   * The default is 30 seconds.
   *
   * @param {uuid} [options.accountListNodeAgentSkusOptions.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.
   *
   * @param {boolean}
   * [options.accountListNodeAgentSkusOptions.returnClientRequestId] Whether the
   * server should return the client-request-id in the response.
   *
   * @param {date} [options.accountListNodeAgentSkusOptions.ocpDate] The time the
   * request was issued. Client libraries typically set this to the current
   * system clock time; set it explicitly if you are calling the REST API
   * directly.
   *
   * @param {object} [options.customHeaders] Headers that will be added to the
   * request
   *
   * @returns {Promise} A promise is returned
   *
   * @resolve {HttpOperationResponse<AccountListNodeAgentSkusResult>} - The deserialized result object.
   *
   * @reject {Error} - The error object.
   */
@summary Lists all node agent SKUs supported by the Azure Batch service.
@param {object} [options] Optional Parameters.

@param {object} [options.accountListNodeAgentSkusOptions] Additional
parameters for the operation

@param {string} [options.accountListNodeAgentSkusOptions.filter] An OData
$filter clause.

@param {number} [options.accountListNodeAgentSkusOptions.maxResults] The
maximum number of items to return in the response. A maximum of 1000 results
will be returned.

@param {number} [options.accountListNodeAgentSkusOptions.timeout] The
maximum time that the server can spend processing the request, in seconds.
The default is 30 seconds.

@param {uuid} [options.accountListNodeAgentSkusOptions.clientRequestId] The
caller-generated request identity, in the form of a GUID with no decoration
such as curly braces, e.g.

@param {boolean}
[options.accountListNodeAgentSkusOptions.returnClientRequestId] Whether the
server should return the client-request-id in the response.

@param {date} [options.accountListNodeAgentSkusOptions.ocpDate] The time the
request was issued. Client libraries typically set this to the current
system clock time; set it explicitly if you are calling the REST API
directly.

@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.
@summary Lists all node agent SKUs supported by the Azure Batch service . @param { object } [ options ] Optional Parameters . @param { object } [ options . accountListNodeAgentSkusOptions ] Additional parameters for the operation @param { string } [ options . accountListNodeAgentSkusOptions . filter ] An OData $filter clause . @param { number } [ options . accountListNodeAgentSkusOptions . maxResults ] The maximum number of items to return in the response . A maximum of 1000 results will be returned . @param { number } [ options . accountListNodeAgentSkusOptions . timeout ] The maximum time that the server can spend processing the request in seconds . The default is 30 seconds . @param { uuid } [ options . accountListNodeAgentSkusOptions . clientRequestId ] The caller - generated request identity in the form of a GUID with no decoration such as curly braces e . g . @param { boolean } [ options . accountListNodeAgentSkusOptions . returnClientRequestId ] Whether the server should return the client - request - id in the response . @param { date } [ options . accountListNodeAgentSkusOptions . ocpDate ] The time the request was issued . Client libraries typically set this to the current system clock time ; set it explicitly if you are calling the REST API directly . @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 .
listNodeAgentSkusWithHttpOperationResponse(options) {
    let client = this.client;
    let self = this;
    return new Promise((resolve, reject) => {
      self._listNodeAgentSkus(options, (err, result, request, response) => {
        let httpOperationResponse = new msRest.HttpOperationResponse(request, response);
        httpOperationResponse.body = result;
        if (err) { reject(err); }
        else { resolve(httpOperationResponse); }
        return;
      });
    });
  }
listNodeAgentSkusWithHttpOperationResponse ( options ) { let client = this . client ; let self = this ; return new Promise ( ( resolve , reject ) => { self . _listNodeAgentSkus ( options , ( err , result , request , response ) => { let httpOperationResponse = new msRest . HttpOperationResponse ( request , response ) ; httpOperationResponse . body = result ; if ( err ) { reject ( err ) ; } else { resolve ( httpOperationResponse ) ; } return ; } ) ; } ) ; }
@summary Lists all node agent SKUs supported by the Azure Batch service.
@summary Lists all node agent SKUs supported by the Azure Batch service .