Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ declare class DataLakeAnalyticsCatalogManagementClient {
generateClientRequestId: boolean;

// Operation groups
catalog: operations.Catalog;
catalogOperations: operations.CatalogOperations;
}

export = DataLakeAnalyticsCatalogManagementClient;
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function DataLakeAnalyticsCatalogManagementClient(credentials, options) {
if(options.generateClientRequestId !== null && options.generateClientRequestId !== undefined) {
this.generateClientRequestId = options.generateClientRequestId;
}
this.catalog = new operations.Catalog(this);
this.catalog = new operations.CatalogOperations(this);
this.models = models;
msRest.addSerializationMixin(this);
}
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import * as models from '../models';

/**
* @class
* Catalog
* CatalogOperations
* __NOTE__: An instance of this class is automatically created for an
* instance of the DataLakeAnalyticsCatalogManagementClient.
*/
export interface Catalog {
export interface CatalogOperations {

/**
* Creates the specified secret for use with external data sources in the
Expand Down Expand Up @@ -80,8 +80,8 @@ export interface Catalog {
* @param {ServiceCallback} [callback] callback function; see ServiceCallback
* doc in ms-rest index.d.ts for details
*/
updateSecret(accountName: string, databaseName: string, secretName: string, parameters: models.DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.USqlSecret>): void;
updateSecret(accountName: string, databaseName: string, secretName: string, parameters: models.DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters, callback: ServiceCallback<models.USqlSecret>): void;
updateSecret(accountName: string, databaseName: string, secretName: string, parameters: models.DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters, options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<void>): void;
updateSecret(accountName: string, databaseName: string, secretName: string, parameters: models.DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters, callback: ServiceCallback<void>): void;

/**
* Gets the specified secret in the specified database. This is deprecated and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

'use strict';

exports.Catalog = require('./catalog');
exports.CatalogOperations = require('./catalogOperations');
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ declare class DataLakeAnalyticsJobManagementClient {
generateClientRequestId: boolean;

// Operation groups
job: operations.Job;
jobOperations: operations.JobOperations;
}

export = DataLakeAnalyticsJobManagementClient;
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function DataLakeAnalyticsJobManagementClient(credentials, options) {
if(options.generateClientRequestId !== null && options.generateClientRequestId !== undefined) {
this.generateClientRequestId = options.generateClientRequestId;
}
this.job = new operations.Job(this);
this.job = new operations.JobOperations(this);
this.models = models;
msRest.addSerializationMixin(this);
}
Expand Down
5 changes: 3 additions & 2 deletions lib/services/dataLake.Analytics/lib/job/models/diagnostics.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
* @member {string} [message] the error message.
*
* @member {string} [severity] the severity of the error. Possible values
* include: 'Warning', 'Error', 'Info'
* include: 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated',
* 'UserWarning'
*
* @member {number} [start] the starting index of the error.
*
Expand Down Expand Up @@ -85,7 +86,7 @@ Diagnostics.prototype.mapper = function () {
serializedName: 'severity',
type: {
name: 'Enum',
allowedValues: [ 'Warning', 'Error', 'Info' ]
allowedValues: [ 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated', 'UserWarning' ]
}
},
start: {
Expand Down
12 changes: 8 additions & 4 deletions lib/services/dataLake.Analytics/lib/job/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ export interface JobResource {
* @member {string} [message] the error message.
*
* @member {string} [severity] the severity of the error. Possible values
* include: 'Warning', 'Error', 'Info'
* include: 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated',
* 'UserWarning'
*
* @member {number} [start] the starting index of the error.
*
Expand Down Expand Up @@ -346,7 +347,8 @@ export interface HiveJobProperties extends JobProperties {
* @member {number} [diagnosticCode] the diagnostic error code.
*
* @member {string} [severity] the severity level of the failure. Possible
* values include: 'Warning', 'Error', 'Info'
* values include: 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated',
* 'UserWarning'
*
* @member {string} [details] the details of the error message.
*
Expand Down Expand Up @@ -427,7 +429,8 @@ export interface JobInnerError {
* @member {number} [innerError.diagnosticCode] the diagnostic error code.
*
* @member {string} [innerError.severity] the severity level of the failure.
* Possible values include: 'Warning', 'Error', 'Info'
* Possible values include: 'Warning', 'Error', 'Info', 'SevereWarning',
* 'Deprecated', 'UserWarning'
*
* @member {string} [innerError.details] the details of the error message.
*
Expand Down Expand Up @@ -455,7 +458,8 @@ export interface JobInnerError {
* @member {string} [innerError.description] the error message description
*
* @member {string} [severity] the severity level of the failure. Possible
* values include: 'Warning', 'Error', 'Info'
* values include: 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated',
* 'UserWarning'
*
* @member {string} [source] the ultimate source of the failure (usually either
* SYSTEM or USER).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ var models = require('./index');
* @member {number} [innerError.diagnosticCode] the diagnostic error code.
*
* @member {string} [innerError.severity] the severity level of the failure.
* Possible values include: 'Warning', 'Error', 'Info'
* Possible values include: 'Warning', 'Error', 'Info', 'SevereWarning',
* 'Deprecated', 'UserWarning'
*
* @member {string} [innerError.details] the details of the error message.
*
Expand Down Expand Up @@ -80,7 +81,8 @@ var models = require('./index');
* @member {string} [innerError.description] the error message description
*
* @member {string} [severity] the severity level of the failure. Possible
* values include: 'Warning', 'Error', 'Info'
* values include: 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated',
* 'UserWarning'
*
* @member {string} [source] the ultimate source of the failure (usually either
* SYSTEM or USER).
Expand Down Expand Up @@ -201,7 +203,7 @@ JobErrorDetails.prototype.mapper = function () {
serializedName: 'severity',
type: {
name: 'Enum',
allowedValues: [ 'Warning', 'Error', 'Info' ]
allowedValues: [ 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated', 'UserWarning' ]
}
},
source: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
* @member {number} [diagnosticCode] the diagnostic error code.
*
* @member {string} [severity] the severity level of the failure. Possible
* values include: 'Warning', 'Error', 'Info'
* values include: 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated',
* 'UserWarning'
*
* @member {string} [details] the details of the error message.
*
Expand Down Expand Up @@ -77,7 +78,7 @@ JobInnerError.prototype.mapper = function () {
serializedName: 'severity',
type: {
name: 'Enum',
allowedValues: [ 'Warning', 'Error', 'Info' ]
allowedValues: [ 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated', 'UserWarning' ]
}
},
details: {
Expand Down
4 changes: 2 additions & 2 deletions lib/services/dataLake.Analytics/lib/job/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import * as models from '../models';

/**
* @class
* Job
* JobOperations
* __NOTE__: An instance of this class is automatically created for an
* instance of the DataLakeAnalyticsJobManagementClient.
*/
export interface Job {
export interface JobOperations {

/**
* Gets statistics of the specified job.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

'use strict';

exports.Job = require('./job');
exports.JobOperations = require('./jobOperations');
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ var WebResource = msRest.WebResource;

/**
* @class
* Job
* JobOperations
* __NOTE__: An instance of this class is automatically created for an
* instance of the DataLakeAnalyticsJobManagementClient.
* Initializes a new instance of the Job class.
* Initializes a new instance of the JobOperations class.
* @constructor
*
* @param {DataLakeAnalyticsJobManagementClient} client Reference to the service client.
*/
function Job(client) {
function JobOperations(client) {
this.client = client;
}

Expand Down Expand Up @@ -55,7 +55,7 @@ function Job(client) {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
Job.prototype.getStatistics = function (accountName, jobIdentity, options, callback) {
JobOperations.prototype.getStatistics = function (accountName, jobIdentity, options, callback) {
var client = this.client;
if(!callback && typeof options === 'function') {
callback = options;
Expand Down Expand Up @@ -200,7 +200,7 @@ Job.prototype.getStatistics = function (accountName, jobIdentity, options, callb
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
Job.prototype.getDebugDataPath = function (accountName, jobIdentity, options, callback) {
JobOperations.prototype.getDebugDataPath = function (accountName, jobIdentity, options, callback) {
var client = this.client;
if(!callback && typeof options === 'function') {
callback = options;
Expand Down Expand Up @@ -372,7 +372,7 @@ Job.prototype.getDebugDataPath = function (accountName, jobIdentity, options, ca
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
Job.prototype.build = function (accountName, parameters, options, callback) {
JobOperations.prototype.build = function (accountName, parameters, options, callback) {
var client = this.client;
if(!callback && typeof options === 'function') {
callback = options;
Expand Down Expand Up @@ -529,7 +529,7 @@ Job.prototype.build = function (accountName, parameters, options, callback) {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
Job.prototype.cancel = function (accountName, jobIdentity, options, callback) {
JobOperations.prototype.cancel = function (accountName, jobIdentity, options, callback) {
var client = this.client;
if(!callback && typeof options === 'function') {
callback = options;
Expand Down Expand Up @@ -654,7 +654,7 @@ Job.prototype.cancel = function (accountName, jobIdentity, options, callback) {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
Job.prototype.get = function (accountName, jobIdentity, options, callback) {
JobOperations.prototype.get = function (accountName, jobIdentity, options, callback) {
var client = this.client;
if(!callback && typeof options === 'function') {
callback = options;
Expand Down Expand Up @@ -827,7 +827,7 @@ Job.prototype.get = function (accountName, jobIdentity, options, callback) {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
Job.prototype.create = function (accountName, jobIdentity, parameters, options, callback) {
JobOperations.prototype.create = function (accountName, jobIdentity, parameters, options, callback) {
var client = this.client;
if(!callback && typeof options === 'function') {
callback = options;
Expand Down Expand Up @@ -1008,7 +1008,7 @@ Job.prototype.create = function (accountName, jobIdentity, parameters, options,
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
Job.prototype.list = function (accountName, options, callback) {
JobOperations.prototype.list = function (accountName, options, callback) {
var client = this.client;
if(!callback && typeof options === 'function') {
callback = options;
Expand Down Expand Up @@ -1202,7 +1202,7 @@ Job.prototype.list = function (accountName, options, callback) {
*
* {stream} [response] - The HTTP Response stream if an error did not occur.
*/
Job.prototype.listNext = function (nextPageLink, options, callback) {
JobOperations.prototype.listNext = function (nextPageLink, options, callback) {
var client = this.client;
if(!callback && typeof options === 'function') {
callback = options;
Expand Down Expand Up @@ -1305,4 +1305,4 @@ Job.prototype.listNext = function (nextPageLink, options, callback) {
};


module.exports = Job;
module.exports = JobOperations;
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { ServiceClientOptions, RequestOptions, ServiceCallback, ServiceClientCre
import * as operations from "./operations";

declare class DataLakeStoreFileSystemManagementClient {
/**
/**
* @class
* Initializes a new instance of the DataLakeStoreFileSystemManagementClient class.
* @constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ function DataLakeStoreFileSystemManagementClient(credentials, options) {
this.baseUri = 'https://{accountName}.{adlsFileSystemDnsSuffix}';
this.credentials = credentials;

var packageInfo = this.getPackageJsonInfo(__dirname);
this.addUserAgentInfo(util.format('%s/%s', packageInfo.name, packageInfo.version));
if(options.apiVersion !== null && options.apiVersion !== undefined) {
this.apiVersion = options.apiVersion;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
* @member {string} [type] the type of the path object. Possible values
* include: 'FILE', 'DIRECTORY'
*
* @member {boolean} [aclBit] flag to indicate if extended acls are enabled
*
*/
function FileStatusProperties() {
}
Expand Down Expand Up @@ -87,7 +89,7 @@ FileStatusProperties.prototype.mapper = function () {
expirationTime: {
required: false,
readOnly: true,
serializedName: 'expirationTime',
serializedName: 'msExpirationTime',
type: {
name: 'Number'
}
Expand Down Expand Up @@ -148,6 +150,14 @@ FileStatusProperties.prototype.mapper = function () {
name: 'Enum',
allowedValues: [ 'FILE', 'DIRECTORY' ]
}
},
aclBit: {
required: false,
readOnly: true,
serializedName: 'aclBit',
type: {
name: 'Boolean'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ var models = require('./index');
* @member {string} [fileStatus.type] the type of the path object. Possible
* values include: 'FILE', 'DIRECTORY'
*
* @member {boolean} [fileStatus.aclBit] flag to indicate if extended acls are
* enabled
*
*/
function FileStatusResult() {
}
Expand Down
6 changes: 6 additions & 0 deletions lib/services/dataLake.Store/lib/filesystem/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ export interface ContentSummaryResult {
* @member {string} [type] the type of the path object. Possible values
* include: 'FILE', 'DIRECTORY'
*
* @member {boolean} [aclBit] flag to indicate if extended acls are enabled
*
*/
export interface FileStatusProperties {
accessTime?: number;
Expand All @@ -170,6 +172,7 @@ export interface FileStatusProperties {
pathSuffix?: string;
permission?: string;
type?: string;
aclBit?: boolean;
}

/**
Expand Down Expand Up @@ -241,6 +244,9 @@ export interface FileStatusesResult {
* @member {string} [fileStatus.type] the type of the path object. Possible
* values include: 'FILE', 'DIRECTORY'
*
* @member {boolean} [fileStatus.aclBit] flag to indicate if extended acls are
* enabled
*
*/
export interface FileStatusResult {
fileStatus?: FileStatusProperties;
Expand Down
Loading