@azure/storage-file-share 12.15.0-beta.1 → 12.20.0-alpha.20230608.4
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/dist/index.js +5967 -6568
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/BatchResponse.js +4 -0
- package/dist-esm/storage-blob/src/BatchResponse.js.map +1 -0
- package/dist-esm/storage-blob/src/BatchResponseParser.js +137 -0
- package/dist-esm/storage-blob/src/BatchResponseParser.js.map +1 -0
- package/dist-esm/storage-blob/src/BatchUtils.browser.js +11 -0
- package/dist-esm/storage-blob/src/BatchUtils.browser.js.map +1 -0
- package/dist-esm/storage-blob/src/BatchUtils.js +15 -0
- package/dist-esm/storage-blob/src/BatchUtils.js.map +1 -0
- package/dist-esm/storage-blob/src/BlobBatch.js +267 -0
- package/dist-esm/storage-blob/src/BlobBatch.js.map +1 -0
- package/dist-esm/storage-blob/src/BlobBatchClient.js +140 -0
- package/dist-esm/storage-blob/src/BlobBatchClient.js.map +1 -0
- package/dist-esm/storage-blob/src/BlobDownloadResponse.browser.js +7 -0
- package/dist-esm/storage-blob/src/BlobDownloadResponse.browser.js.map +1 -0
- package/dist-esm/storage-blob/src/BlobDownloadResponse.js +455 -0
- package/dist-esm/storage-blob/src/BlobDownloadResponse.js.map +1 -0
- package/dist-esm/storage-blob/src/BlobLeaseClient.js +192 -0
- package/dist-esm/storage-blob/src/BlobLeaseClient.js.map +1 -0
- package/dist-esm/storage-blob/src/BlobQueryResponse.browser.js +362 -0
- package/dist-esm/storage-blob/src/BlobQueryResponse.browser.js.map +1 -0
- package/dist-esm/storage-blob/src/BlobQueryResponse.js +367 -0
- package/dist-esm/storage-blob/src/BlobQueryResponse.js.map +1 -0
- package/dist-esm/storage-blob/src/BlobServiceClient.js +702 -0
- package/dist-esm/storage-blob/src/BlobServiceClient.js.map +1 -0
- package/dist-esm/storage-blob/src/Clients.js +2527 -0
- package/dist-esm/storage-blob/src/Clients.js.map +1 -0
- package/dist-esm/storage-blob/src/ContainerClient.js +1161 -0
- package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -0
- package/dist-esm/storage-blob/src/PageBlobRangeResponse.js +24 -0
- package/dist-esm/storage-blob/src/PageBlobRangeResponse.js.map +1 -0
- package/dist-esm/storage-blob/src/Pipeline.js +259 -0
- package/dist-esm/storage-blob/src/Pipeline.js.map +1 -0
- package/dist-esm/storage-blob/src/Range.js +21 -0
- package/dist-esm/storage-blob/src/Range.js.map +1 -0
- package/dist-esm/{src → storage-blob/src}/StorageBrowserPolicyFactory.js +1 -1
- package/dist-esm/storage-blob/src/StorageBrowserPolicyFactory.js.map +1 -0
- package/dist-esm/storage-blob/src/StorageClient.js +29 -0
- package/dist-esm/storage-blob/src/StorageClient.js.map +1 -0
- package/dist-esm/storage-blob/src/StorageContextClient.js +17 -0
- package/dist-esm/storage-blob/src/StorageContextClient.js.map +1 -0
- package/dist-esm/{src → storage-blob/src}/StorageRetryPolicyFactory.js +2 -1
- package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js.map +1 -0
- package/dist-esm/{src → storage-blob/src}/credentials/AnonymousCredential.js +1 -1
- package/dist-esm/storage-blob/src/credentials/AnonymousCredential.js.map +1 -0
- package/dist-esm/storage-blob/src/credentials/Credential.js.map +1 -0
- package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.browser.js.map +1 -0
- package/dist-esm/{src → storage-blob/src}/credentials/StorageSharedKeyCredential.js +1 -1
- package/dist-esm/storage-blob/src/credentials/StorageSharedKeyCredential.js.map +1 -0
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.browser.js +5 -0
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.browser.js.map +1 -0
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js +31 -0
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js.map +1 -0
- package/dist-esm/{src → storage-blob/src}/generated/src/index.js +1 -1
- package/dist-esm/storage-blob/src/generated/src/index.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/models/index.js +256 -0
- package/dist-esm/storage-blob/src/generated/src/models/index.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/models/mappers.js +8196 -0
- package/dist-esm/storage-blob/src/generated/src/models/mappers.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/models/parameters.js +1610 -0
- package/dist-esm/storage-blob/src/generated/src/models/parameters.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operations/appendBlob.js +221 -0
- package/dist-esm/storage-blob/src/generated/src/operations/appendBlob.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operations/blob.js +997 -0
- package/dist-esm/storage-blob/src/generated/src/operations/blob.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operations/blockBlob.js +365 -0
- package/dist-esm/storage-blob/src/generated/src/operations/blockBlob.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operations/container.js +705 -0
- package/dist-esm/storage-blob/src/generated/src/operations/container.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operations/index.js +14 -0
- package/dist-esm/storage-blob/src/generated/src/operations/index.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operations/pageBlob.js +456 -0
- package/dist-esm/storage-blob/src/generated/src/operations/pageBlob.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operations/service.js +315 -0
- package/dist-esm/storage-blob/src/generated/src/operations/service.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/appendBlob.js +9 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/appendBlob.js.map +1 -0
- package/dist-esm/{src/generated/src/models/index.js → storage-blob/src/generated/src/operationsInterfaces/blob.js} +1 -1
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/blob.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/blockBlob.js +9 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/blockBlob.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/container.js +9 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/container.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/pageBlob.js +9 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/pageBlob.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/service.js +9 -0
- package/dist-esm/storage-blob/src/generated/src/operationsInterfaces/service.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/storageClient.js +49 -0
- package/dist-esm/storage-blob/src/generated/src/storageClient.js.map +1 -0
- package/dist-esm/storage-blob/src/generatedModels.js +4 -0
- package/dist-esm/storage-blob/src/generatedModels.js.map +1 -0
- package/dist-esm/storage-blob/src/index.browser.js +23 -0
- package/dist-esm/storage-blob/src/index.browser.js.map +1 -0
- package/dist-esm/storage-blob/src/index.js +33 -0
- package/dist-esm/storage-blob/src/index.js.map +1 -0
- package/dist-esm/storage-blob/src/log.js +8 -0
- package/dist-esm/storage-blob/src/log.js.map +1 -0
- package/dist-esm/storage-blob/src/models.js +108 -0
- package/dist-esm/storage-blob/src/models.js.map +1 -0
- package/dist-esm/storage-blob/src/policies/AnonymousCredentialPolicy.js.map +1 -0
- package/dist-esm/{src → storage-blob/src}/policies/CredentialPolicy.js +1 -1
- package/dist-esm/storage-blob/src/policies/CredentialPolicy.js.map +1 -0
- package/dist-esm/storage-blob/src/policies/RequestPolicy.js +40 -0
- package/dist-esm/storage-blob/src/policies/RequestPolicy.js.map +1 -0
- package/dist-esm/{src → storage-blob/src}/policies/StorageBrowserPolicy.js +2 -1
- package/dist-esm/{src → storage-blob/src}/policies/StorageBrowserPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js +31 -0
- package/dist-esm/storage-blob/src/policies/StorageBrowserPolicyV2.js.map +1 -0
- package/dist-esm/{src → storage-blob/src}/policies/StorageRetryPolicy.js +15 -6
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicy.js.map +1 -0
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js +165 -0
- package/dist-esm/storage-blob/src/policies/StorageRetryPolicyV2.js.map +1 -0
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js.map +1 -0
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js +18 -0
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.browser.js.map +1 -0
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js +131 -0
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js.map +1 -0
- package/dist-esm/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.js +130 -0
- package/dist-esm/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.js.map +1 -0
- package/dist-esm/storage-blob/src/sas/AccountSASPermissions.js +227 -0
- package/dist-esm/storage-blob/src/sas/AccountSASPermissions.js.map +1 -0
- package/dist-esm/storage-blob/src/sas/AccountSASResourceTypes.js.map +1 -0
- package/dist-esm/storage-blob/src/sas/AccountSASServices.js.map +1 -0
- package/dist-esm/storage-blob/src/sas/AccountSASSignatureValues.js +93 -0
- package/dist-esm/storage-blob/src/sas/AccountSASSignatureValues.js.map +1 -0
- package/dist-esm/storage-blob/src/sas/BlobSASPermissions.js +195 -0
- package/dist-esm/storage-blob/src/sas/BlobSASPermissions.js.map +1 -0
- package/dist-esm/storage-blob/src/sas/BlobSASSignatureValues.js +555 -0
- package/dist-esm/storage-blob/src/sas/BlobSASSignatureValues.js.map +1 -0
- package/dist-esm/storage-blob/src/sas/ContainerSASPermissions.js +221 -0
- package/dist-esm/storage-blob/src/sas/ContainerSASPermissions.js.map +1 -0
- package/dist-esm/storage-blob/src/sas/SASQueryParameters.js +234 -0
- package/dist-esm/storage-blob/src/sas/SASQueryParameters.js.map +1 -0
- package/dist-esm/storage-blob/src/sas/SasIPRange.js +13 -0
- package/dist-esm/storage-blob/src/sas/SasIPRange.js.map +1 -0
- package/dist-esm/storage-blob/src/utils/Batch.js.map +1 -0
- package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js +111 -0
- package/dist-esm/storage-blob/src/utils/BlobQuickQueryStream.js.map +1 -0
- package/dist-esm/storage-blob/src/utils/Mutex.js +66 -0
- package/dist-esm/storage-blob/src/utils/Mutex.js.map +1 -0
- package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js +119 -0
- package/dist-esm/storage-blob/src/utils/RetriableReadableStream.js.map +1 -0
- package/dist-esm/storage-blob/src/utils/cache.js +11 -0
- package/dist-esm/storage-blob/src/utils/cache.js.map +1 -0
- package/dist-esm/storage-blob/src/utils/constants.js +223 -0
- package/dist-esm/storage-blob/src/utils/constants.js.map +1 -0
- package/dist-esm/storage-blob/src/utils/tracing.js +14 -0
- package/dist-esm/storage-blob/src/utils/tracing.js.map +1 -0
- package/dist-esm/storage-blob/src/utils/utils.browser.js +48 -0
- package/dist-esm/storage-blob/src/utils/utils.browser.js.map +1 -0
- package/dist-esm/storage-blob/src/utils/utils.common.js +754 -0
- package/dist-esm/storage-blob/src/utils/utils.common.js.map +1 -0
- package/dist-esm/storage-blob/src/utils/utils.node.js +132 -0
- package/dist-esm/storage-blob/src/utils/utils.node.js.map +1 -0
- package/dist-esm/storage-file-share/src/AccountSASPermissions.js.map +1 -0
- package/dist-esm/storage-file-share/src/AccountSASResourceTypes.js +72 -0
- package/dist-esm/storage-file-share/src/AccountSASResourceTypes.js.map +1 -0
- package/dist-esm/storage-file-share/src/AccountSASServices.js +80 -0
- package/dist-esm/storage-file-share/src/AccountSASServices.js.map +1 -0
- package/dist-esm/storage-file-share/src/AccountSASSignatureValues.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/Clients.js +476 -1253
- package/dist-esm/storage-file-share/src/Clients.js.map +1 -0
- package/dist-esm/storage-file-share/src/FileDownloadResponse.browser.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/FileDownloadResponse.js +15 -14
- package/dist-esm/storage-file-share/src/FileDownloadResponse.js.map +1 -0
- package/dist-esm/storage-file-share/src/FileSASPermissions.js.map +1 -0
- package/dist-esm/storage-file-share/src/FileSASSignatureValues.js.map +1 -0
- package/dist-esm/storage-file-share/src/FileSystemAttributes.js.map +1 -0
- package/dist-esm/storage-file-share/src/Range.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/SASQueryParameters.js +14 -14
- package/dist-esm/storage-file-share/src/SASQueryParameters.js.map +1 -0
- package/dist-esm/storage-file-share/src/SasIPRange.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/ShareClientInternal.js +1 -2
- package/dist-esm/storage-file-share/src/ShareClientInternal.js.map +1 -0
- package/dist-esm/storage-file-share/src/ShareSASPermissions.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/ShareServiceClient.js +58 -121
- package/dist-esm/storage-file-share/src/ShareServiceClient.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/StorageClient.js +8 -14
- package/dist-esm/storage-file-share/src/StorageClient.js.map +1 -0
- package/dist-esm/storage-file-share/src/StorageContextClient.js +18 -0
- package/dist-esm/storage-file-share/src/StorageContextClient.js.map +1 -0
- package/dist-esm/storage-file-share/src/generated/src/index.js +11 -0
- package/dist-esm/storage-file-share/src/generated/src/index.js.map +1 -0
- package/dist-esm/storage-file-share/src/generated/src/models/index.js +144 -0
- package/dist-esm/storage-file-share/src/generated/src/models/index.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/generated/src/models/mappers.js +16 -64
- package/dist-esm/storage-file-share/src/generated/src/models/mappers.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/generated/src/models/parameters.js +17 -37
- package/dist-esm/storage-file-share/src/generated/src/models/parameters.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/generated/src/operations/directory.js +17 -73
- package/dist-esm/storage-file-share/src/generated/src/operations/directory.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/generated/src/operations/file.js +33 -142
- package/dist-esm/storage-file-share/src/generated/src/operations/file.js.map +1 -0
- package/dist-esm/storage-file-share/src/generated/src/operations/index.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/generated/src/operations/service.js +7 -17
- package/dist-esm/storage-file-share/src/generated/src/operations/service.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/generated/src/operations/share.js +26 -85
- package/dist-esm/storage-file-share/src/generated/src/operations/share.js.map +1 -0
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/directory.js +9 -0
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/directory.js.map +1 -0
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/file.js +9 -0
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/file.js.map +1 -0
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/service.js +9 -0
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/service.js.map +1 -0
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/share.js +9 -0
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/share.js.map +1 -0
- package/dist-esm/storage-file-share/src/generated/src/storageClient.js +48 -0
- package/dist-esm/storage-file-share/src/generated/src/storageClient.js.map +1 -0
- package/dist-esm/storage-file-share/src/generatedModels.js +4 -0
- package/dist-esm/storage-file-share/src/generatedModels.js.map +1 -0
- package/dist-esm/storage-file-share/src/index.browser.js +18 -0
- package/dist-esm/storage-file-share/src/index.browser.js.map +1 -0
- package/dist-esm/storage-file-share/src/index.js +28 -0
- package/dist-esm/storage-file-share/src/index.js.map +1 -0
- package/dist-esm/storage-file-share/src/log.js.map +1 -0
- package/dist-esm/storage-file-share/src/models.js.map +1 -0
- package/dist-esm/storage-file-share/src/utils/Batch.js +122 -0
- package/dist-esm/storage-file-share/src/utils/Batch.js.map +1 -0
- package/dist-esm/storage-file-share/src/utils/BufferScheduler.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/utils/RetriableReadableStream.js +51 -48
- package/dist-esm/storage-file-share/src/utils/RetriableReadableStream.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/utils/constants.js +2 -6
- package/dist-esm/storage-file-share/src/utils/constants.js.map +1 -0
- package/dist-esm/storage-file-share/src/utils/tracing.js +14 -0
- package/dist-esm/storage-file-share/src/utils/tracing.js.map +1 -0
- package/dist-esm/storage-file-share/src/utils/utils.browser.js.map +1 -0
- package/dist-esm/{src → storage-file-share/src}/utils/utils.common.js +77 -94
- package/dist-esm/storage-file-share/src/utils/utils.common.js.map +1 -0
- package/dist-esm/storage-file-share/src/utils/utils.node.js.map +1 -0
- package/package.json +36 -31
- package/types/3.1/storage-file-share.d.ts +1454 -532
- package/types/latest/storage-file-share.d.ts +1571 -544
- package/dist-esm/src/AccountSASPermissions.js.map +0 -1
- package/dist-esm/src/AccountSASResourceTypes.js.map +0 -1
- package/dist-esm/src/AccountSASServices.js.map +0 -1
- package/dist-esm/src/AccountSASSignatureValues.js.map +0 -1
- package/dist-esm/src/Clients.js.map +0 -1
- package/dist-esm/src/FileDownloadResponse.browser.js.map +0 -1
- package/dist-esm/src/FileDownloadResponse.js.map +0 -1
- package/dist-esm/src/FileSASPermissions.js.map +0 -1
- package/dist-esm/src/FileSASSignatureValues.js.map +0 -1
- package/dist-esm/src/FileSystemAttributes.js.map +0 -1
- package/dist-esm/src/Pipeline.js +0 -88
- package/dist-esm/src/Pipeline.js.map +0 -1
- package/dist-esm/src/Range.js.map +0 -1
- package/dist-esm/src/SASQueryParameters.js.map +0 -1
- package/dist-esm/src/SasIPRange.js.map +0 -1
- package/dist-esm/src/ShareClientInternal.js.map +0 -1
- package/dist-esm/src/ShareSASPermissions.js.map +0 -1
- package/dist-esm/src/ShareServiceClient.js.map +0 -1
- package/dist-esm/src/StorageBrowserPolicyFactory.js.map +0 -1
- package/dist-esm/src/StorageClient.js.map +0 -1
- package/dist-esm/src/StorageRetryPolicyFactory.js.map +0 -1
- package/dist-esm/src/TelemetryPolicyFactory.js +0 -50
- package/dist-esm/src/TelemetryPolicyFactory.js.map +0 -1
- package/dist-esm/src/credentials/AnonymousCredential.js.map +0 -1
- package/dist-esm/src/credentials/Credential.js.map +0 -1
- package/dist-esm/src/credentials/StorageSharedKeyCredential.browser.js.map +0 -1
- package/dist-esm/src/credentials/StorageSharedKeyCredential.js.map +0 -1
- package/dist-esm/src/generated/src/index.js.map +0 -1
- package/dist-esm/src/generated/src/models/index.js.map +0 -1
- package/dist-esm/src/generated/src/models/mappers.js.map +0 -1
- package/dist-esm/src/generated/src/models/parameters.js.map +0 -1
- package/dist-esm/src/generated/src/operations/directory.js.map +0 -1
- package/dist-esm/src/generated/src/operations/file.js.map +0 -1
- package/dist-esm/src/generated/src/operations/index.js.map +0 -1
- package/dist-esm/src/generated/src/operations/service.js.map +0 -1
- package/dist-esm/src/generated/src/operations/share.js.map +0 -1
- package/dist-esm/src/generated/src/storageClient.js +0 -25
- package/dist-esm/src/generated/src/storageClient.js.map +0 -1
- package/dist-esm/src/generated/src/storageClientContext.js +0 -40
- package/dist-esm/src/generated/src/storageClientContext.js.map +0 -1
- package/dist-esm/src/generatedModels.js +0 -8
- package/dist-esm/src/generatedModels.js.map +0 -1
- package/dist-esm/src/index.browser.js +0 -17
- package/dist-esm/src/index.browser.js.map +0 -1
- package/dist-esm/src/index.js +0 -27
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/log.js.map +0 -1
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/policies/AnonymousCredentialPolicy.js.map +0 -1
- package/dist-esm/src/policies/CredentialPolicy.js.map +0 -1
- package/dist-esm/src/policies/StorageRetryPolicy.js.map +0 -1
- package/dist-esm/src/policies/StorageSharedKeyCredentialPolicy.js.map +0 -1
- package/dist-esm/src/policies/TelemetryPolicy.js +0 -36
- package/dist-esm/src/policies/TelemetryPolicy.js.map +0 -1
- package/dist-esm/src/utils/Batch.js.map +0 -1
- package/dist-esm/src/utils/BufferScheduler.js.map +0 -1
- package/dist-esm/src/utils/RetriableReadableStream.js.map +0 -1
- package/dist-esm/src/utils/cache.js +0 -8
- package/dist-esm/src/utils/cache.js.map +0 -1
- package/dist-esm/src/utils/constants.js.map +0 -1
- package/dist-esm/src/utils/tracing.js +0 -27
- package/dist-esm/src/utils/tracing.js.map +0 -1
- package/dist-esm/src/utils/utils.browser.js.map +0 -1
- package/dist-esm/src/utils/utils.common.js.map +0 -1
- package/dist-esm/src/utils/utils.node.js.map +0 -1
- /package/dist-esm/{src → storage-blob/src}/credentials/Credential.js +0 -0
- /package/dist-esm/{src → storage-blob/src}/credentials/StorageSharedKeyCredential.browser.js +0 -0
- /package/dist-esm/{src → storage-blob/src}/policies/AnonymousCredentialPolicy.js +0 -0
- /package/dist-esm/{src → storage-blob/src}/policies/StorageSharedKeyCredentialPolicy.js +0 -0
- /package/dist-esm/{src → storage-blob/src/sas}/AccountSASResourceTypes.js +0 -0
- /package/dist-esm/{src → storage-blob/src/sas}/AccountSASServices.js +0 -0
- /package/dist-esm/{src → storage-blob/src}/utils/Batch.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/AccountSASPermissions.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/AccountSASSignatureValues.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/FileDownloadResponse.browser.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/FileSASPermissions.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/FileSASSignatureValues.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/FileSystemAttributes.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/Range.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/SasIPRange.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/ShareSASPermissions.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/generated/src/operations/index.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/log.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/models.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/utils/BufferScheduler.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/utils/utils.browser.js +0 -0
- /package/dist-esm/{src → storage-file-share/src}/utils/utils.node.js +0 -0
@@ -5,11 +5,11 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
-
import * as
|
8
|
+
import * as coreClient from "@azure/core-client";
|
9
9
|
import * as Mappers from "../models/mappers";
|
10
10
|
import * as Parameters from "../models/parameters";
|
11
|
-
/** Class
|
12
|
-
export class
|
11
|
+
/** Class containing File operations. */
|
12
|
+
export class FileImpl {
|
13
13
|
/**
|
14
14
|
* Initialize a new instance of the class File class.
|
15
15
|
* @param client Reference to the service client
|
@@ -25,22 +25,14 @@ export class File {
|
|
25
25
|
* @param options The options parameters.
|
26
26
|
*/
|
27
27
|
create(fileContentLength, fileAttributes, options) {
|
28
|
-
|
29
|
-
fileContentLength,
|
30
|
-
fileAttributes,
|
31
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
32
|
-
};
|
33
|
-
return this.client.sendOperationRequest(operationArguments, createOperationSpec);
|
28
|
+
return this.client.sendOperationRequest({ fileContentLength, fileAttributes, options }, createOperationSpec);
|
34
29
|
}
|
35
30
|
/**
|
36
31
|
* Reads or downloads a file from the system, including its metadata and properties.
|
37
32
|
* @param options The options parameters.
|
38
33
|
*/
|
39
34
|
download(options) {
|
40
|
-
|
41
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
42
|
-
};
|
43
|
-
return this.client.sendOperationRequest(operationArguments, downloadOperationSpec);
|
35
|
+
return this.client.sendOperationRequest({ options }, downloadOperationSpec);
|
44
36
|
}
|
45
37
|
/**
|
46
38
|
* Returns all user-defined metadata, standard HTTP properties, and system properties for the file. It
|
@@ -48,20 +40,14 @@ export class File {
|
|
48
40
|
* @param options The options parameters.
|
49
41
|
*/
|
50
42
|
getProperties(options) {
|
51
|
-
|
52
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
53
|
-
};
|
54
|
-
return this.client.sendOperationRequest(operationArguments, getPropertiesOperationSpec);
|
43
|
+
return this.client.sendOperationRequest({ options }, getPropertiesOperationSpec);
|
55
44
|
}
|
56
45
|
/**
|
57
46
|
* removes the file from the storage account.
|
58
47
|
* @param options The options parameters.
|
59
48
|
*/
|
60
49
|
delete(options) {
|
61
|
-
|
62
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
63
|
-
};
|
64
|
-
return this.client.sendOperationRequest(operationArguments, deleteOperationSpec);
|
50
|
+
return this.client.sendOperationRequest({ options }, deleteOperationSpec);
|
65
51
|
}
|
66
52
|
/**
|
67
53
|
* Sets HTTP headers on the file.
|
@@ -70,21 +56,14 @@ export class File {
|
|
70
56
|
* @param options The options parameters.
|
71
57
|
*/
|
72
58
|
setHttpHeaders(fileAttributes, options) {
|
73
|
-
|
74
|
-
fileAttributes,
|
75
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
76
|
-
};
|
77
|
-
return this.client.sendOperationRequest(operationArguments, setHttpHeadersOperationSpec);
|
59
|
+
return this.client.sendOperationRequest({ fileAttributes, options }, setHttpHeadersOperationSpec);
|
78
60
|
}
|
79
61
|
/**
|
80
62
|
* Updates user-defined metadata for the specified file.
|
81
63
|
* @param options The options parameters.
|
82
64
|
*/
|
83
65
|
setMetadata(options) {
|
84
|
-
|
85
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
86
|
-
};
|
87
|
-
return this.client.sendOperationRequest(operationArguments, setMetadataOperationSpec);
|
66
|
+
return this.client.sendOperationRequest({ options }, setMetadataOperationSpec);
|
88
67
|
}
|
89
68
|
/**
|
90
69
|
* [Update] The Lease File operation establishes and manages a lock on a file for write and delete
|
@@ -92,10 +71,7 @@ export class File {
|
|
92
71
|
* @param options The options parameters.
|
93
72
|
*/
|
94
73
|
acquireLease(options) {
|
95
|
-
|
96
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
97
|
-
};
|
98
|
-
return this.client.sendOperationRequest(operationArguments, acquireLeaseOperationSpec);
|
74
|
+
return this.client.sendOperationRequest({ options }, acquireLeaseOperationSpec);
|
99
75
|
}
|
100
76
|
/**
|
101
77
|
* [Update] The Lease File operation establishes and manages a lock on a file for write and delete
|
@@ -104,11 +80,7 @@ export class File {
|
|
104
80
|
* @param options The options parameters.
|
105
81
|
*/
|
106
82
|
releaseLease(leaseId, options) {
|
107
|
-
|
108
|
-
leaseId,
|
109
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
110
|
-
};
|
111
|
-
return this.client.sendOperationRequest(operationArguments, releaseLeaseOperationSpec);
|
83
|
+
return this.client.sendOperationRequest({ leaseId, options }, releaseLeaseOperationSpec);
|
112
84
|
}
|
113
85
|
/**
|
114
86
|
* [Update] The Lease File operation establishes and manages a lock on a file for write and delete
|
@@ -117,11 +89,7 @@ export class File {
|
|
117
89
|
* @param options The options parameters.
|
118
90
|
*/
|
119
91
|
changeLease(leaseId, options) {
|
120
|
-
|
121
|
-
leaseId,
|
122
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
123
|
-
};
|
124
|
-
return this.client.sendOperationRequest(operationArguments, changeLeaseOperationSpec);
|
92
|
+
return this.client.sendOperationRequest({ leaseId, options }, changeLeaseOperationSpec);
|
125
93
|
}
|
126
94
|
/**
|
127
95
|
* [Update] The Lease File operation establishes and manages a lock on a file for write and delete
|
@@ -129,10 +97,7 @@ export class File {
|
|
129
97
|
* @param options The options parameters.
|
130
98
|
*/
|
131
99
|
breakLease(options) {
|
132
|
-
|
133
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
134
|
-
};
|
135
|
-
return this.client.sendOperationRequest(operationArguments, breakLeaseOperationSpec);
|
100
|
+
return this.client.sendOperationRequest({ options }, breakLeaseOperationSpec);
|
136
101
|
}
|
137
102
|
/**
|
138
103
|
* Upload a range of bytes to a file.
|
@@ -151,13 +116,7 @@ export class File {
|
|
151
116
|
* @param options The options parameters.
|
152
117
|
*/
|
153
118
|
uploadRange(range, fileRangeWrite, contentLength, options) {
|
154
|
-
|
155
|
-
range,
|
156
|
-
fileRangeWrite,
|
157
|
-
contentLength,
|
158
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
159
|
-
};
|
160
|
-
return this.client.sendOperationRequest(operationArguments, uploadRangeOperationSpec);
|
119
|
+
return this.client.sendOperationRequest({ range, fileRangeWrite, contentLength, options }, uploadRangeOperationSpec);
|
161
120
|
}
|
162
121
|
/**
|
163
122
|
* Upload a range of bytes to a file where the contents are read from a URL.
|
@@ -173,23 +132,14 @@ export class File {
|
|
173
132
|
* @param options The options parameters.
|
174
133
|
*/
|
175
134
|
uploadRangeFromURL(range, copySource, contentLength, options) {
|
176
|
-
|
177
|
-
range,
|
178
|
-
copySource,
|
179
|
-
contentLength,
|
180
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
181
|
-
};
|
182
|
-
return this.client.sendOperationRequest(operationArguments, uploadRangeFromURLOperationSpec);
|
135
|
+
return this.client.sendOperationRequest({ range, copySource, contentLength, options }, uploadRangeFromURLOperationSpec);
|
183
136
|
}
|
184
137
|
/**
|
185
138
|
* Returns the list of valid ranges for a file.
|
186
139
|
* @param options The options parameters.
|
187
140
|
*/
|
188
141
|
getRangeList(options) {
|
189
|
-
|
190
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
191
|
-
};
|
192
|
-
return this.client.sendOperationRequest(operationArguments, getRangeListOperationSpec);
|
142
|
+
return this.client.sendOperationRequest({ options }, getRangeListOperationSpec);
|
193
143
|
}
|
194
144
|
/**
|
195
145
|
* Copies a blob or file to a destination file within the storage account.
|
@@ -202,11 +152,7 @@ export class File {
|
|
202
152
|
* @param options The options parameters.
|
203
153
|
*/
|
204
154
|
startCopy(copySource, options) {
|
205
|
-
|
206
|
-
copySource,
|
207
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
208
|
-
};
|
209
|
-
return this.client.sendOperationRequest(operationArguments, startCopyOperationSpec);
|
155
|
+
return this.client.sendOperationRequest({ copySource, options }, startCopyOperationSpec);
|
210
156
|
}
|
211
157
|
/**
|
212
158
|
* Aborts a pending Copy File operation, and leaves a destination file with zero length and full
|
@@ -216,21 +162,14 @@ export class File {
|
|
216
162
|
* @param options The options parameters.
|
217
163
|
*/
|
218
164
|
abortCopy(copyId, options) {
|
219
|
-
|
220
|
-
copyId,
|
221
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
222
|
-
};
|
223
|
-
return this.client.sendOperationRequest(operationArguments, abortCopyOperationSpec);
|
165
|
+
return this.client.sendOperationRequest({ copyId, options }, abortCopyOperationSpec);
|
224
166
|
}
|
225
167
|
/**
|
226
168
|
* Lists handles for file
|
227
169
|
* @param options The options parameters.
|
228
170
|
*/
|
229
171
|
listHandles(options) {
|
230
|
-
|
231
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
232
|
-
};
|
233
|
-
return this.client.sendOperationRequest(operationArguments, listHandlesOperationSpec);
|
172
|
+
return this.client.sendOperationRequest({ options }, listHandlesOperationSpec);
|
234
173
|
}
|
235
174
|
/**
|
236
175
|
* Closes all handles open for given file
|
@@ -239,11 +178,7 @@ export class File {
|
|
239
178
|
* @param options The options parameters.
|
240
179
|
*/
|
241
180
|
forceCloseHandles(handleId, options) {
|
242
|
-
|
243
|
-
handleId,
|
244
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
245
|
-
};
|
246
|
-
return this.client.sendOperationRequest(operationArguments, forceCloseHandlesOperationSpec);
|
181
|
+
return this.client.sendOperationRequest({ handleId, options }, forceCloseHandlesOperationSpec);
|
247
182
|
}
|
248
183
|
/**
|
249
184
|
* Renames a file
|
@@ -251,15 +186,11 @@ export class File {
|
|
251
186
|
* @param options The options parameters.
|
252
187
|
*/
|
253
188
|
rename(renameSource, options) {
|
254
|
-
|
255
|
-
renameSource,
|
256
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
257
|
-
};
|
258
|
-
return this.client.sendOperationRequest(operationArguments, renameOperationSpec);
|
189
|
+
return this.client.sendOperationRequest({ renameSource, options }, renameOperationSpec);
|
259
190
|
}
|
260
191
|
}
|
261
192
|
// Operation Specifications
|
262
|
-
const xmlSerializer =
|
193
|
+
const xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);
|
263
194
|
const createOperationSpec = {
|
264
195
|
path: "/{shareName}/{directory}/{fileName}",
|
265
196
|
httpMethod: "PUT",
|
@@ -279,8 +210,6 @@ const createOperationSpec = {
|
|
279
210
|
Parameters.accept1,
|
280
211
|
Parameters.metadata,
|
281
212
|
Parameters.leaseId,
|
282
|
-
Parameters.fileRequestIntent,
|
283
|
-
Parameters.allowTrailingDot,
|
284
213
|
Parameters.filePermission,
|
285
214
|
Parameters.filePermissionKey1,
|
286
215
|
Parameters.fileAttributes,
|
@@ -328,8 +257,6 @@ const downloadOperationSpec = {
|
|
328
257
|
Parameters.version,
|
329
258
|
Parameters.accept1,
|
330
259
|
Parameters.leaseId,
|
331
|
-
Parameters.fileRequestIntent,
|
332
|
-
Parameters.allowTrailingDot,
|
333
260
|
Parameters.range,
|
334
261
|
Parameters.rangeGetContentMD5
|
335
262
|
],
|
@@ -353,9 +280,7 @@ const getPropertiesOperationSpec = {
|
|
353
280
|
headerParameters: [
|
354
281
|
Parameters.version,
|
355
282
|
Parameters.accept1,
|
356
|
-
Parameters.leaseId
|
357
|
-
Parameters.fileRequestIntent,
|
358
|
-
Parameters.allowTrailingDot
|
283
|
+
Parameters.leaseId
|
359
284
|
],
|
360
285
|
isXML: true,
|
361
286
|
serializer: xmlSerializer
|
@@ -377,9 +302,7 @@ const deleteOperationSpec = {
|
|
377
302
|
headerParameters: [
|
378
303
|
Parameters.version,
|
379
304
|
Parameters.accept1,
|
380
|
-
Parameters.leaseId
|
381
|
-
Parameters.fileRequestIntent,
|
382
|
-
Parameters.allowTrailingDot
|
305
|
+
Parameters.leaseId
|
383
306
|
],
|
384
307
|
isXML: true,
|
385
308
|
serializer: xmlSerializer
|
@@ -402,8 +325,6 @@ const setHttpHeadersOperationSpec = {
|
|
402
325
|
Parameters.version,
|
403
326
|
Parameters.accept1,
|
404
327
|
Parameters.leaseId,
|
405
|
-
Parameters.fileRequestIntent,
|
406
|
-
Parameters.allowTrailingDot,
|
407
328
|
Parameters.filePermission,
|
408
329
|
Parameters.filePermissionKey1,
|
409
330
|
Parameters.fileAttributes,
|
@@ -439,9 +360,7 @@ const setMetadataOperationSpec = {
|
|
439
360
|
Parameters.version,
|
440
361
|
Parameters.accept1,
|
441
362
|
Parameters.metadata,
|
442
|
-
Parameters.leaseId
|
443
|
-
Parameters.fileRequestIntent,
|
444
|
-
Parameters.allowTrailingDot
|
363
|
+
Parameters.leaseId
|
445
364
|
],
|
446
365
|
isXML: true,
|
447
366
|
serializer: xmlSerializer
|
@@ -466,9 +385,7 @@ const acquireLeaseOperationSpec = {
|
|
466
385
|
Parameters.action,
|
467
386
|
Parameters.duration,
|
468
387
|
Parameters.proposedLeaseId,
|
469
|
-
Parameters.requestId
|
470
|
-
Parameters.fileRequestIntent,
|
471
|
-
Parameters.allowTrailingDot
|
388
|
+
Parameters.requestId
|
472
389
|
],
|
473
390
|
isXML: true,
|
474
391
|
serializer: xmlSerializer
|
@@ -492,9 +409,7 @@ const releaseLeaseOperationSpec = {
|
|
492
409
|
Parameters.accept1,
|
493
410
|
Parameters.requestId,
|
494
411
|
Parameters.action1,
|
495
|
-
Parameters.leaseId1
|
496
|
-
Parameters.fileRequestIntent,
|
497
|
-
Parameters.allowTrailingDot
|
412
|
+
Parameters.leaseId1
|
498
413
|
],
|
499
414
|
isXML: true,
|
500
415
|
serializer: xmlSerializer
|
@@ -519,9 +434,7 @@ const changeLeaseOperationSpec = {
|
|
519
434
|
Parameters.proposedLeaseId,
|
520
435
|
Parameters.requestId,
|
521
436
|
Parameters.leaseId1,
|
522
|
-
Parameters.action2
|
523
|
-
Parameters.fileRequestIntent,
|
524
|
-
Parameters.allowTrailingDot
|
437
|
+
Parameters.action2
|
525
438
|
],
|
526
439
|
isXML: true,
|
527
440
|
serializer: xmlSerializer
|
@@ -545,9 +458,7 @@ const breakLeaseOperationSpec = {
|
|
545
458
|
Parameters.accept1,
|
546
459
|
Parameters.leaseId,
|
547
460
|
Parameters.requestId,
|
548
|
-
Parameters.action4
|
549
|
-
Parameters.fileRequestIntent,
|
550
|
-
Parameters.allowTrailingDot
|
461
|
+
Parameters.action4
|
551
462
|
],
|
552
463
|
isXML: true,
|
553
464
|
serializer: xmlSerializer
|
@@ -570,9 +481,7 @@ const uploadRangeOperationSpec = {
|
|
570
481
|
headerParameters: [
|
571
482
|
Parameters.version,
|
572
483
|
Parameters.leaseId,
|
573
|
-
Parameters.
|
574
|
-
Parameters.allowTrailingDot,
|
575
|
-
Parameters.contentType1,
|
484
|
+
Parameters.contentType2,
|
576
485
|
Parameters.accept3,
|
577
486
|
Parameters.range1,
|
578
487
|
Parameters.fileRangeWrite,
|
@@ -580,8 +489,9 @@ const uploadRangeOperationSpec = {
|
|
580
489
|
Parameters.contentMD5,
|
581
490
|
Parameters.fileLastWrittenMode
|
582
491
|
],
|
583
|
-
contentType: "application/octet-stream",
|
584
492
|
isXML: true,
|
493
|
+
contentType: "application/xml; charset=utf-8",
|
494
|
+
mediaType: "binary",
|
585
495
|
serializer: xmlSerializer
|
586
496
|
};
|
587
497
|
const uploadRangeFromURLOperationSpec = {
|
@@ -602,8 +512,6 @@ const uploadRangeFromURLOperationSpec = {
|
|
602
512
|
Parameters.version,
|
603
513
|
Parameters.accept1,
|
604
514
|
Parameters.leaseId,
|
605
|
-
Parameters.allowTrailingDot,
|
606
|
-
Parameters.allowSourceTrailingDot,
|
607
515
|
Parameters.range1,
|
608
516
|
Parameters.contentLength,
|
609
517
|
Parameters.fileLastWrittenMode,
|
@@ -642,8 +550,6 @@ const getRangeListOperationSpec = {
|
|
642
550
|
Parameters.version,
|
643
551
|
Parameters.accept1,
|
644
552
|
Parameters.leaseId,
|
645
|
-
Parameters.fileRequestIntent,
|
646
|
-
Parameters.allowTrailingDot,
|
647
553
|
Parameters.range
|
648
554
|
],
|
649
555
|
isXML: true,
|
@@ -668,15 +574,12 @@ const startCopyOperationSpec = {
|
|
668
574
|
Parameters.accept1,
|
669
575
|
Parameters.metadata,
|
670
576
|
Parameters.leaseId,
|
671
|
-
Parameters.fileRequestIntent,
|
672
|
-
Parameters.allowTrailingDot,
|
673
577
|
Parameters.filePermission,
|
674
578
|
Parameters.filePermissionKey1,
|
675
579
|
Parameters.fileAttributes1,
|
676
580
|
Parameters.fileCreationTime,
|
677
581
|
Parameters.fileLastWriteTime,
|
678
582
|
Parameters.fileChangeTime,
|
679
|
-
Parameters.allowSourceTrailingDot,
|
680
583
|
Parameters.copySource,
|
681
584
|
Parameters.filePermissionCopyMode,
|
682
585
|
Parameters.ignoreReadOnly1,
|
@@ -707,8 +610,6 @@ const abortCopyOperationSpec = {
|
|
707
610
|
Parameters.version,
|
708
611
|
Parameters.accept1,
|
709
612
|
Parameters.leaseId,
|
710
|
-
Parameters.fileRequestIntent,
|
711
|
-
Parameters.allowTrailingDot,
|
712
613
|
Parameters.copyActionAbortConstant
|
713
614
|
],
|
714
615
|
isXML: true,
|
@@ -735,12 +636,7 @@ const listHandlesOperationSpec = {
|
|
735
636
|
Parameters.comp9
|
736
637
|
],
|
737
638
|
urlParameters: [Parameters.url],
|
738
|
-
headerParameters: [
|
739
|
-
Parameters.version,
|
740
|
-
Parameters.accept1,
|
741
|
-
Parameters.fileRequestIntent,
|
742
|
-
Parameters.allowTrailingDot
|
743
|
-
],
|
639
|
+
headerParameters: [Parameters.version, Parameters.accept1],
|
744
640
|
isXML: true,
|
745
641
|
serializer: xmlSerializer
|
746
642
|
};
|
@@ -766,8 +662,6 @@ const forceCloseHandlesOperationSpec = {
|
|
766
662
|
headerParameters: [
|
767
663
|
Parameters.version,
|
768
664
|
Parameters.accept1,
|
769
|
-
Parameters.fileRequestIntent,
|
770
|
-
Parameters.allowTrailingDot,
|
771
665
|
Parameters.handleId
|
772
666
|
],
|
773
667
|
isXML: true,
|
@@ -791,8 +685,6 @@ const renameOperationSpec = {
|
|
791
685
|
Parameters.version,
|
792
686
|
Parameters.accept1,
|
793
687
|
Parameters.metadata,
|
794
|
-
Parameters.fileRequestIntent,
|
795
|
-
Parameters.allowTrailingDot,
|
796
688
|
Parameters.filePermission,
|
797
689
|
Parameters.filePermissionKey1,
|
798
690
|
Parameters.renameSource,
|
@@ -804,7 +696,6 @@ const renameOperationSpec = {
|
|
804
696
|
Parameters.fileCreationTime,
|
805
697
|
Parameters.fileLastWriteTime,
|
806
698
|
Parameters.fileChangeTime,
|
807
|
-
Parameters.allowSourceTrailingDot,
|
808
699
|
Parameters.fileContentType
|
809
700
|
],
|
810
701
|
isXML: true,
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/file.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;AA0CnD,wCAAwC;AACxC,MAAM,OAAO,QAAQ;IAGnB;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,iBAAyB,EACzB,cAAsB,EACtB,OAAkC;QAElC,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;SAClD;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,gBAAgB,EAAE,UAAU,CAAC,MAAM,CAAC;IACjE,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE;QAChB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,eAAe;KAC3B;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 { File } 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 FileCreateOptionalParams,\n FileCreateResponse,\n FileDownloadOptionalParams,\n FileDownloadResponse,\n FileGetPropertiesOptionalParams,\n FileGetPropertiesResponse,\n FileDeleteOptionalParams,\n FileDeleteResponse,\n FileSetHttpHeadersOptionalParams,\n FileSetHttpHeadersResponse,\n FileSetMetadataOptionalParams,\n FileSetMetadataResponse,\n FileAcquireLeaseOptionalParams,\n FileAcquireLeaseResponse,\n FileReleaseLeaseOptionalParams,\n FileReleaseLeaseResponse,\n FileChangeLeaseOptionalParams,\n FileChangeLeaseResponse,\n FileBreakLeaseOptionalParams,\n FileBreakLeaseResponse,\n FileRangeWriteType,\n FileUploadRangeOptionalParams,\n FileUploadRangeResponse,\n FileUploadRangeFromURLOptionalParams,\n FileUploadRangeFromURLResponse,\n FileGetRangeListOptionalParams,\n FileGetRangeListResponse,\n FileStartCopyOptionalParams,\n FileStartCopyResponse,\n FileAbortCopyOptionalParams,\n FileAbortCopyResponse,\n FileListHandlesOptionalParams,\n FileListHandlesResponse,\n FileForceCloseHandlesOptionalParams,\n FileForceCloseHandlesResponse,\n FileRenameOptionalParams,\n FileRenameResponse\n} from \"../models\";\n\n/** Class containing File operations. */\nexport class FileImpl implements File {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class File 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 file or replaces a file. Note it only initializes the file with no content.\n * @param fileContentLength Specifies the maximum size for the file, up to 4 TB.\n * @param fileAttributes If specified, the provided file attributes shall be set. Default value:\n * ‘Archive’ for file and ‘Directory’ for directory. ‘None’ can also be specified as default.\n * @param options The options parameters.\n */\n create(\n fileContentLength: number,\n fileAttributes: string,\n options?: FileCreateOptionalParams\n ): Promise<FileCreateResponse> {\n return this.client.sendOperationRequest(\n { fileContentLength, fileAttributes, options },\n createOperationSpec\n );\n }\n\n /**\n * Reads or downloads a file from the system, including its metadata and properties.\n * @param options The options parameters.\n */\n download(\n options?: FileDownloadOptionalParams\n ): Promise<FileDownloadResponse> {\n return this.client.sendOperationRequest({ options }, downloadOperationSpec);\n }\n\n /**\n * Returns all user-defined metadata, standard HTTP properties, and system properties for the file. It\n * does not return the content of the file.\n * @param options The options parameters.\n */\n getProperties(\n options?: FileGetPropertiesOptionalParams\n ): Promise<FileGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec\n );\n }\n\n /**\n * removes the file from the storage account.\n * @param options The options parameters.\n */\n delete(options?: FileDeleteOptionalParams): Promise<FileDeleteResponse> {\n return this.client.sendOperationRequest({ options }, deleteOperationSpec);\n }\n\n /**\n * Sets HTTP headers on the file.\n * @param fileAttributes If specified, the provided file attributes shall be set. Default value:\n * ‘Archive’ for file and ‘Directory’ for directory. ‘None’ can also be specified as default.\n * @param options The options parameters.\n */\n setHttpHeaders(\n fileAttributes: string,\n options?: FileSetHttpHeadersOptionalParams\n ): Promise<FileSetHttpHeadersResponse> {\n return this.client.sendOperationRequest(\n { fileAttributes, options },\n setHttpHeadersOperationSpec\n );\n }\n\n /**\n * Updates user-defined metadata for the specified file.\n * @param options The options parameters.\n */\n setMetadata(\n options?: FileSetMetadataOptionalParams\n ): Promise<FileSetMetadataResponse> {\n return this.client.sendOperationRequest(\n { options },\n setMetadataOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param options The options parameters.\n */\n acquireLease(\n options?: FileAcquireLeaseOptionalParams\n ): Promise<FileAcquireLeaseResponse> {\n return this.client.sendOperationRequest(\n { options },\n acquireLeaseOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * 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?: FileReleaseLeaseOptionalParams\n ): Promise<FileReleaseLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n releaseLeaseOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * 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?: FileChangeLeaseOptionalParams\n ): Promise<FileChangeLeaseResponse> {\n return this.client.sendOperationRequest(\n { leaseId, options },\n changeLeaseOperationSpec\n );\n }\n\n /**\n * [Update] The Lease File operation establishes and manages a lock on a file for write and delete\n * operations\n * @param options The options parameters.\n */\n breakLease(\n options?: FileBreakLeaseOptionalParams\n ): Promise<FileBreakLeaseResponse> {\n return this.client.sendOperationRequest(\n { options },\n breakLeaseOperationSpec\n );\n }\n\n /**\n * Upload a range of bytes to a file.\n * @param range Specifies the range of bytes to be written. Both the start and end of the range must be\n * specified. For an update operation, the range can be up to 4 MB in size. For a clear operation, the\n * range can be up to the value of the file's full size. The File service accepts only a single byte\n * range for the Range and 'x-ms-range' headers, and the byte range must be specified in the following\n * format: bytes=startByte-endByte.\n * @param fileRangeWrite Specify one of the following options: - Update: Writes the bytes specified by\n * the request body into the specified range. The Range and Content-Length headers must match to\n * perform the update. - Clear: Clears the specified range and releases the space used in storage for\n * that range. To clear a range, set the Content-Length header to zero, and set the Range header to a\n * value that indicates the range to clear, up to maximum file size.\n * @param contentLength Specifies the number of bytes being transmitted in the request body. When the\n * x-ms-write header is set to clear, the value of this header must be set to zero.\n * @param options The options parameters.\n */\n uploadRange(\n range: string,\n fileRangeWrite: FileRangeWriteType,\n contentLength: number,\n options?: FileUploadRangeOptionalParams\n ): Promise<FileUploadRangeResponse> {\n return this.client.sendOperationRequest(\n { range, fileRangeWrite, contentLength, options },\n uploadRangeOperationSpec\n );\n }\n\n /**\n * Upload a range of bytes to a file where the contents are read from a URL.\n * @param range Writes data to the specified byte range in the file.\n * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file\n * to another file within the same storage account, you may use Shared Key to authenticate the source\n * file. If you are copying a file from another storage account, or if you are copying a blob from the\n * same storage account or another storage account, then you must authenticate the source file or blob\n * using a shared access signature. If the source is a public blob, no authentication is required to\n * perform the copy operation. A file in a share snapshot can also be specified as a copy source.\n * @param contentLength Specifies the number of bytes being transmitted in the request body. When the\n * x-ms-write header is set to clear, the value of this header must be set to zero.\n * @param options The options parameters.\n */\n uploadRangeFromURL(\n range: string,\n copySource: string,\n contentLength: number,\n options?: FileUploadRangeFromURLOptionalParams\n ): Promise<FileUploadRangeFromURLResponse> {\n return this.client.sendOperationRequest(\n { range, copySource, contentLength, options },\n uploadRangeFromURLOperationSpec\n );\n }\n\n /**\n * Returns the list of valid ranges for a file.\n * @param options The options parameters.\n */\n getRangeList(\n options?: FileGetRangeListOptionalParams\n ): Promise<FileGetRangeListResponse> {\n return this.client.sendOperationRequest(\n { options },\n getRangeListOperationSpec\n );\n }\n\n /**\n * Copies a blob or file to a destination file within the storage account.\n * @param copySource Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file\n * to another file within the same storage account, you may use Shared Key to authenticate the source\n * file. If you are copying a file from another storage account, or if you are copying a blob from the\n * same storage account or another storage account, then you must authenticate the source file or blob\n * using a shared access signature. If the source is a public blob, no authentication is required to\n * perform the copy operation. A file in a share snapshot can also be specified as a copy source.\n * @param options The options parameters.\n */\n startCopy(\n copySource: string,\n options?: FileStartCopyOptionalParams\n ): Promise<FileStartCopyResponse> {\n return this.client.sendOperationRequest(\n { copySource, options },\n startCopyOperationSpec\n );\n }\n\n /**\n * Aborts a pending Copy File operation, and leaves a destination file with zero length and full\n * metadata.\n * @param copyId The copy identifier provided in the x-ms-copy-id header of the original Copy File\n * operation.\n * @param options The options parameters.\n */\n abortCopy(\n copyId: string,\n options?: FileAbortCopyOptionalParams\n ): Promise<FileAbortCopyResponse> {\n return this.client.sendOperationRequest(\n { copyId, options },\n abortCopyOperationSpec\n );\n }\n\n /**\n * Lists handles for file\n * @param options The options parameters.\n */\n listHandles(\n options?: FileListHandlesOptionalParams\n ): Promise<FileListHandlesResponse> {\n return this.client.sendOperationRequest(\n { options },\n listHandlesOperationSpec\n );\n }\n\n /**\n * Closes all handles open for given file\n * @param handleId Specifies handle ID opened on the file or directory to be closed. Asterisk (‘*’) is\n * a wildcard that specifies all handles.\n * @param options The options parameters.\n */\n forceCloseHandles(\n handleId: string,\n options?: FileForceCloseHandlesOptionalParams\n ): Promise<FileForceCloseHandlesResponse> {\n return this.client.sendOperationRequest(\n { handleId, options },\n forceCloseHandlesOperationSpec\n );\n }\n\n /**\n * Renames a file\n * @param renameSource Required. Specifies the URI-style path of the source file, up to 2 KB in length.\n * @param options The options parameters.\n */\n rename(\n renameSource: string,\n options?: FileRenameOptionalParams\n ): Promise<FileRenameResponse> {\n return this.client.sendOperationRequest(\n { renameSource, options },\n renameOperationSpec\n );\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileCreateExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.fileAttributes,\n Parameters.fileCreatedOn,\n Parameters.fileLastWriteOn,\n Parameters.fileChangeOn,\n Parameters.fileContentLength,\n Parameters.fileTypeConstant,\n Parameters.fileContentType,\n Parameters.fileContentEncoding,\n Parameters.fileContentLanguage,\n Parameters.fileCacheControl,\n Parameters.fileContentMD5,\n Parameters.fileContentDisposition\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst downloadOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.FileDownloadHeaders\n },\n 206: {\n bodyMapper: {\n type: { name: \"Stream\" },\n serializedName: \"parsedResponse\"\n },\n headersMapper: Mappers.FileDownloadHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileDownloadExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.range,\n Parameters.rangeGetContentMD5\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.FileGetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileGetPropertiesExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.shareSnapshot],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"DELETE\",\n responses: {\n 202: {\n headersMapper: Mappers.FileDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileDeleteExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setHttpHeadersOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileSetHttpHeadersHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileSetHttpHeadersExceptionHeaders\n }\n },\n queryParameters: [Parameters.comp, Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.fileAttributes,\n Parameters.fileCreatedOn,\n Parameters.fileLastWriteOn,\n Parameters.fileChangeOn,\n Parameters.fileContentType,\n Parameters.fileContentEncoding,\n Parameters.fileContentLanguage,\n Parameters.fileCacheControl,\n Parameters.fileContentMD5,\n Parameters.fileContentDisposition,\n Parameters.fileContentLength1\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst setMetadataOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileSetMetadataHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileSetMetadataExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp5],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst acquireLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileAcquireLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileAcquireLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\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}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileReleaseLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileReleaseLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\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}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileChangeLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileChangeLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.proposedLeaseId,\n Parameters.requestId,\n Parameters.leaseId1,\n Parameters.action2\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst breakLeaseOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.FileBreakLeaseHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileBreakLeaseExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp2],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.requestId,\n Parameters.action4\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst uploadRangeOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileUploadRangeHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileUploadRangeExceptionHeaders\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.leaseId,\n Parameters.contentType2,\n Parameters.accept3,\n Parameters.range1,\n Parameters.fileRangeWrite,\n Parameters.contentLength,\n Parameters.contentMD5,\n Parameters.fileLastWrittenMode\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"binary\",\n serializer: xmlSerializer\n};\nconst uploadRangeFromURLOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n headersMapper: Mappers.FileUploadRangeFromURLHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileUploadRangeFromURLExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp12],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.range1,\n Parameters.contentLength,\n Parameters.fileLastWrittenMode,\n Parameters.copySource,\n Parameters.sourceRange,\n Parameters.fileRangeWriteFromUrl,\n Parameters.sourceContentCrc64,\n Parameters.sourceIfMatchCrc64,\n Parameters.sourceIfNoneMatchCrc64,\n Parameters.copySourceAuthorization\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst getRangeListOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShareFileRangeList,\n headersMapper: Mappers.FileGetRangeListHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileGetRangeListExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.shareSnapshot,\n Parameters.comp13,\n Parameters.prevsharesnapshot\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.range\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst startCopyOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.FileStartCopyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileStartCopyExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.leaseId,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.fileAttributes1,\n Parameters.fileCreationTime,\n Parameters.fileLastWriteTime,\n Parameters.fileChangeTime,\n Parameters.copySource,\n Parameters.filePermissionCopyMode,\n Parameters.ignoreReadOnly1,\n Parameters.setArchiveAttribute\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst abortCopyOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 204: {\n headersMapper: Mappers.FileAbortCopyHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileAbortCopyExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp14,\n Parameters.copyId\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.leaseId,\n Parameters.copyActionAbortConstant\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst listHandlesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListHandlesResponse,\n headersMapper: Mappers.FileListHandlesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileListHandlesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker,\n Parameters.maxResults,\n Parameters.shareSnapshot,\n Parameters.comp9\n ],\n urlParameters: [Parameters.url],\n headerParameters: [Parameters.version, Parameters.accept1],\n isXML: true,\n serializer: xmlSerializer\n};\nconst forceCloseHandlesOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileForceCloseHandlesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileForceCloseHandlesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.marker,\n Parameters.shareSnapshot,\n Parameters.comp10\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.handleId\n ],\n isXML: true,\n serializer: xmlSerializer\n};\nconst renameOperationSpec: coreClient.OperationSpec = {\n path: \"/{shareName}/{directory}/{fileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n headersMapper: Mappers.FileRenameHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.FileRenameExceptionHeaders\n }\n },\n queryParameters: [Parameters.timeoutInSeconds, Parameters.comp11],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.accept1,\n Parameters.metadata,\n Parameters.filePermission,\n Parameters.filePermissionKey1,\n Parameters.renameSource,\n Parameters.replaceIfExists,\n Parameters.ignoreReadOnly,\n Parameters.sourceLeaseId,\n Parameters.destinationLeaseId,\n Parameters.fileAttributes1,\n Parameters.fileCreationTime,\n Parameters.fileLastWriteTime,\n Parameters.fileChangeTime,\n Parameters.fileContentType\n ],\n isXML: true,\n serializer: xmlSerializer\n};\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,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 \"./share\";\nexport * from \"./directory\";\nexport * from \"./file\";\n"]}
|
@@ -5,11 +5,11 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
-
import * as
|
8
|
+
import * as coreClient from "@azure/core-client";
|
9
9
|
import * as Mappers from "../models/mappers";
|
10
10
|
import * as Parameters from "../models/parameters";
|
11
|
-
/** Class
|
12
|
-
export class
|
11
|
+
/** Class containing Service operations. */
|
12
|
+
export class ServiceImpl {
|
13
13
|
/**
|
14
14
|
* Initialize a new instance of the class Service class.
|
15
15
|
* @param client Reference to the service client
|
@@ -24,11 +24,7 @@ export class Service {
|
|
24
24
|
* @param options The options parameters.
|
25
25
|
*/
|
26
26
|
setProperties(properties, options) {
|
27
|
-
|
28
|
-
properties,
|
29
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
30
|
-
};
|
31
|
-
return this.client.sendOperationRequest(operationArguments, setPropertiesOperationSpec);
|
27
|
+
return this.client.sendOperationRequest({ properties, options }, setPropertiesOperationSpec);
|
32
28
|
}
|
33
29
|
/**
|
34
30
|
* Gets the properties of a storage account's File service, including properties for Storage Analytics
|
@@ -36,10 +32,7 @@ export class Service {
|
|
36
32
|
* @param options The options parameters.
|
37
33
|
*/
|
38
34
|
getProperties(options) {
|
39
|
-
|
40
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
41
|
-
};
|
42
|
-
return this.client.sendOperationRequest(operationArguments, getPropertiesOperationSpec);
|
35
|
+
return this.client.sendOperationRequest({ options }, getPropertiesOperationSpec);
|
43
36
|
}
|
44
37
|
/**
|
45
38
|
* The List Shares Segment operation returns a list of the shares and share snapshots under the
|
@@ -47,14 +40,11 @@ export class Service {
|
|
47
40
|
* @param options The options parameters.
|
48
41
|
*/
|
49
42
|
listSharesSegment(options) {
|
50
|
-
|
51
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
52
|
-
};
|
53
|
-
return this.client.sendOperationRequest(operationArguments, listSharesSegmentOperationSpec);
|
43
|
+
return this.client.sendOperationRequest({ options }, listSharesSegmentOperationSpec);
|
54
44
|
}
|
55
45
|
}
|
56
46
|
// Operation Specifications
|
57
|
-
const xmlSerializer =
|
47
|
+
const xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);
|
58
48
|
const setPropertiesOperationSpec = {
|
59
49
|
path: "/",
|
60
50
|
httpMethod: "PUT",
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/generated/src/operations/service.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;AAYnD,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,aAAa,CACX,UAAiC,EACjC,OAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,UAAU,EAAE,OAAO,EAAE,EACvB,0BAA0B,CAC3B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,OAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,0BAA0B,CAC3B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,iBAAiB,CACf,OAAgD;QAEhD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,8BAA8B,CAC/B,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,aAAa,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;AAE7E,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EAAE,GAAG;IACT,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,G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H,UAAU,EAAE,OAAO,CAAC,kBAAkB;YACtC,aAAa,EAAE,OAAO,CAAC,+BAA+B;SACvD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,YAAY;YAChC,aAAa,EAAE,OAAO,CAAC,wCAAwC;SAChE;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,OAAO;KACnB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,gBAAgB,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;IAC1D,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 { Service } 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 FileServiceProperties,\n ServiceSetPropertiesOptionalParams,\n ServiceSetPropertiesResponse,\n ServiceGetPropertiesOptionalParams,\n ServiceGetPropertiesResponse,\n ServiceListSharesSegmentOptionalParams,\n ServiceListSharesSegmentResponse\n} from \"../models\";\n\n/** Class containing Service operations. */\nexport class ServiceImpl implements Service {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class Service class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Sets properties for a storage account's File service endpoint, including properties for Storage\n * Analytics metrics and CORS (Cross-Origin Resource Sharing) rules.\n * @param properties The StorageService properties.\n * @param options The options parameters.\n */\n setProperties(\n properties: FileServiceProperties,\n options?: ServiceSetPropertiesOptionalParams\n ): Promise<ServiceSetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { properties, options },\n setPropertiesOperationSpec\n );\n }\n\n /**\n * Gets the properties of a storage account's File service, including properties for Storage Analytics\n * metrics and CORS (Cross-Origin Resource Sharing) rules.\n * @param options The options parameters.\n */\n getProperties(\n options?: ServiceGetPropertiesOptionalParams\n ): Promise<ServiceGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec\n );\n }\n\n /**\n * The List Shares Segment operation returns a list of the shares and share snapshots under the\n * specified account.\n * @param options The options parameters.\n */\n listSharesSegment(\n options?: ServiceListSharesSegmentOptionalParams\n ): Promise<ServiceListSharesSegmentResponse> {\n return this.client.sendOperationRequest(\n { options },\n listSharesSegmentOperationSpec\n );\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst setPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.ServiceSetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceSetPropertiesExceptionHeaders\n }\n },\n requestBody: Parameters.properties,\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceProperties,\n headersMapper: Mappers.ServiceGetPropertiesHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetPropertiesExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds\n ],\n urlParameters: [Parameters.url],\n headerParameters: [Parameters.version, Parameters.accept1],\n isXML: true,\n serializer: xmlSerializer\n};\nconst listSharesSegmentOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListSharesResponse,\n headersMapper: Mappers.ServiceListSharesSegmentHeaders\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceListSharesSegmentExceptionHeaders\n }\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp1,\n Parameters.prefix,\n Parameters.marker,\n Parameters.maxResults,\n Parameters.include\n ],\n urlParameters: [Parameters.url],\n headerParameters: [Parameters.version, Parameters.accept1],\n isXML: true,\n serializer: xmlSerializer\n};\n"]}
|