@azure/storage-blob 12.5.1-alpha.20210323.1 → 12.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +57 -51
- package/dist/index.js +8149 -5971
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobBatch.js +3 -3
- package/dist-esm/storage-blob/src/BlobBatch.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobBatchClient.js +3 -3
- package/dist-esm/storage-blob/src/BlobBatchClient.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobLeaseClient.js +7 -7
- package/dist-esm/storage-blob/src/BlobLeaseClient.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobServiceClient.js +12 -12
- package/dist-esm/storage-blob/src/BlobServiceClient.js.map +1 -1
- package/dist-esm/storage-blob/src/Clients.js +72 -61
- package/dist-esm/storage-blob/src/Clients.js.map +1 -1
- package/dist-esm/storage-blob/src/ContainerClient.js +18 -18
- package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/index.js +11 -0
- package/dist-esm/storage-blob/src/generated/src/index.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/models/index.js +2 -2
- package/dist-esm/storage-blob/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/models/mappers.js +3714 -2267
- package/dist-esm/storage-blob/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/models/parameters.js +848 -903
- package/dist-esm/storage-blob/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/appendBlob.js +148 -142
- package/dist-esm/storage-blob/src/generated/src/operations/appendBlob.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/blob.js +675 -592
- package/dist-esm/storage-blob/src/generated/src/operations/blob.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/blockBlob.js +254 -223
- package/dist-esm/storage-blob/src/generated/src/operations/blockBlob.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/container.js +426 -377
- package/dist-esm/storage-blob/src/generated/src/operations/container.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/directory.js +153 -128
- package/dist-esm/storage-blob/src/generated/src/operations/directory.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/index.js +3 -5
- package/dist-esm/storage-blob/src/generated/src/operations/index.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/pageBlob.js +297 -263
- package/dist-esm/storage-blob/src/generated/src/operations/pageBlob.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/service.js +207 -177
- package/dist-esm/storage-blob/src/generated/src/operations/service.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClient.js +14 -20
- package/dist-esm/storage-blob/src/generated/src/storageClient.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClientContext.js +13 -12
- package/dist-esm/storage-blob/src/generated/src/storageClientContext.js.map +1 -1
- package/dist-esm/storage-blob/src/generatedModels.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/constants.js +2 -2
- package/dist-esm/storage-blob/src/utils/constants.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/tracing.js +3 -2
- package/dist-esm/storage-blob/src/utils/tracing.js.map +1 -1
- package/package.json +10 -11
- package/typings/3.1/storage-blob.d.ts +888 -3049
- package/typings/latest/storage-blob.d.ts +889 -3049
- package/dist-esm/storage-blob/src/generated/src/models/appendBlobMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/appendBlobMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/blobMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/blobMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/blockBlobMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/blockBlobMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/containerMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/containerMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/directoryMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/directoryMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/pageBlobMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/pageBlobMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/serviceMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/serviceMappers.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"directory.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/directory.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,sCAAsC;AACtC;IAGE;;;OAGG;IACH,mBAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAqBD,0BAAM,GAAN,UAAO,OAA+E,EAAE,QAAyC;QAC/H,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAA4C,CAAC;IACzD,CAAC;IA8BD,0BAAM,GAAN,UAAO,YAAoB,EAAE,OAA+E,EAAE,QAAyC;QACrJ,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAA4C,CAAC;IACzD,CAAC;IAuBD,gCAAY,GAAZ,UAAa,wBAAiC,EAAE,OAAqF,EAAE,QAAyC;QAC9K,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,wBAAwB,0BAAA;YACxB,OAAO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BAAoB;YACxC,aAAa,EAAE,OAAO,CAAC,gCAAgC;SACxD;KACF;IACD,KAAK,EAAE,IAAI;IACX,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,6BAA6B,GAA2B;IAC5D,UAAU,EAAE,MAAM;IAClB,IAAI,EAAE,qBAAqB;IAC3B,aAAa,EAAE;QACb,UAAU,CAAC,GAAG;KACf;IACD,eAAe,EAAE;QACf,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,GAAG;QACd,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,iBAAiB;KAC7B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,gCAAgC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;YACxC,aAAa,EAAE,OAAO,CAAC,gCAAgC;SACxD;KACF;IACD,KAAK,EAAE,IAAI;IACX,UAAU,YAAA;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for\n * license information.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is\n * regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Models from \"../models\";\nimport * as Mappers from \"../models/directoryMappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClientContext } from \"../storageClientContext\";\n\n/** Class representing a Directory. */\nexport class Directory {\n private readonly client: StorageClientContext;\n\n /**\n * Create a Directory.\n * @param {StorageClientContext} client Reference to the service client.\n */\n constructor(client: StorageClientContext) {\n this.client = client;\n }\n\n /**\n * Create a directory. By default, the destination is overwritten and if the destination already\n * exists and has a lease the lease is broken. This operation supports conditional HTTP requests.\n * For more information, see [Specifying Conditional Headers for Blob Service\n * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * To fail if the destination already exists, use a conditional request with If-None-Match: \"*\".\n * @param [options] The optional parameters\n * @returns Promise<Models.DirectoryCreateResponse>\n */\n create(options?: Models.DirectoryCreateOptionalParams): Promise<Models.DirectoryCreateResponse>;\n /**\n * @param callback The callback\n */\n create(callback: coreHttp.ServiceCallback<void>): void;\n /**\n * @param options The optional parameters\n * @param callback The callback\n */\n create(options: Models.DirectoryCreateOptionalParams, callback: coreHttp.ServiceCallback<void>): void;\n create(options?: Models.DirectoryCreateOptionalParams | coreHttp.ServiceCallback<void>, callback?: coreHttp.ServiceCallback<void>): Promise<Models.DirectoryCreateResponse> {\n return this.client.sendOperationRequest(\n {\n options\n },\n createOperationSpec,\n callback) as Promise<Models.DirectoryCreateResponse>;\n }\n\n /**\n * Rename a directory. By default, the destination is overwritten and if the destination already\n * exists and has a lease the lease is broken. This operation supports conditional HTTP requests.\n * For more information, see [Specifying Conditional Headers for Blob Service\n * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * To fail if the destination already exists, use a conditional request with If-None-Match: \"*\".\n * @param renameSource The file or directory to be renamed. The value must have the following\n * format: \"/{filesysystem}/{path}\". If \"x-ms-properties\" is specified, the properties will\n * overwrite the existing properties; otherwise, the existing properties will be preserved.\n * @param [options] The optional parameters\n * @returns Promise<Models.DirectoryRenameResponse>\n */\n rename(renameSource: string, options?: Models.DirectoryRenameOptionalParams): Promise<Models.DirectoryRenameResponse>;\n /**\n * @param renameSource The file or directory to be renamed. The value must have the following\n * format: \"/{filesysystem}/{path}\". If \"x-ms-properties\" is specified, the properties will\n * overwrite the existing properties; otherwise, the existing properties will be preserved.\n * @param callback The callback\n */\n rename(renameSource: string, callback: coreHttp.ServiceCallback<void>): void;\n /**\n * @param renameSource The file or directory to be renamed. The value must have the following\n * format: \"/{filesysystem}/{path}\". If \"x-ms-properties\" is specified, the properties will\n * overwrite the existing properties; otherwise, the existing properties will be preserved.\n * @param options The optional parameters\n * @param callback The callback\n */\n rename(renameSource: string, options: Models.DirectoryRenameOptionalParams, callback: coreHttp.ServiceCallback<void>): void;\n rename(renameSource: string, options?: Models.DirectoryRenameOptionalParams | coreHttp.ServiceCallback<void>, callback?: coreHttp.ServiceCallback<void>): Promise<Models.DirectoryRenameResponse> {\n return this.client.sendOperationRequest(\n {\n renameSource,\n options\n },\n renameOperationSpec,\n callback) as Promise<Models.DirectoryRenameResponse>;\n }\n\n /**\n * Deletes the directory\n * @param recursiveDirectoryDelete If \"true\", all paths beneath the directory will be deleted. If\n * \"false\" and the directory is non-empty, an error occurs.\n * @param [options] The optional parameters\n * @returns Promise<Models.DirectoryDeleteResponse>\n */\n deleteMethod(recursiveDirectoryDelete: boolean, options?: Models.DirectoryDeleteMethodOptionalParams): Promise<Models.DirectoryDeleteResponse>;\n /**\n * @param recursiveDirectoryDelete If \"true\", all paths beneath the directory will be deleted. If\n * \"false\" and the directory is non-empty, an error occurs.\n * @param callback The callback\n */\n deleteMethod(recursiveDirectoryDelete: boolean, callback: coreHttp.ServiceCallback<void>): void;\n /**\n * @param recursiveDirectoryDelete If \"true\", all paths beneath the directory will be deleted. If\n * \"false\" and the directory is non-empty, an error occurs.\n * @param options The optional parameters\n * @param callback The callback\n */\n deleteMethod(recursiveDirectoryDelete: boolean, options: Models.DirectoryDeleteMethodOptionalParams, callback: coreHttp.ServiceCallback<void>): void;\n deleteMethod(recursiveDirectoryDelete: boolean, options?: Models.DirectoryDeleteMethodOptionalParams | coreHttp.ServiceCallback<void>, callback?: coreHttp.ServiceCallback<void>): Promise<Models.DirectoryDeleteResponse> {\n return this.client.sendOperationRequest(\n {\n recursiveDirectoryDelete,\n options\n },\n deleteMethodOperationSpec,\n callback) as Promise<Models.DirectoryDeleteResponse>;\n }\n\n /**\n * Set the owner, group, permissions, or access control list for a directory.\n * @param [options] The optional parameters\n * @returns Promise<Models.DirectorySetAccessControlResponse>\n */\n setAccessControl(options?: Models.DirectorySetAccessControlOptionalParams): Promise<Models.DirectorySetAccessControlResponse>;\n /**\n * @param callback The callback\n */\n setAccessControl(callback: coreHttp.ServiceCallback<void>): void;\n /**\n * @param options The optional parameters\n * @param callback The callback\n */\n setAccessControl(options: Models.DirectorySetAccessControlOptionalParams, callback: coreHttp.ServiceCallback<void>): void;\n setAccessControl(options?: Models.DirectorySetAccessControlOptionalParams | coreHttp.ServiceCallback<void>, callback?: coreHttp.ServiceCallback<void>): Promise<Models.DirectorySetAccessControlResponse> {\n return this.client.sendOperationRequest(\n {\n options\n },\n setAccessControlOperationSpec,\n callback) as Promise<Models.DirectorySetAccessControlResponse>;\n }\n\n /**\n * Get the owner, group, permissions, or access control list for a directory.\n * @param [options] The optional parameters\n * @returns Promise<Models.DirectoryGetAccessControlResponse>\n */\n getAccessControl(options?: Models.DirectoryGetAccessControlOptionalParams): Promise<Models.DirectoryGetAccessControlResponse>;\n /**\n * @param callback The callback\n */\n getAccessControl(callback: coreHttp.ServiceCallback<void>): void;\n /**\n * @param options The optional parameters\n * @param callback The callback\n */\n getAccessControl(options: Models.DirectoryGetAccessControlOptionalParams, callback: coreHttp.ServiceCallback<void>): void;\n getAccessControl(options?: Models.DirectoryGetAccessControlOptionalParams | coreHttp.ServiceCallback<void>, callback?: coreHttp.ServiceCallback<void>): Promise<Models.DirectoryGetAccessControlResponse> {\n return this.client.sendOperationRequest(\n {\n options\n },\n getAccessControlOperationSpec,\n callback) as Promise<Models.DirectoryGetAccessControlResponse>;\n }\n}\n\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, true);\nconst createOperationSpec: coreHttp.OperationSpec = {\n httpMethod: \"PUT\",\n path: \"{filesystem}/{path}\",\n urlParameters: [\n Parameters.url\n ],\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.resource\n ],\n headerParameters: [\n Parameters.directoryProperties,\n Parameters.posixPermissions,\n Parameters.posixUmask,\n Parameters.version,\n Parameters.requestId,\n Parameters.cacheControl,\n Parameters.contentType,\n Parameters.contentEncoding,\n Parameters.contentLanguage,\n Parameters.contentDisposition,\n Parameters.leaseId0,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n responses: {\n 201: {\n headersMapper: Mappers.DirectoryCreateHeaders\n },\n default: {\n bodyMapper: Mappers.DataLakeStorageError,\n headersMapper: Mappers.DirectoryCreateHeaders\n }\n },\n isXML: true,\n serializer\n};\n\nconst renameOperationSpec: coreHttp.OperationSpec = {\n httpMethod: \"PUT\",\n path: \"{filesystem}/{path}\",\n urlParameters: [\n Parameters.url\n ],\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker1,\n Parameters.pathRenameMode\n ],\n headerParameters: [\n Parameters.renameSource,\n Parameters.directoryProperties,\n Parameters.posixPermissions,\n Parameters.posixUmask,\n Parameters.sourceLeaseId,\n Parameters.version,\n Parameters.requestId,\n Parameters.cacheControl,\n Parameters.contentType,\n Parameters.contentEncoding,\n Parameters.contentLanguage,\n Parameters.contentDisposition,\n Parameters.leaseId0,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.sourceIfModifiedSince,\n Parameters.sourceIfUnmodifiedSince,\n Parameters.sourceIfMatch,\n Parameters.sourceIfNoneMatch\n ],\n responses: {\n 201: {\n headersMapper: Mappers.DirectoryRenameHeaders\n },\n default: {\n bodyMapper: Mappers.DataLakeStorageError,\n headersMapper: Mappers.DirectoryRenameHeaders\n }\n },\n isXML: true,\n serializer\n};\n\nconst deleteMethodOperationSpec: coreHttp.OperationSpec = {\n httpMethod: \"DELETE\",\n path: \"{filesystem}/{path}\",\n urlParameters: [\n Parameters.url\n ],\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.recursiveDirectoryDelete,\n Parameters.marker1\n ],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.leaseId0,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n responses: {\n 200: {\n headersMapper: Mappers.DirectoryDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.DataLakeStorageError,\n headersMapper: Mappers.DirectoryDeleteHeaders\n }\n },\n isXML: true,\n serializer\n};\n\nconst setAccessControlOperationSpec: coreHttp.OperationSpec = {\n httpMethod: \"PATCH\",\n path: \"{filesystem}/{path}\",\n urlParameters: [\n Parameters.url\n ],\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.action5\n ],\n headerParameters: [\n Parameters.owner,\n Parameters.group,\n Parameters.posixPermissions,\n Parameters.posixAcl,\n Parameters.requestId,\n Parameters.version,\n Parameters.leaseId0,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince\n ],\n responses: {\n 200: {\n headersMapper: Mappers.DirectorySetAccessControlHeaders\n },\n default: {\n bodyMapper: Mappers.DataLakeStorageError,\n headersMapper: Mappers.DirectorySetAccessControlHeaders\n }\n },\n isXML: true,\n serializer\n};\n\nconst getAccessControlOperationSpec: coreHttp.OperationSpec = {\n httpMethod: \"HEAD\",\n path: \"{filesystem}/{path}\",\n urlParameters: [\n Parameters.url\n ],\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.upn,\n Parameters.action6\n ],\n headerParameters: [\n Parameters.requestId,\n Parameters.version,\n Parameters.leaseId0,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince\n ],\n responses: {\n 200: {\n headersMapper: Mappers.DirectoryGetAccessControlHeaders\n },\n default: {\n bodyMapper: Mappers.DataLakeStorageError,\n headersMapper: Mappers.DirectoryGetAccessControlHeaders\n }\n },\n isXML: true,\n serializer\n};\n"]}
|
1
|
+
{"version":3,"file":"directory.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/directory.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAenD,sCAAsC;AACtC;IAGE;;;OAGG;IACH,mBAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,0BAAM,GAAN,UACE,OAAuC;QAEvC,IAAM,kBAAkB,GAAgC;YACtD,OAAO,EAAE,QAAQ,CAAC,oCAAoC,CAAC,OAAO,IAAI,EAAE,CAAC;SACtE,CAAC;QACF,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,kBAAkB,EAClB,mBAAmB,CACgB,CAAC;IACxC,CAAC;IAED;;;;;;;;;;OAUG;IACH,0BAAM,GAAN,UACE,YAAoB,EACpB,OAAuC;QAEvC,IAAM,kBAAkB,GAAgC;YACtD,YAAY,cAAA;YACZ,OAAO,EAAE,QAAQ,CAAC,oCAAoC,CAAC,OAAO,IAAI,EAAE,CAAC;SACtE,CAAC;QACF,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,kBAAkB,EAClB,mBAAmB,CACgB,CAAC;IACxC,CAAC;IAED;;;;;OAKG;IACH,0BAAM,GAAN,UACE,wBAAiC,EACjC,OAAuC;QAEvC,IAAM,kBAAkB,GAAgC;YACtD,wBAAwB,0BAAA;YACxB,OAAO,EAAE,QAAQ,CAAC,oCAAoC,CAAC,OAAO,IAAI,EAAE,CAAC;SACtE,CAAC;QACF,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,kBAAkB,EAClB,mBAAmB,CACgB,CAAC;IACxC,CAAC;IAED;;;OAGG;IACH,oCAAgB,GAAhB,UACE,OAAiD;QAEjD,IAA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AClB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;KACpB;IACD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,aAAa;CAC1B,CAAC;AACF,IAAM,6BAA6B,GAA2B;IAC5D,IAAI,EAAE,sBAAsB;IAC5B,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,gCAAgC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;YACxC,aAAa,EAAE,OAAO,CAAC,yCAAyC;SACjE;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,GAAG;KACf;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE;QAChB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,WAAW;KACvB;IACD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,aAAa;CAC1B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClientContext } from \"../storageClientContext\";\nimport {\n DirectoryCreateOptionalParams,\n DirectoryCreateResponse,\n DirectoryRenameOptionalParams,\n DirectoryRenameResponse,\n DirectoryDeleteOptionalParams,\n DirectoryDeleteResponse,\n DirectorySetAccessControlOptionalParams,\n DirectorySetAccessControlResponse,\n DirectoryGetAccessControlOptionalParams,\n DirectoryGetAccessControlResponse\n} from \"../models\";\n\n/** Class representing a Directory. */\nexport class Directory {\n private readonly client: StorageClientContext;\n\n /**\n * Initialize a new instance of the class Directory class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClientContext) {\n this.client = client;\n }\n\n /**\n * Create a directory. By default, the destination is overwritten and if the destination already exists\n * and has a lease the lease is broken. This operation supports conditional HTTP requests. For more\n * information, see [Specifying Conditional Headers for Blob Service\n * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * To fail if the destination already exists, use a conditional request with If-None-Match: \"*\".\n * @param options The options parameters.\n */\n create(\n options?: DirectoryCreateOptionalParams\n ): Promise<DirectoryCreateResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n createOperationSpec\n ) as Promise<DirectoryCreateResponse>;\n }\n\n /**\n * Rename a directory. By default, the destination is overwritten and if the destination already exists\n * and has a lease the lease is broken. This operation supports conditional HTTP requests. For more\n * information, see [Specifying Conditional Headers for Blob Service\n * Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).\n * To fail if the destination already exists, use a conditional request with If-None-Match: \"*\".\n * @param renameSource The file or directory to be renamed. The value must have the following format:\n * \"/{filesysystem}/{path}\". If \"x-ms-properties\" is specified, the properties will overwrite the\n * existing properties; otherwise, the existing properties will be preserved.\n * @param options The options parameters.\n */\n rename(\n renameSource: string,\n options?: DirectoryRenameOptionalParams\n ): Promise<DirectoryRenameResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n renameSource,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n renameOperationSpec\n ) as Promise<DirectoryRenameResponse>;\n }\n\n /**\n * Deletes the directory\n * @param recursiveDirectoryDelete If \"true\", all paths beneath the directory will be deleted. If\n * \"false\" and the directory is non-empty, an error occurs.\n * @param options The options parameters.\n */\n delete(\n recursiveDirectoryDelete: boolean,\n options?: DirectoryDeleteOptionalParams\n ): Promise<DirectoryDeleteResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n recursiveDirectoryDelete,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n deleteOperationSpec\n ) as Promise<DirectoryDeleteResponse>;\n }\n\n /**\n * Set the owner, group, permissions, or access control list for a directory.\n * @param options The options parameters.\n */\n setAccessControl(\n options?: DirectorySetAccessControlOptionalParams\n ): Promise<DirectorySetAccessControlResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n setAccessControlOperationSpec\n ) as Promise<DirectorySetAccessControlResponse>;\n }\n\n /**\n * Get the owner, group, permissions, or access control list for a directory.\n * @param options The options parameters.\n */\n getAccessControl(\n options?: DirectoryGetAccessControlOptionalParams\n ): Promise<DirectoryGetAccessControlResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.client.sendOperationRequest(\n operationArguments,\n getAccessControlOperationSpec\n ) as Promise<DirectoryGetAccessControlResponse>;\n }\n}\n// Operation Specifications\nconst xmlSerializer = new coreHttp.Serializer(Mappers, /* isXml */ true);\n\nconst createOperationSpec: coreHttp.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.DirectoryCreateHeaders\n },\n default: {\n bodyMapper: Mappers.DataLakeStorageError,\n headersMapper: Mappers.DirectoryCreateExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.resource],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.directoryProperties,\n Parameters.posixPermissions,\n Parameters.posixUmask,\n Parameters.cacheControl,\n Parameters.contentType1,\n Parameters.contentEncoding,\n Parameters.contentLanguage,\n Parameters.contentDisposition,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst renameOperationSpec: coreHttp.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.DirectoryRenameHeaders\n },\n default: {\n bodyMapper: Mappers.DataLakeStorageError,\n headersMapper: Mappers.DirectoryRenameExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker1,\n Parameters.pathRenameMode\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.sourceLeaseId,\n Parameters.directoryProperties,\n Parameters.posixPermissions,\n Parameters.posixUmask,\n Parameters.cacheControl,\n Parameters.contentType1,\n Parameters.contentEncoding,\n Parameters.contentLanguage,\n Parameters.contentDisposition,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.renameSource,\n Parameters.sourceIfModifiedSince,\n Parameters.sourceIfUnmodifiedSince,\n Parameters.sourceIfMatch,\n Parameters.sourceIfNoneMatch\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst deleteOperationSpec: coreHttp.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.DirectoryDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.DataLakeStorageError,\n headersMapper: Mappers.DirectoryDeleteExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker1,\n Parameters.recursiveDirectoryDelete\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setAccessControlOperationSpec: coreHttp.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n headersMapper: Mappers.DirectorySetAccessControlHeaders\n },\n default: {\n bodyMapper: Mappers.DataLakeStorageError,\n headersMapper: Mappers.DirectorySetAccessControlExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.action5],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.posixPermissions,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.owner,\n Parameters.group,\n Parameters.posixAcl\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getAccessControlOperationSpec: coreHttp.OperationSpec = {\n path: \"/{filesystem}/{path}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.DirectoryGetAccessControlHeaders\n },\n default: {\n bodyMapper: Mappers.DataLakeStorageError,\n headersMapper: Mappers.DirectoryGetAccessControlExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.action6,\n Parameters.upn\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.ifModifiedSince,\n Parameters.ifUnmodifiedSince,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n isXML: true,\n serializer: xmlSerializer\n};\n"]}
|
@@ -1,11 +1,9 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
export * from "./service";
|
11
9
|
export * from "./container";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./service\";\nexport * from \"./container\";\nexport * from \"./directory\";\nexport * from \"./blob\";\nexport * from \"./pageBlob\";\nexport * from \"./appendBlob\";\nexport * from \"./blockBlob\";\n"]}
|