lib/services/databox/lib/operations/jobs.js
/**
   * This method gets the unencrypted secrets related to the job.
   *
   * @param {string} resourceGroupName The Resource Group Name
   *
   * @param {string} jobName The name of the job Resource within the specified
   * resource group. job names must be between 3 and 24 characters in length and
   * use any alphanumeric and underscore only
   *
   * @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<UnencryptedSecrets>} - The deserialized result object.
   *
   * @reject {Error} - The error object.
   */
This method gets the unencrypted secrets related to the job.
@param {string} resourceGroupName The Resource Group Name

@param {string} jobName The name of the job Resource within the specified
resource group. job names must be between 3 and 24 characters in length and
use any alphanumeric and underscore only

@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.
This method gets the unencrypted secrets related to the job . @param { string } resourceGroupName The Resource Group Name @param { string } jobName The name of the job Resource within the specified resource group . job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only @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 .
listSecretsWithHttpOperationResponse(resourceGroupName, jobName, options) {
    let client = this.client;
    let self = this;
    return new Promise((resolve, reject) => {
      self._listSecrets(resourceGroupName, jobName, options, (err, result, request, response) => {
        let httpOperationResponse = new msRest.HttpOperationResponse(request, response);
        httpOperationResponse.body = result;
        if (err) { reject(err); }
        else { resolve(httpOperationResponse); }
        return;
      });
    });
  }
listSecretsWithHttpOperationResponse ( resourceGroupName , jobName , options ) { let client = this . client ; let self = this ; return new Promise ( ( resolve , reject ) => { self . _listSecrets ( resourceGroupName , jobName , options , ( err , result , request , response ) => { let httpOperationResponse = new msRest . HttpOperationResponse ( request , response ) ; httpOperationResponse . body = result ; if ( err ) { reject ( err ) ; } else { resolve ( httpOperationResponse ) ; } return ; } ) ; } ) ; }
This method gets the unencrypted secrets related to the job.
This method gets the unencrypted secrets related to the job .