This repository was archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from e2352b510b4d4bcc89aed634b99985388b785ba3 (#4100)
Add maximum chunk size to data lake store docs.
- Loading branch information
1 parent
1585669
commit 9c4a47c
Showing
28 changed files
with
9,748 additions
and
0 deletions.
There are no files selected for viewing
82 changes: 82 additions & 0 deletions
82
lib/services/datalake.Store/lib/filesystem/dataLakeStoreFileSystemManagementClient.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
*/ | ||
|
||
import { ServiceClientCredentials } from 'ms-rest'; | ||
import { AzureServiceClient, AzureServiceClientOptions } from 'ms-rest-azure'; | ||
import * as models from "./models"; | ||
import * as operations from "./operations"; | ||
|
||
/** | ||
* DataLakeStoreFileSystemManagementClientOptions for DataLakeStoreFileSystemManagementClient. | ||
*/ | ||
declare interface DataLakeStoreFileSystemManagementClientOptions extends AzureServiceClientOptions { | ||
/** | ||
* @property {string} [adlsFileSystemDnsSuffix] - Gets the URI used as the base for all cloud service requests. | ||
*/ | ||
adlsFileSystemDnsSuffix?: string; | ||
/** | ||
* @property {string} [acceptLanguage] - The preferred language for the response. | ||
*/ | ||
acceptLanguage?: string; | ||
/** | ||
* @property {number} [longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30. | ||
*/ | ||
longRunningOperationRetryTimeout?: number; | ||
/** | ||
* @property {boolean} [generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. | ||
*/ | ||
generateClientRequestId?: boolean; | ||
} | ||
|
||
export default class DataLakeStoreFileSystemManagementClient extends AzureServiceClient { | ||
/** | ||
* Initializes a new instance of the DataLakeStoreFileSystemManagementClient class. | ||
* @constructor | ||
* | ||
* @class | ||
* @param {credentials} credentials - Credentials needed for the client to connect to Azure. | ||
* | ||
* @param {object} [options] - The parameter options | ||
* | ||
* @param {Array} [options.filters] - Filters to be added to the request pipeline | ||
* | ||
* @param {object} [options.requestOptions] - Options for the underlying request object | ||
* {@link https://github.com/request/request#requestoptions-callback Options doc} | ||
* | ||
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy | ||
* | ||
* @param {string} [options.adlsFileSystemDnsSuffix] - Gets the URI used as the base for all cloud service requests. | ||
* | ||
* @param {string} [options.acceptLanguage] - The preferred language for the response. | ||
* | ||
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30. | ||
* | ||
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. | ||
* | ||
*/ | ||
constructor(credentials: ServiceClientCredentials, options?: DataLakeStoreFileSystemManagementClientOptions); | ||
|
||
credentials: ServiceClientCredentials; | ||
|
||
apiVersion: string; | ||
|
||
adlsFileSystemDnsSuffix: string; | ||
|
||
acceptLanguage: string; | ||
|
||
longRunningOperationRetryTimeout: number; | ||
|
||
generateClientRequestId: boolean; | ||
|
||
// Operation groups | ||
fileSystem: operations.FileSystem; | ||
} | ||
|
||
export { DataLakeStoreFileSystemManagementClient, models as DataLakeStoreFileSystemManagementModels }; |
81 changes: 81 additions & 0 deletions
81
lib/services/datalake.Store/lib/filesystem/dataLakeStoreFileSystemManagementClient.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
/* jshint latedef:false */ | ||
/* jshint forin:false */ | ||
/* jshint noempty:false */ | ||
|
||
'use strict'; | ||
|
||
const msRest = require('ms-rest'); | ||
const msRestAzure = require('ms-rest-azure'); | ||
const ServiceClient = msRestAzure.AzureServiceClient; | ||
|
||
const models = require('./models'); | ||
const operations = require('./operations'); | ||
|
||
|
||
/** Class representing a DataLakeStoreFileSystemManagementClient. */ | ||
class DataLakeStoreFileSystemManagementClient extends ServiceClient { | ||
/** | ||
* Create a DataLakeStoreFileSystemManagementClient. | ||
* @param {credentials} credentials - Credentials needed for the client to connect to Azure. | ||
* @param {object} [options] - The parameter options | ||
* @param {Array} [options.filters] - Filters to be added to the request pipeline | ||
* @param {object} [options.requestOptions] - Options for the underlying request object | ||
* {@link https://github.com/request/request#requestoptions-callback Options doc} | ||
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy | ||
* @param {string} [options.adlsFileSystemDnsSuffix] - Gets the URI used as the base for all cloud service requests. | ||
* @param {string} [options.acceptLanguage] - The preferred language for the response. | ||
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30. | ||
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. | ||
*/ | ||
constructor(credentials, options) { | ||
if (credentials === null || credentials === undefined) { | ||
throw new Error('\'credentials\' cannot be null.'); | ||
} | ||
|
||
if (!options) options = {}; | ||
|
||
super(credentials, options); | ||
|
||
this.apiVersion = '2016-11-01'; | ||
this.adlsFileSystemDnsSuffix = 'azuredatalakestore.net'; | ||
this.acceptLanguage = 'en-US'; | ||
this.longRunningOperationRetryTimeout = 30; | ||
this.generateClientRequestId = true; | ||
this.baseUri = 'https://{accountName}.{adlsFileSystemDnsSuffix}'; | ||
this.credentials = credentials; | ||
|
||
let packageInfo = this.getPackageJsonInfo(__dirname); | ||
this.addUserAgentInfo(`${packageInfo.name}/${packageInfo.version}`); | ||
if(options.adlsFileSystemDnsSuffix !== null && options.adlsFileSystemDnsSuffix !== undefined) { | ||
this.adlsFileSystemDnsSuffix = options.adlsFileSystemDnsSuffix; | ||
} | ||
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { | ||
this.acceptLanguage = options.acceptLanguage; | ||
} | ||
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { | ||
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; | ||
} | ||
if(options.generateClientRequestId !== null && options.generateClientRequestId !== undefined) { | ||
this.generateClientRequestId = options.generateClientRequestId; | ||
} | ||
this.fileSystem = new operations.FileSystem(this); | ||
this.models = models; | ||
msRest.addSerializationMixin(this); | ||
} | ||
|
||
} | ||
|
||
module.exports = DataLakeStoreFileSystemManagementClient; | ||
module.exports['default'] = DataLakeStoreFileSystemManagementClient; | ||
module.exports.DataLakeStoreFileSystemManagementClient = DataLakeStoreFileSystemManagementClient; | ||
module.exports.DataLakeStoreFileSystemManagementModels = models; |
95 changes: 95 additions & 0 deletions
95
lib/services/datalake.Store/lib/filesystem/models/aclStatus.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
/* | ||
* 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'; | ||
|
||
/** | ||
* Data Lake Store file or directory Access Control List information. | ||
* | ||
*/ | ||
class AclStatus { | ||
/** | ||
* Create a AclStatus. | ||
* @property {array} [entries] the list of ACLSpec entries on a file or | ||
* directory. | ||
* @property {string} [group] the group owner, an AAD Object ID. | ||
* @property {string} [owner] the user owner, an AAD Object ID. | ||
* @property {string} [permission] The octal representation of the unnamed | ||
* user, mask and other permissions. | ||
* @property {boolean} [stickyBit] the indicator of whether the sticky bit is | ||
* on or off. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of AclStatus | ||
* | ||
* @returns {object} metadata of AclStatus | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'AclStatus', | ||
type: { | ||
name: 'Composite', | ||
className: 'AclStatus', | ||
modelProperties: { | ||
entries: { | ||
required: false, | ||
serializedName: 'entries', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
}, | ||
group: { | ||
required: false, | ||
serializedName: 'group', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
owner: { | ||
required: false, | ||
serializedName: 'owner', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
permission: { | ||
required: false, | ||
serializedName: 'permission', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
stickyBit: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'stickyBit', | ||
type: { | ||
name: 'Boolean' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = AclStatus; |
62 changes: 62 additions & 0 deletions
62
lib/services/datalake.Store/lib/filesystem/models/aclStatusResult.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* | ||
* 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'; | ||
|
||
/** | ||
* Data Lake Store file or directory Access Control List information. | ||
* | ||
*/ | ||
class AclStatusResult { | ||
/** | ||
* Create a AclStatusResult. | ||
* @property {object} [aclStatus] the AclStatus object for a given file or | ||
* directory. | ||
* @property {array} [aclStatus.entries] the list of ACLSpec entries on a | ||
* file or directory. | ||
* @property {string} [aclStatus.group] the group owner, an AAD Object ID. | ||
* @property {string} [aclStatus.owner] the user owner, an AAD Object ID. | ||
* @property {string} [aclStatus.permission] The octal representation of the | ||
* unnamed user, mask and other permissions. | ||
* @property {boolean} [aclStatus.stickyBit] the indicator of whether the | ||
* sticky bit is on or off. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of AclStatusResult | ||
* | ||
* @returns {object} metadata of AclStatusResult | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'AclStatusResult', | ||
type: { | ||
name: 'Composite', | ||
className: 'AclStatusResult', | ||
modelProperties: { | ||
aclStatus: { | ||
required: false, | ||
serializedName: 'aclStatus', | ||
type: { | ||
name: 'Composite', | ||
className: 'AclStatus' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = AclStatusResult; |
Oops, something went wrong.