@azure/storage-file-share 12.25.1-alpha.20241014.1 → 12.26.0-alpha.20241015.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/dist/index.js +228 -7
  2. package/dist/index.js.map +1 -1
  3. package/dist-esm/storage-blob/src/Clients.js +33 -0
  4. package/dist-esm/storage-blob/src/Clients.js.map +1 -1
  5. package/dist-esm/storage-blob/src/ContainerClient.js +30 -0
  6. package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -1
  7. package/dist-esm/storage-blob/src/generated/src/models/index.js +2 -0
  8. package/dist-esm/storage-blob/src/generated/src/models/index.js.map +1 -1
  9. package/dist-esm/storage-blob/src/generated/src/models/parameters.js +1 -1
  10. package/dist-esm/storage-blob/src/generated/src/models/parameters.js.map +1 -1
  11. package/dist-esm/storage-blob/src/generated/src/operations/blob.js +18 -3
  12. package/dist-esm/storage-blob/src/generated/src/operations/blob.js.map +1 -1
  13. package/dist-esm/storage-blob/src/generated/src/storageClient.js +2 -2
  14. package/dist-esm/storage-blob/src/generated/src/storageClient.js.map +1 -1
  15. package/dist-esm/storage-blob/src/utils/constants.js +2 -2
  16. package/dist-esm/storage-blob/src/utils/constants.js.map +1 -1
  17. package/dist-esm/storage-file-share/src/Clients.js.map +1 -1
  18. package/dist-esm/storage-file-share/src/generated/src/models/index.js +4 -0
  19. package/dist-esm/storage-file-share/src/generated/src/models/index.js.map +1 -1
  20. package/dist-esm/storage-file-share/src/generated/src/models/mappers.js +196 -0
  21. package/dist-esm/storage-file-share/src/generated/src/models/mappers.js.map +1 -1
  22. package/dist-esm/storage-file-share/src/generated/src/models/parameters.js +22 -2
  23. package/dist-esm/storage-file-share/src/generated/src/models/parameters.js.map +1 -1
  24. package/dist-esm/storage-file-share/src/generated/src/operations/file.js +1 -0
  25. package/dist-esm/storage-file-share/src/generated/src/operations/file.js.map +1 -1
  26. package/dist-esm/storage-file-share/src/generated/src/operations/share.js +5 -1
  27. package/dist-esm/storage-file-share/src/generated/src/operations/share.js.map +1 -1
  28. package/dist-esm/storage-file-share/src/generated/src/storageClient.js +2 -2
  29. package/dist-esm/storage-file-share/src/generated/src/storageClient.js.map +1 -1
  30. package/dist-esm/storage-file-share/src/utils/constants.js +2 -2
  31. package/dist-esm/storage-file-share/src/utils/constants.js.map +1 -1
  32. package/package.json +1 -1
  33. package/types/latest/storage-file-share.d.ts +84 -2
@@ -1 +1 @@
1
- {"version":3,"file":"share.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/share.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAwCnD,yCAAyC;AACzC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,OAAmC;QACxC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,0BAA0B,CAC3B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,OAAmC;QACxC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,YAAY,CACV,OAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,yBAAyB,CAC1B,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,YAAY,CACV,OAAe,EACf,OAAyC;QA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;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 { Share } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClient } from \"../storageClient\";\nimport {\n ShareCreateOptionalParams,\n ShareCreateResponse,\n ShareGetPropertiesOptionalParams,\n ShareGetPropertiesResponse,\n ShareDeleteOptionalParams,\n ShareDeleteResponse,\n ShareAcquireLeaseOptionalParams,\n ShareAcquireLeaseResponse,\n ShareReleaseLeaseOptionalParams,\n ShareReleaseLeaseResponse,\n ShareChangeLeaseOptionalParams,\n ShareChangeLeaseResponse,\n ShareRenewLeaseOptionalParams,\n ShareRenewLeaseResponse,\n ShareBreakLeaseOptionalParams,\n ShareBreakLeaseResponse,\n ShareCreateSnapshotOptionalParams,\n ShareCreateSnapshotResponse,\n SharePermission,\n ShareCreatePermissionOptionalParams,\n ShareCreatePermissionResponse,\n ShareGetPermissionOptionalParams,\n ShareGetPermissionResponse,\n ShareSetPropertiesOptionalParams,\n ShareSetPropertiesResponse,\n ShareSetMetadataOptionalParams,\n ShareSetMetadataResponse,\n ShareGetAccessPolicyOptionalParams,\n ShareGetAccessPolicyResponse,\n ShareSetAccessPolicyOptionalParams,\n ShareSetAccessPolicyResponse,\n ShareGetStatisticsOptionalParams,\n ShareGetStatisticsResponse,\n ShareRestoreOptionalParams,\n ShareRestoreResponse\n} from \"../models\";\n\n/** Class containing Share operations. */\nexport class ShareImpl implements Share {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class Share class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Creates a new share under the specified account. If the share with the same name already exists, the\n * operation fails.\n * @param options The options parameters.\n */\n create(options?: ShareCreateOptionalParams): Promise<ShareCreateResponse> {\n return this.client.sendOperationRequest({ options }, createOperationSpec);\n }\n\n /**\n * Returns all user-defined metadata and system properties for the specified share or share snapshot.\n * The data returned does not include the share's list of files.\n * @param options The options parameters.\n */\n getProperties(\n options?: ShareGetPropertiesOptionalParams\n ): Promise<ShareGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec\n );\n }\n\n /**\n * Operation marks the specified share or share snapshot for deletion. The share or share snapshot and\n * any files contained within it are later deleted during garbage collection.\n * @param options The options parameters.\n */\n delete(options?: ShareDeleteOptionalParams): Promise<ShareDeleteResponse> {\n return this.client.sendOperationRequest({ options }, deleteOperationSpec);\n }\n\n /**\n * The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for\n * set and delete share operations.\n * @param options The options parameters.\n */\n acquireLease(\n options?: ShareAcquireLeaseOptionalParams\n ): Promise<ShareAcquireLeaseResponse> {\n return this.client.sendOperationRequest(\n { options },\n acquireLeaseOperationSpec\n );\n }\n\n /**\n * The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for\n * set and delete share operations.\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n releaseLease(\n leaseId: string,\n options?: ShareReleaseLeaseOptionalParams\n ): Promise<ShareReleaseLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n releaseLeaseOperationSpec\n );\n }\n\n /**\n * The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for\n * set and delete share operations.\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n changeLease(\n leaseId: string,\n options?: ShareChangeLeaseOptionalParams\n ): Promise<ShareChangeLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n changeLeaseOperationSpec\n );\n }\n\n /**\n * The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for\n * set and delete share operations.\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n renewLease(\n leaseId: string,\n options?: ShareRenewLeaseOptionalParams\n ): Promise<ShareRenewLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n renewLeaseOperationSpec\n );\n }\n\n /**\n * The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for\n * set and delete share operations.\n * @param options The options parameters.\n */\n breakLease(\n options?: ShareBreakLeaseOptionalParams\n ): Promise<ShareBreakLeaseResponse> {\n return this.client.sendOperationRequest(\n { options },\n breakLeaseOperationSpec\n );\n }\n\n /**\n * Creates a read-only snapshot of a share.\n * @param options The options parameters.\n */\n createSnapshot(\n options?: ShareCreateSnapshotOptionalParams\n ): Promise<ShareCreateSnapshotResponse> {\n return this.client.sendOperationRequest(\n { options },\n createSnapshotOperationSpec\n );\n }\n\n /**\n * Create a permission (a security descriptor).\n * @param sharePermission A permission (a security descriptor) at the share level.\n * @param options The options parameters.\n */\n createPermission(\n sharePermission: SharePermission,\n options?: ShareCreatePermissionOptionalParams\n ): Promise<ShareCreatePermissionResponse> {\n return this.client.sendOperationRequest(\n { sharePermission, options },\n createPermissionOperationSpec\n );\n }\n\n /**\n * Returns the permission (security descriptor) for a given key\n * @param filePermissionKey Key of the permission to be set for the directory/file.\n * @param options The options parameters.\n */\n getPermission(\n filePermissionKey: string,\n options?: ShareGetPermissionOptionalParams\n ): Promise<ShareGetPermissionResponse> {\n return this.client.sendOperationRequest(\n { filePermissionKey, options },\n getPermissionOperationSpec\n );\n }\n\n /**\n * Sets properties for the specified share.\n * @param options The options parameters.\n */\n setProperties(\n options?: ShareSetPropertiesOptionalParams\n ): Promise<ShareSetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n setPropertiesOperationSpec\n );\n }\n\n /**\n * Sets one or more user-defined name-value pairs for the specified share.\n * @param options The options parameters.\n */\n setMetadata(\n options?: ShareSetMetadataOptionalParams\n ): Promise<ShareSetMetadataResponse> {\n return this.client.sendOperationRequest(\n { options },\n setMetadataOperationSpec\n );\n }\n\n /**\n * Returns information about stored access policies specified on the share.\n * @param options The options parameters.\n */\n getAccessPolicy(\n options?: ShareGetAccessPolicyOptionalParams\n ): Promise<ShareGetAccessPolicyResponse> {\n return this.client.sendOperationRequest(\n { options },\n getAccessPolicyOperationSpec\n );\n }\n\n /**\n * Sets a stored access policy for use with shared access signatures.\n * @param options The options parameters.\n */\n setAccessPolicy(\n options?: ShareSetAccessPolicyOptionalParams\n ): Promise<ShareSetAccessPolicyResponse> {\n return this.client.sendOperationRequest(\n { options },\n setAccessPolicyOperationSpec\n );\n }\n\n /**\n * Retrieves statistics related to the share.\n * @param options The options parameters.\n */\n getStatistics(\n options?: ShareGetStatisticsOptionalParams\n ): Promise<ShareGetStatisticsResponse> {\n return this.client.sendOperationRequest(\n { options },\n getStatisticsOperationSpec\n );\n }\n\n /**\n * Restores a previously deleted Share.\n * @param options The options parameters.\n */\n restore(options?: ShareRestoreOptionalParams): Promise<ShareRestoreResponse> {\n return this.client.sendOperationRequest({ options }, restoreOperationSpec);\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ShareCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareCreateExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.restype1],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.quota,\n Parameters.accessTier,\n Parameters.enabledProtocols,\n Parameters.rootSquash,\n Parameters.enableSnapshotVirtualDirectoryAccess,\n Parameters.paidBurstingEnabled,\n Parameters.paidBurstingMaxBandwidthMibps,\n Parameters.paidBurstingMaxIops\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareGetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareGetPropertiesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"DELETE\",\n responses: {\n 202: {\n headersMapper: Mappers.ShareDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareDeleteExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.deleteSnapshots\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst acquireLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ShareAcquireLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareAcquireLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot,\n Parameters.comp2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.action,\n Parameters.duration,\n Parameters.proposedLeaseId,\n Parameters.requestId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst releaseLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareReleaseLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareReleaseLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot,\n Parameters.comp2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.action1,\n Parameters.leaseId1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst changeLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareChangeLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareChangeLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot,\n Parameters.comp2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.proposedLeaseId,\n Parameters.requestId,\n Parameters.leaseId1,\n Parameters.action2\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst renewLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareRenewLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareRenewLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot,\n Parameters.comp2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.leaseId1,\n Parameters.action3\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst breakLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.ShareBreakLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareBreakLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot,\n Parameters.comp2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.requestId,\n Parameters.action4,\n Parameters.breakPeriod\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst createSnapshotOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ShareCreateSnapshotHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareCreateSnapshotExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp3\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst createPermissionOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ShareCreatePermissionHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareCreatePermissionExceptionHeaders\n }\n },\n requestBody: Parameters.sharePermission,\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp4\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.contentType1\n ],\n mediaType: \"json\",\n serializer\n};\nconst getPermissionOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharePermission,\n headersMapper: Mappers.ShareGetPermissionHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareGetPermissionExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp4\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept2,\n Parameters.filePermissionKey,\n Parameters.filePermissionFormat\n ],\n serializer\n};\nconst setPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareSetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareSetPropertiesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.comp,\n Parameters.timeoutInSeconds,\n Parameters.restype1\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.quota,\n Parameters.accessTier,\n Parameters.rootSquash,\n Parameters.enableSnapshotVirtualDirectoryAccess,\n Parameters.paidBurstingEnabled,\n Parameters.paidBurstingMaxBandwidthMibps,\n Parameters.paidBurstingMaxIops,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setMetadataOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareSetMetadataHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareSetMetadataExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp5\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getAccessPolicyOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: {\n name: \"Sequence\",\n element: {\n type: { name: \"Composite\", className: \"SignedIdentifier\" }\n }\n },\n serializedName: \"SignedIdentifiers\",\n xmlName: \"SignedIdentifiers\",\n xmlIsWrapped: true,\n xmlElementName: \"SignedIdentifier\"\n },\n headersMapper: Mappers.ShareGetAccessPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareGetAccessPolicyExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp6\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setAccessPolicyOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareSetAccessPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareSetAccessPolicyExceptionHeaders\n }\n },\n requestBody: Parameters.shareAcl,\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp6\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.leaseId\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\nconst getStatisticsOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShareStats,\n headersMapper: Mappers.ShareGetStatisticsHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareGetStatisticsExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp7\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst restoreOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ShareRestoreHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareRestoreExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp8\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.deletedShareName,\n Parameters.deletedShareVersion\n ],\n isXML: true,\n serializer: xmlSerializer\n};\n"]}
1
+ {"version":3,"file":"share.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/share.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAwCnD,yCAAyC;AACzC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,OAAmC;QACxC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,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a,EAAE,OAAO,CAAC,mBAAmB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;YAChC,aAAa,EAAE,OAAO,CAAC,4BAA4B;SACpD;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,KAAK;KACjB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE;QAChB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,mBAAmB;KAC/B;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 { Share } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { StorageClient } from \"../storageClient\";\nimport {\n ShareCreateOptionalParams,\n ShareCreateResponse,\n ShareGetPropertiesOptionalParams,\n ShareGetPropertiesResponse,\n ShareDeleteOptionalParams,\n ShareDeleteResponse,\n ShareAcquireLeaseOptionalParams,\n ShareAcquireLeaseResponse,\n ShareReleaseLeaseOptionalParams,\n ShareReleaseLeaseResponse,\n ShareChangeLeaseOptionalParams,\n ShareChangeLeaseResponse,\n ShareRenewLeaseOptionalParams,\n ShareRenewLeaseResponse,\n ShareBreakLeaseOptionalParams,\n ShareBreakLeaseResponse,\n ShareCreateSnapshotOptionalParams,\n ShareCreateSnapshotResponse,\n SharePermission,\n ShareCreatePermissionOptionalParams,\n ShareCreatePermissionResponse,\n ShareGetPermissionOptionalParams,\n ShareGetPermissionResponse,\n ShareSetPropertiesOptionalParams,\n ShareSetPropertiesResponse,\n ShareSetMetadataOptionalParams,\n ShareSetMetadataResponse,\n ShareGetAccessPolicyOptionalParams,\n ShareGetAccessPolicyResponse,\n ShareSetAccessPolicyOptionalParams,\n ShareSetAccessPolicyResponse,\n ShareGetStatisticsOptionalParams,\n ShareGetStatisticsResponse,\n ShareRestoreOptionalParams,\n ShareRestoreResponse\n} from \"../models\";\n\n/** Class containing Share operations. */\nexport class ShareImpl implements Share {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class Share class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Creates a new share under the specified account. If the share with the same name already exists, the\n * operation fails.\n * @param options The options parameters.\n */\n create(options?: ShareCreateOptionalParams): Promise<ShareCreateResponse> {\n return this.client.sendOperationRequest({ options }, createOperationSpec);\n }\n\n /**\n * Returns all user-defined metadata and system properties for the specified share or share snapshot.\n * The data returned does not include the share's list of files.\n * @param options The options parameters.\n */\n getProperties(\n options?: ShareGetPropertiesOptionalParams\n ): Promise<ShareGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec\n );\n }\n\n /**\n * Operation marks the specified share or share snapshot for deletion. The share or share snapshot and\n * any files contained within it are later deleted during garbage collection.\n * @param options The options parameters.\n */\n delete(options?: ShareDeleteOptionalParams): Promise<ShareDeleteResponse> {\n return this.client.sendOperationRequest({ options }, deleteOperationSpec);\n }\n\n /**\n * The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for\n * set and delete share operations.\n * @param options The options parameters.\n */\n acquireLease(\n options?: ShareAcquireLeaseOptionalParams\n ): Promise<ShareAcquireLeaseResponse> {\n return this.client.sendOperationRequest(\n { options },\n acquireLeaseOperationSpec\n );\n }\n\n /**\n * The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for\n * set and delete share operations.\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n releaseLease(\n leaseId: string,\n options?: ShareReleaseLeaseOptionalParams\n ): Promise<ShareReleaseLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n releaseLeaseOperationSpec\n );\n }\n\n /**\n * The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for\n * set and delete share operations.\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n changeLease(\n leaseId: string,\n options?: ShareChangeLeaseOptionalParams\n ): Promise<ShareChangeLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n changeLeaseOperationSpec\n );\n }\n\n /**\n * The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for\n * set and delete share operations.\n * @param leaseId Specifies the current lease ID on the resource.\n * @param options The options parameters.\n */\n renewLease(\n leaseId: string,\n options?: ShareRenewLeaseOptionalParams\n ): Promise<ShareRenewLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n renewLeaseOperationSpec\n );\n }\n\n /**\n * The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for\n * set and delete share operations.\n * @param options The options parameters.\n */\n breakLease(\n options?: ShareBreakLeaseOptionalParams\n ): Promise<ShareBreakLeaseResponse> {\n return this.client.sendOperationRequest(\n { options },\n breakLeaseOperationSpec\n );\n }\n\n /**\n * Creates a read-only snapshot of a share.\n * @param options The options parameters.\n */\n createSnapshot(\n options?: ShareCreateSnapshotOptionalParams\n ): Promise<ShareCreateSnapshotResponse> {\n return this.client.sendOperationRequest(\n { options },\n createSnapshotOperationSpec\n );\n }\n\n /**\n * Create a permission (a security descriptor).\n * @param sharePermission A permission (a security descriptor) at the share level.\n * @param options The options parameters.\n */\n createPermission(\n sharePermission: SharePermission,\n options?: ShareCreatePermissionOptionalParams\n ): Promise<ShareCreatePermissionResponse> {\n return this.client.sendOperationRequest(\n { sharePermission, options },\n createPermissionOperationSpec\n );\n }\n\n /**\n * Returns the permission (security descriptor) for a given key\n * @param filePermissionKey Key of the permission to be set for the directory/file.\n * @param options The options parameters.\n */\n getPermission(\n filePermissionKey: string,\n options?: ShareGetPermissionOptionalParams\n ): Promise<ShareGetPermissionResponse> {\n return this.client.sendOperationRequest(\n { filePermissionKey, options },\n getPermissionOperationSpec\n );\n }\n\n /**\n * Sets properties for the specified share.\n * @param options The options parameters.\n */\n setProperties(\n options?: ShareSetPropertiesOptionalParams\n ): Promise<ShareSetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n setPropertiesOperationSpec\n );\n }\n\n /**\n * Sets one or more user-defined name-value pairs for the specified share.\n * @param options The options parameters.\n */\n setMetadata(\n options?: ShareSetMetadataOptionalParams\n ): Promise<ShareSetMetadataResponse> {\n return this.client.sendOperationRequest(\n { options },\n setMetadataOperationSpec\n );\n }\n\n /**\n * Returns information about stored access policies specified on the share.\n * @param options The options parameters.\n */\n getAccessPolicy(\n options?: ShareGetAccessPolicyOptionalParams\n ): Promise<ShareGetAccessPolicyResponse> {\n return this.client.sendOperationRequest(\n { options },\n getAccessPolicyOperationSpec\n );\n }\n\n /**\n * Sets a stored access policy for use with shared access signatures.\n * @param options The options parameters.\n */\n setAccessPolicy(\n options?: ShareSetAccessPolicyOptionalParams\n ): Promise<ShareSetAccessPolicyResponse> {\n return this.client.sendOperationRequest(\n { options },\n setAccessPolicyOperationSpec\n );\n }\n\n /**\n * Retrieves statistics related to the share.\n * @param options The options parameters.\n */\n getStatistics(\n options?: ShareGetStatisticsOptionalParams\n ): Promise<ShareGetStatisticsResponse> {\n return this.client.sendOperationRequest(\n { options },\n getStatisticsOperationSpec\n );\n }\n\n /**\n * Restores a previously deleted Share.\n * @param options The options parameters.\n */\n restore(options?: ShareRestoreOptionalParams): Promise<ShareRestoreResponse> {\n return this.client.sendOperationRequest({ options }, restoreOperationSpec);\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ShareCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareCreateExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.restype1],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.quota,\n Parameters.accessTier,\n Parameters.enabledProtocols,\n Parameters.rootSquash,\n Parameters.enableSnapshotVirtualDirectoryAccess,\n Parameters.paidBurstingEnabled,\n Parameters.paidBurstingMaxBandwidthMibps,\n Parameters.paidBurstingMaxIops,\n Parameters.shareProvisionedIops,\n Parameters.shareProvisionedBandwidthMibps\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareGetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareGetPropertiesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"DELETE\",\n responses: {\n 202: {\n headersMapper: Mappers.ShareDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareDeleteExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.deleteSnapshots\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst acquireLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ShareAcquireLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareAcquireLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot,\n Parameters.comp2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.action,\n Parameters.duration,\n Parameters.proposedLeaseId,\n Parameters.requestId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst releaseLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareReleaseLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareReleaseLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot,\n Parameters.comp2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.action1,\n Parameters.leaseId1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst changeLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareChangeLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareChangeLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot,\n Parameters.comp2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.proposedLeaseId,\n Parameters.requestId,\n Parameters.leaseId1,\n Parameters.action2\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst renewLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareRenewLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareRenewLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot,\n Parameters.comp2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.leaseId1,\n Parameters.action3\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst breakLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.ShareBreakLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareBreakLeaseExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.shareSnapshot,\n Parameters.comp2\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.requestId,\n Parameters.action4,\n Parameters.breakPeriod\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst createSnapshotOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ShareCreateSnapshotHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareCreateSnapshotExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp3\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst createPermissionOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ShareCreatePermissionHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareCreatePermissionExceptionHeaders\n }\n },\n requestBody: Parameters.sharePermission,\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp4\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.contentType1\n ],\n mediaType: \"json\",\n serializer\n};\nconst getPermissionOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharePermission,\n headersMapper: Mappers.ShareGetPermissionHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareGetPermissionExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp4\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept2,\n Parameters.filePermissionKey,\n Parameters.filePermissionFormat\n ],\n serializer\n};\nconst setPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareSetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareSetPropertiesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.comp,\n Parameters.timeoutInSeconds,\n Parameters.restype1\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.quota,\n Parameters.accessTier,\n Parameters.rootSquash,\n Parameters.enableSnapshotVirtualDirectoryAccess,\n Parameters.paidBurstingEnabled,\n Parameters.paidBurstingMaxBandwidthMibps,\n Parameters.paidBurstingMaxIops,\n Parameters.shareProvisionedIops,\n Parameters.shareProvisionedBandwidthMibps,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setMetadataOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareSetMetadataHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareSetMetadataExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp5\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getAccessPolicyOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: {\n name: \"Sequence\",\n element: {\n type: { name: \"Composite\", className: \"SignedIdentifier\" }\n }\n },\n serializedName: \"SignedIdentifiers\",\n xmlName: \"SignedIdentifiers\",\n xmlIsWrapped: true,\n xmlElementName: \"SignedIdentifier\"\n },\n headersMapper: Mappers.ShareGetAccessPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareGetAccessPolicyExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp6\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setAccessPolicyOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.ShareSetAccessPolicyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareSetAccessPolicyExceptionHeaders\n }\n },\n requestBody: Parameters.shareAcl,\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp6\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.leaseId\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\nconst getStatisticsOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShareStats,\n headersMapper: Mappers.ShareGetStatisticsHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareGetStatisticsExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp7\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst restoreOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.ShareRestoreHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ShareRestoreExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.restype1,\n Parameters.comp8\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.fileRequestIntent,\n Parameters.accept1,\n Parameters.requestId,\n Parameters.deletedShareName,\n Parameters.deletedShareVersion\n ],\n isXML: true,\n serializer: xmlSerializer\n};\n"]}
@@ -26,7 +26,7 @@ export class StorageClient extends coreHttpCompat.ExtendedServiceClient {
26
26
  const defaults = {
27
27
  requestContentType: "application/json; charset=utf-8"
28
28
  };
29
- const packageDetails = `azsdk-js-azure-storage-file-share/12.25.0`;
29
+ const packageDetails = `azsdk-js-azure-storage-file-share/12.26.0-beta.1`;
30
30
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
31
31
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
32
32
  : `${packageDetails}`;
@@ -37,7 +37,7 @@ export class StorageClient extends coreHttpCompat.ExtendedServiceClient {
37
37
  // Parameter assignments
38
38
  this.url = url;
39
39
  // Assigning values to Constant parameters
40
- this.version = options.version || "2024-11-04";
40
+ this.version = options.version || "2025-01-05";
41
41
  this.fileRangeWriteFromUrl = options.fileRangeWriteFromUrl || "update";
42
42
  this.service = new ServiceImpl(this);
43
43
  this.share = new ShareImpl(this);
@@ -1 +1 @@
1
- {"version":3,"file":"storageClient.js","sourceRoot":"","sources":["../../../../../src/generated/src/storageClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI/E,MAAM,OAAO,aAAc,SAAQ,cAAc,CAAC,qBAAqB;IAKrE;;;;;OAKG;IACH,YAAY,GAAW,EAAE,OAAqC;;QAC5D,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;QAC1C,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAgC;YAC5C,kBAAkB,EAAE,iCAAiC;SACtD,CAAC;QAEF,MAAM,cAAc,GAAG,2CAA2C,CAAC;QACnE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EAAE,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,OAAO,GACzD,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QAEf,0CAA0C;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,YAAY,CAAC;QAC/C,IAAI,CAAC,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,IAAI,QAAQ,CAAC;QACvE,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;CAMF","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 coreHttpCompat from \"@azure/core-http-compat\";\nimport { ServiceImpl, ShareImpl, DirectoryImpl, FileImpl } from \"./operations\";\nimport { Service, Share, Directory, File } from \"./operationsInterfaces\";\nimport { StorageClientOptionalParams } from \"./models\";\n\nexport class StorageClient extends coreHttpCompat.ExtendedServiceClient {\n url: string;\n version: string;\n fileRangeWriteFromUrl: string;\n\n /**\n * Initializes a new instance of the StorageClient class.\n * @param url The URL of the service account, share, directory or file that is the target of the\n * desired operation.\n * @param options The parameter options\n */\n constructor(url: string, options?: StorageClientOptionalParams) {\n if (url === undefined) {\n throw new Error(\"'url' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-azure-storage-file-share/12.25.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{url}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.url = url;\n\n // Assigning values to Constant parameters\n this.version = options.version || \"2024-11-04\";\n this.fileRangeWriteFromUrl = options.fileRangeWriteFromUrl || \"update\";\n this.service = new ServiceImpl(this);\n this.share = new ShareImpl(this);\n this.directory = new DirectoryImpl(this);\n this.file = new FileImpl(this);\n }\n\n service: Service;\n share: Share;\n directory: Directory;\n file: File;\n}\n"]}
1
+ {"version":3,"file":"storageClient.js","sourceRoot":"","sources":["../../../../../src/generated/src/storageClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI/E,MAAM,OAAO,aAAc,SAAQ,cAAc,CAAC,qBAAqB;IAKrE;;;;;OAKG;IACH,YAAY,GAAW,EAAE,OAAqC;;QAC5D,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,sB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Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttpCompat from \"@azure/core-http-compat\";\nimport { ServiceImpl, ShareImpl, DirectoryImpl, FileImpl } from \"./operations\";\nimport { Service, Share, Directory, File } from \"./operationsInterfaces\";\nimport { StorageClientOptionalParams } from \"./models\";\n\nexport class StorageClient extends coreHttpCompat.ExtendedServiceClient {\n url: string;\n version: string;\n fileRangeWriteFromUrl: string;\n\n /**\n * Initializes a new instance of the StorageClient class.\n * @param url The URL of the service account, share, directory or file that is the target of the\n * desired operation.\n * @param options The parameter options\n */\n constructor(url: string, options?: StorageClientOptionalParams) {\n if (url === undefined) {\n throw new Error(\"'url' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-azure-storage-file-share/12.26.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{url}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.url = url;\n\n // Assigning values to Constant parameters\n this.version = options.version || \"2025-01-05\";\n this.fileRangeWriteFromUrl = options.fileRangeWriteFromUrl || \"update\";\n this.service = new ServiceImpl(this);\n this.share = new ShareImpl(this);\n this.directory = new DirectoryImpl(this);\n this.file = new FileImpl(this);\n }\n\n service: Service;\n share: Share;\n directory: Directory;\n file: File;\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- export const SDK_VERSION = "12.25.1";
4
- export const SERVICE_VERSION = "2024-11-04";
3
+ export const SDK_VERSION = "12.26.0-beta.1";
4
+ export const SERVICE_VERSION = "2025-01-05";
5
5
  export const FILE_MAX_SIZE_BYTES = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
6
6
  export const FILE_RANGE_MAX_SIZE_BYTES = 4 * 1024 * 1024; // 4MB
7
7
  export const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS = 5;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,SAAS,CAAC;AAC7C,MAAM,CAAC,MAAM,eAAe,GAAW,YAAY,CAAC;AAEpD,MAAM,CAAC,MAAM,mBAAmB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AAChF,MAAM,CAAC,MAAM,yBAAyB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AACxE,MAAM,CAAC,MAAM,mCAAmC,GAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,MAAM,8BAA8B,GAAW,CAAC,CAAC;AACxD,MAAM,CAAC,MAAM,eAAe,GAAW,GAAG,GAAG,IAAI,CAAC,CAAC,QAAQ;AAC3D;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAsB,oCAAoC,CAAC;AAE1F,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE;QACV,sBAAsB,EAAE,GAAG;QAC3B,cAAc,EAAE,eAAe;QAC/B,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,SAAS;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,aAAa,EAAE,GAAG;IAClB,cAAc,EAAE,GAAG;IACnB,kBAAkB,EAAE,GAAG;IACvB,0BAA0B,EAAE,GAAG;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa,EAAE,eAAe;IA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,+BAA+B;IAC/B,uBAAuB;IACvB,eAAe;IACf,mBAAmB;IACnB,oBAAoB;IACpB,0BAA0B;IAC1B,uBAAuB;IACvB,uBAAuB;IACvB,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;IACnB,6BAA6B;IAC7B,8BAA8B;IAC9B,sBAAsB;IACtB,uBAAuB;IACvB,yBAAyB;IACzB,cAAc;IACd,2BAA2B;IAC3B,qBAAqB;IACrB,gBAAgB;IAChB,+BAA+B;IAC/B,gBAAgB;IAChB,kBAAkB;IAClB,WAAW;IACX,YAAY;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG;IACtD,MAAM;IACN,YAAY;IACZ,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,SAAS;CACV,CAAC;AAEF,iDAAiD;AACjD,wGAAwG;AACxG,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACR,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"12.25.1\";\nexport const SERVICE_VERSION: string = \"2024-11-04\";\n\nexport const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB\nexport const FILE_RANGE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024; // 4MB\nexport const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS: number = 5;\nexport const DEFAULT_HIGH_LEVEL_CONCURRENCY: number = 5;\nexport const REQUEST_TIMEOUT: number = 100 * 1000; // In ms\n/**\n * The OAuth scope to use with Azure Storage.\n */\nexport const StorageOAuthScopes: string | string[] = \"https://storage.azure.com/.default\";\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SHARE_SNAPSHOT: \"sharesnapshot\",\n SIGNATURE: \"sig\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HttpUrlConnection = {\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"content-encoding\",\n CONTENT_LANGUAGE: \"content-language\",\n CONTENT_LENGTH: \"content-length\",\n CONTENT_MD5: \"content-md5\",\n CONTENT_TYPE: \"content-type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_CopySourceErrorCode: \"x-ms-copy-source-error-code\",\n X_MS_DATE: \"x-ms-date\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\nexport const FileAttributesPreserve = \"Preserve\";\nexport const FileAttributesNone = \"None\";\n\nexport const StorageFileLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"Accept-Ranges\",\n \"Content-Disposition\",\n \"Content-Encoding\",\n \"Content-Language\",\n \"Content-MD5\",\n \"Content-Range\",\n \"ETag\",\n \"Last-Modified\",\n \"Server\",\n \"Vary\",\n \"x-ms-content-crc64\",\n \"x-ms-copy-action\",\n \"x-ms-copy-completion-time\",\n \"x-ms-copy-id\",\n \"x-ms-copy-progress\",\n \"x-ms-copy-status\",\n \"x-ms-has-immutability-policy\",\n \"x-ms-has-legal-hold\",\n \"x-ms-lease-state\",\n \"x-ms-lease-status\",\n \"x-ms-range\",\n \"x-ms-request-server-encrypted\",\n \"x-ms-server-encrypted\",\n \"x-ms-snapshot\",\n \"x-ms-source-range\",\n \"x-ms-cache-control\",\n \"x-ms-content-disposition\",\n \"x-ms-content-encoding\",\n \"x-ms-content-language\",\n \"x-ms-content-length\",\n \"x-ms-content-md5\",\n \"x-ms-content-type\",\n \"x-ms-copy-source-error-code\",\n \"x-ms-copy-source-status-code\",\n \"x-ms-file-attributes\",\n \"x-ms-file-change-time\",\n \"x-ms-file-creation-time\",\n \"x-ms-file-id\",\n \"x-ms-file-last-write-time\",\n \"x-ms-file-parent-id\",\n \"x-ms-handle-id\",\n \"x-ms-number-of-handles-closed\",\n \"x-ms-recursive\",\n \"x-ms-share-quota\",\n \"x-ms-type\",\n \"x-ms-write\",\n];\n\nexport const StorageFileLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"copyid\",\n \"restype\",\n];\n\n/// List of ports used for path style addressing.\n/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.\nexport const PathStylePorts = [\n \"10000\",\n \"10001\",\n \"10002\",\n \"10003\",\n \"10004\",\n \"10100\",\n \"10101\",\n \"10102\",\n \"10103\",\n \"10104\",\n \"11000\",\n \"11001\",\n \"11002\",\n \"11003\",\n \"11004\",\n \"11100\",\n \"11101\",\n \"11102\",\n \"11103\",\n \"11104\",\n];\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,gBAAgB,CAAC;AACpD,MAAM,CAAC,MAAM,eAAe,GAAW,YAAY,CAAC;AAEpD,MAAM,CAAC,MAAM,mBAAmB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AAChF,MAAM,CAAC,MAAM,yBAAyB,GAAW,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM;AACxE,MAAM,CAAC,MAAM,mCAAmC,GAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,MAAM,8BAA8B,GAAW,CAAC,CAAC;AACxD,MAAM,CAAC,MAAM,eAAe,GAAW,GAAG,GAAG,IAAI,CAAC,CAAC,QAAQ;AAC3D;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAsB,oCAAoC,CAAC;AAE1F,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE;QACV,sBAAsB,EAAE,GAAG;QAC3B,cAAc,EAAE,eAAe;QAC/B,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,SAAS;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,aAAa,EAAE,GAAG;IAClB,cAAc,EAAE,GAAG;IACnB,kBAAkB,EAAE,GAAG;IACvB,0BAA0B,EAAE,GAAG;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC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+BAA+B;IAC/B,uBAAuB;IACvB,eAAe;IACf,mBAAmB;IACnB,oBAAoB;IACpB,0BAA0B;IAC1B,uBAAuB;IACvB,uBAAuB;IACvB,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;IACnB,6BAA6B;IAC7B,8BAA8B;IAC9B,sBAAsB;IACtB,uBAAuB;IACvB,yBAAyB;IACzB,cAAc;IACd,2BAA2B;IAC3B,qBAAqB;IACrB,gBAAgB;IAChB,+BAA+B;IAC/B,gBAAgB;IAChB,kBAAkB;IAClB,WAAW;IACX,YAAY;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG;IACtD,MAAM;IACN,YAAY;IACZ,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,SAAS;CACV,CAAC;AAEF,iDAAiD;AACjD,wGAAwG;AACxG,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACR,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"12.26.0-beta.1\";\nexport const SERVICE_VERSION: string = \"2025-01-05\";\n\nexport const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB\nexport const FILE_RANGE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024; // 4MB\nexport const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS: number = 5;\nexport const DEFAULT_HIGH_LEVEL_CONCURRENCY: number = 5;\nexport const REQUEST_TIMEOUT: number = 100 * 1000; // In ms\n/**\n * The OAuth scope to use with Azure Storage.\n */\nexport const StorageOAuthScopes: string | string[] = \"https://storage.azure.com/.default\";\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SHARE_SNAPSHOT: \"sharesnapshot\",\n SIGNATURE: \"sig\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HttpUrlConnection = {\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"content-encoding\",\n CONTENT_LANGUAGE: \"content-language\",\n CONTENT_LENGTH: \"content-length\",\n CONTENT_MD5: \"content-md5\",\n CONTENT_TYPE: \"content-type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_CopySourceErrorCode: \"x-ms-copy-source-error-code\",\n X_MS_DATE: \"x-ms-date\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\nexport const FileAttributesPreserve = \"Preserve\";\nexport const FileAttributesNone = \"None\";\n\nexport const StorageFileLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"Accept-Ranges\",\n \"Content-Disposition\",\n \"Content-Encoding\",\n \"Content-Language\",\n \"Content-MD5\",\n \"Content-Range\",\n \"ETag\",\n \"Last-Modified\",\n \"Server\",\n \"Vary\",\n \"x-ms-content-crc64\",\n \"x-ms-copy-action\",\n \"x-ms-copy-completion-time\",\n \"x-ms-copy-id\",\n \"x-ms-copy-progress\",\n \"x-ms-copy-status\",\n \"x-ms-has-immutability-policy\",\n \"x-ms-has-legal-hold\",\n \"x-ms-lease-state\",\n \"x-ms-lease-status\",\n \"x-ms-range\",\n \"x-ms-request-server-encrypted\",\n \"x-ms-server-encrypted\",\n \"x-ms-snapshot\",\n \"x-ms-source-range\",\n \"x-ms-cache-control\",\n \"x-ms-content-disposition\",\n \"x-ms-content-encoding\",\n \"x-ms-content-language\",\n \"x-ms-content-length\",\n \"x-ms-content-md5\",\n \"x-ms-content-type\",\n \"x-ms-copy-source-error-code\",\n \"x-ms-copy-source-status-code\",\n \"x-ms-file-attributes\",\n \"x-ms-file-change-time\",\n \"x-ms-file-creation-time\",\n \"x-ms-file-id\",\n \"x-ms-file-last-write-time\",\n \"x-ms-file-parent-id\",\n \"x-ms-handle-id\",\n \"x-ms-number-of-handles-closed\",\n \"x-ms-recursive\",\n \"x-ms-share-quota\",\n \"x-ms-type\",\n \"x-ms-write\",\n];\n\nexport const StorageFileLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"copyid\",\n \"restype\",\n];\n\n/// List of ports used for path style addressing.\n/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.\nexport const PathStylePorts = [\n \"10000\",\n \"10001\",\n \"10002\",\n \"10003\",\n \"10004\",\n \"10100\",\n \"10101\",\n \"10102\",\n \"10103\",\n \"10104\",\n \"11000\",\n \"11001\",\n \"11002\",\n \"11003\",\n \"11004\",\n \"11100\",\n \"11101\",\n \"11102\",\n \"11103\",\n \"11104\",\n];\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@azure/storage-file-share",
3
3
  "sdk-type": "client",
4
- "version": "12.25.1-alpha.20241014.1",
4
+ "version": "12.26.0-alpha.20241015.2",
5
5
  "description": "Microsoft Azure Storage SDK for JavaScript - File",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist-esm/storage-file-share/src/index.js",
@@ -2986,6 +2986,8 @@ declare interface FileStartCopyOptionalParams extends coreClient.OperationOption
2986
2986
  metadata?: {
2987
2987
  [propertyName: string]: string;
2988
2988
  };
2989
+ /** Optional. Available for version 2023-06-01 and later. Specifies the format in which the permission is returned. Acceptable values are SDDL or binary. If x-ms-file-permission-format is unspecified or explicitly set to SDDL, the permission is returned in SDDL format. If x-ms-file-permission-format is explicitly set to binary, the permission is returned as a base64 string representing the binary encoding of the permission */
2990
+ filePermissionFormat?: FilePermissionFormat;
2989
2991
  /** If true, the trailing dot will not be trimmed from the target URI. */
2990
2992
  allowTrailingDot?: boolean;
2991
2993
  /** If specified the permission (security descriptor) shall be set for the directory/file. This header can be used if Permission size is <= 8KB, else x-ms-file-permission-key header shall be used. Default value: Inherit. If SDDL is specified as input, it must have owner, group and dacl. Note: Only one of the x-ms-file-permission or x-ms-file-permission-key should be specified. */
@@ -3021,6 +3023,12 @@ export declare interface FileStartCopyOptions extends CommonOptions {
3021
3023
  * specified.
3022
3024
  */
3023
3025
  filePermission?: string;
3026
+ /**
3027
+ * Optional. Available for version 2023-06-01 and later. Specifies the format in which the permission is returned.
3028
+ * Acceptable values are SDDL or binary. If x-ms-file-permission-format is unspecified or explicitly set to SDDL, the permission is returned in SDDL format.
3029
+ * If x-ms-file-permission-format is explicitly set to binary, the permission is returned as a base64 string representing the binary encoding of the permission
3030
+ */
3031
+ filePermissionFormat?: FilePermissionFormat;
3024
3032
  /**
3025
3033
  * Key of the permission to be set for the directory/file. Note: Only one of the
3026
3034
  * x-ms-file-permission or x-ms-file-permission-key should be specified.
@@ -4255,7 +4263,7 @@ declare interface Share {
4255
4263
  }
4256
4264
 
4257
4265
  /** Defines values for ShareAccessTier. */
4258
- export declare type ShareAccessTier = "TransactionOptimized" | "Hot" | "Cool";
4266
+ export declare type ShareAccessTier = "TransactionOptimized" | "Hot" | "Cool" | "Premium";
4259
4267
 
4260
4268
  /** Defines headers for Share_acquireLease operation. */
4261
4269
  declare interface ShareAcquireLeaseHeaders {
@@ -4709,6 +4717,16 @@ export declare interface ShareCreateHeaders {
4709
4717
  version?: string;
4710
4718
  /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */
4711
4719
  date?: Date;
4720
+ /** Returns the current share quota in GB. */
4721
+ quota?: number;
4722
+ /** The provisioned IOPS of the share. */
4723
+ shareProvisionedIops?: number;
4724
+ /** The provisioned throughput of the share. */
4725
+ shareProvisionedBandwidthMibps?: number;
4726
+ /** Returns the calculated burst IOPS of the share. */
4727
+ shareIncludedBurstIops?: number;
4728
+ /** Returned the calculated maximum burst credits. */
4729
+ maxBurstCreditsForIops?: number;
4712
4730
  /** Error Code */
4713
4731
  errorCode?: string;
4714
4732
  }
@@ -4748,6 +4766,10 @@ declare interface ShareCreateOptionalParams extends coreClient.OperationOptions
4748
4766
  paidBurstingMaxBandwidthMibps?: number;
4749
4767
  /** Optional. Integer. Default if not specified is the maximum IOPS the file share can support. Current maximum for a file share is 102,400 IOPS. */
4750
4768
  paidBurstingMaxIops?: number;
4769
+ /** Optional. Supported in version 2025-01-05 and later. Only allowed for provisioned v2 file shares. Specifies the provisioned number of input/output operations per second (IOPS) of the share. If this is not specified, the provisioned IOPS is set to value calculated based on recommendation formula. */
4770
+ shareProvisionedIops?: number;
4771
+ /** Optional. Supported in version 2025-01-05 and later. Only allowed for provisioned v2 file shares. Specifies the provisioned bandwidth of the share, in mebibytes per second (MiBps). If this is not specified, the provisioned bandwidth is set to value calculated based on recommendation formula. */
4772
+ shareProvisionedBandwidthMibps?: number;
4751
4773
  }
4752
4774
 
4753
4775
  /**
@@ -4801,6 +4823,13 @@ export declare interface ShareCreateOptions extends CommonOptions {
4801
4823
  * Optional. Integer. Default if not specified is the maximum IOPS the file share can support. Current maximum for a file share is 102,400 IOPS.
4802
4824
  */
4803
4825
  paidBurstingMaxIops?: number;
4826
+ /**
4827
+ * Optional. Supported in version 2025-01-05 and later. Only allowed for provisioned v2 file shares.
4828
+ * Specifies the provisioned number of input/output operations per second (IOPS) of the share. If this is not specified, the provisioned IOPS is set to value calculated based on recommendation formula.
4829
+ */
4830
+ shareProvisionedIops?: number;
4831
+ /** Optional. Supported in version 2025-01-05 and later. Only allowed for provisioned v2 file shares. Specifies the provisioned bandwidth of the share, in mebibytes per second (MiBps). If this is not specified, the provisioned bandwidth is set to value calculated based on recommendation formula. */
4832
+ shareProvisionedBandwidthMibps?: number;
4804
4833
  }
4805
4834
 
4806
4835
  /** Defines headers for Share_createPermission operation. */
@@ -4909,6 +4938,10 @@ export declare interface ShareDeleteHeaders {
4909
4938
  version?: string;
4910
4939
  /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */
4911
4940
  date?: Date;
4941
+ /** Returned only for provisioned v2 file shares. Returns an approximate used storage size of the share, in bytes. */
4942
+ usageBytes?: number;
4943
+ /** Returned only for provisioned v2 file shares. Returns an approximate used snapshot storage size of the share, in bytes. */
4944
+ snapshotUsageBytes?: number;
4912
4945
  /** Error Code */
4913
4946
  errorCode?: string;
4914
4947
  }
@@ -6189,7 +6222,7 @@ export declare interface ShareGetPropertiesHeaders {
6189
6222
  provisionedEgressMBps?: number;
6190
6223
  /** Returns the current share next allowed quota downgrade time. */
6191
6224
  nextAllowedQuotaDowngradeTime?: Date;
6192
- /** Returns the current share provisioned bandwidth in megabits per second. */
6225
+ /** Returns the current share provisioned bandwidth in mebibytes per second. */
6193
6226
  provisionedBandwidthMibps?: number;
6194
6227
  /** When a share is leased, specifies whether the lease is of infinite or fixed duration. */
6195
6228
  leaseDuration?: LeaseDurationType;
@@ -6215,6 +6248,14 @@ export declare interface ShareGetPropertiesHeaders {
6215
6248
  paidBurstingMaxIops?: number;
6216
6249
  /** Optional. Integer. Default if not specified is the maximum throughput the file share can support. Current maximum for a file share is 10,340 MiB/sec. */
6217
6250
  paidBurstingMaxBandwidthMibps?: number;
6251
+ /** Return the calculated burst IOPS of the share. */
6252
+ includedBurstIops?: number;
6253
+ /** Returned the calculated maximum burst credits. This is not the current burst credit level, but the maximum burst credits the share can have. */
6254
+ maxBurstCreditsForIops?: number;
6255
+ /** Returns the current share next allowed provisioned iops downgrade time. */
6256
+ nextAllowedProvisionedIopsDowngradeTime?: Date;
6257
+ /** Returns the current share next allowed provisioned bandwidth downgrade time. */
6258
+ nextAllowedProvisionedBandwidthDowngradeTime?: Date;
6218
6259
  /** Error Code */
6219
6260
  errorCode?: string;
6220
6261
  }
@@ -6465,6 +6506,10 @@ export declare interface SharePropertiesInternal {
6465
6506
  paidBurstingEnabled?: boolean;
6466
6507
  paidBurstingMaxIops?: number;
6467
6508
  paidBurstingMaxBandwidthMibps?: number;
6509
+ includedBurstIops?: number;
6510
+ maxBurstCreditsForIops?: number;
6511
+ nextAllowedProvisionedIopsDowngradeTime?: Date;
6512
+ nextAllowedProvisionedBandwidthDowngradeTime?: Date;
6468
6513
  }
6469
6514
 
6470
6515
  /**
@@ -6565,6 +6610,16 @@ declare interface ShareRestoreHeaders {
6565
6610
  version?: string;
6566
6611
  /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */
6567
6612
  date?: Date;
6613
+ /** Returns the current share quota in GB. */
6614
+ quota?: number;
6615
+ /** Returns the current share provisioned ipos. */
6616
+ provisionedIops?: number;
6617
+ /** Returns the current share provisioned bandwidth in mebibytes per second. */
6618
+ provisionedBandwidthMibps?: number;
6619
+ /** Return the calculated burst IOPS of the share. */
6620
+ includedBurstIops?: number;
6621
+ /** Returned the calculated maximum burst credits. This is not the current burst credit level, but the maximum burst credits the share can have. */
6622
+ maxBurstCreditsForIops?: number;
6568
6623
  }
6569
6624
 
6570
6625
  /** Optional parameters. */
@@ -6995,6 +7050,22 @@ export declare interface ShareSetPropertiesHeaders {
6995
7050
  version?: string;
6996
7051
  /** A UTC date/time value generated by the service that indicates the time at which the response was initiated. */
6997
7052
  date?: Date;
7053
+ /** Returns the current share quota in GB. */
7054
+ quota?: number;
7055
+ /** Returns the current share provisioned ipos. */
7056
+ provisionedIops?: number;
7057
+ /** Returns the current share provisioned bandwidth in mebibytes per second. */
7058
+ provisionedBandwidthMibps?: number;
7059
+ /** Return the calculated burst IOPS of the share. */
7060
+ includedBurstIops?: number;
7061
+ /** Returned the calculated maximum burst credits. This is not the current burst credit level, but the maximum burst credits the share can have. */
7062
+ maxBurstCreditsForIops?: number;
7063
+ /** Returns the current share next allowed quota downgrade time. */
7064
+ nextAllowedQuotaDowngradeTime?: Date;
7065
+ /** Returns the current share next allowed provisioned iops downgrade time. */
7066
+ nextAllowedProvisionedIopsDowngradeTime?: Date;
7067
+ /** Returns the current share next allowed provisioned bandwidth downgrade time. */
7068
+ nextAllowedProvisionedBandwidthDowngradeTime?: Date;
6998
7069
  /** Error Code */
6999
7070
  errorCode?: string;
7000
7071
  }
@@ -7020,6 +7091,10 @@ declare interface ShareSetPropertiesOptionalParams extends coreClient.OperationO
7020
7091
  paidBurstingMaxBandwidthMibps?: number;
7021
7092
  /** Optional. Integer. Default if not specified is the maximum IOPS the file share can support. Current maximum for a file share is 102,400 IOPS. */
7022
7093
  paidBurstingMaxIops?: number;
7094
+ /** Optional. Supported in version 2025-01-05 and later. Only allowed for provisioned v2 file shares. Specifies the provisioned number of input/output operations per second (IOPS) of the share. If this is not specified, the provisioned IOPS is set to value calculated based on recommendation formula. */
7095
+ shareProvisionedIops?: number;
7096
+ /** Optional. Supported in version 2025-01-05 and later. Only allowed for provisioned v2 file shares. Specifies the provisioned bandwidth of the share, in mebibytes per second (MiBps). If this is not specified, the provisioned bandwidth is set to value calculated based on recommendation formula. */
7097
+ shareProvisionedBandwidthMibps?: number;
7023
7098
  }
7024
7099
 
7025
7100
  /**
@@ -7066,6 +7141,13 @@ export declare interface ShareSetPropertiesOptions extends CommonOptions {
7066
7141
  * Optional. Integer. Default if not specified is the maximum IOPS the file share can support. Current maximum for a file share is 102,400 IOPS.
7067
7142
  */
7068
7143
  paidBurstingMaxIops?: number;
7144
+ /**
7145
+ * Optional. Supported in version 2025-01-05 and later. Only allowed for provisioned v2 file shares.
7146
+ * Specifies the provisioned number of input/output operations per second (IOPS) of the share. If this is not specified, the provisioned IOPS is set to value calculated based on recommendation formula.
7147
+ */
7148
+ shareProvisionedIops?: number;
7149
+ /** Optional. Supported in version 2025-01-05 and later. Only allowed for provisioned v2 file shares. Specifies the provisioned bandwidth of the share, in mebibytes per second (MiBps). If this is not specified, the provisioned bandwidth is set to value calculated based on recommendation formula. */
7150
+ shareProvisionedBandwidthMibps?: number;
7069
7151
  }
7070
7152
 
7071
7153
  /** Contains response data for the setProperties operation. */