@azure/storage-file-share 12.26.0 → 12.27.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +3 -3
- package/README.md +16 -18
- package/dist/index.js +1430 -431
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/BatchResponseParser.js +1 -1
- package/dist-esm/storage-blob/src/BatchResponseParser.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobBatch.js +1 -1
- package/dist-esm/storage-blob/src/BlobBatch.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobBatchClient.js +2 -2
- package/dist-esm/storage-blob/src/BlobBatchClient.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobLeaseClient.js +10 -10
- package/dist-esm/storage-blob/src/BlobLeaseClient.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobServiceClient.js +11 -11
- package/dist-esm/storage-blob/src/BlobServiceClient.js.map +1 -1
- package/dist-esm/storage-blob/src/Clients.js +43 -43
- package/dist-esm/storage-blob/src/Clients.js.map +1 -1
- package/dist-esm/storage-blob/src/ContainerClient.js +18 -18
- package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -1
- package/dist-esm/storage-blob/src/Range.js.map +1 -1
- package/dist-esm/storage-blob/src/StorageRetryPolicyFactory.js.map +1 -1
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js +1 -1
- package/dist-esm/storage-blob/src/credentials/UserDelegationKeyCredential.js.map +1 -1
- package/dist-esm/storage-blob/src/models.js +2 -2
- package/dist-esm/storage-blob/src/models.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js +2 -2
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js +2 -2
- package/dist-esm/storage-blob/src/policies/StorageSharedKeyCredentialPolicyV2.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASPermissions.js +2 -2
- package/dist-esm/storage-blob/src/sas/AccountSASPermissions.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASResourceTypes.js +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASResourceTypes.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASSignatureValues.js +1 -1
- package/dist-esm/storage-blob/src/sas/AccountSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/BlobSASSignatureValues.js +1 -1
- package/dist-esm/storage-blob/src/sas/BlobSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/ContainerSASPermissions.js +1 -1
- package/dist-esm/storage-blob/src/sas/ContainerSASPermissions.js.map +1 -1
- package/dist-esm/storage-blob/src/sas/SASQueryParameters.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/utils.common.js +3 -3
- package/dist-esm/storage-blob/src/utils/utils.common.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/utils.node.js +1 -1
- package/dist-esm/storage-blob/src/utils/utils.node.js.map +1 -1
- package/dist-esm/storage-file-share/src/AccountSASPermissions.js +2 -2
- package/dist-esm/storage-file-share/src/AccountSASPermissions.js.map +1 -1
- package/dist-esm/storage-file-share/src/AccountSASResourceTypes.js +1 -1
- package/dist-esm/storage-file-share/src/AccountSASResourceTypes.js.map +1 -1
- package/dist-esm/storage-file-share/src/AccountSASSignatureValues.js +1 -1
- package/dist-esm/storage-file-share/src/AccountSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-file-share/src/Clients.js +103 -78
- package/dist-esm/storage-file-share/src/Clients.js.map +1 -1
- package/dist-esm/storage-file-share/src/FileDownloadResponse.js +24 -0
- package/dist-esm/storage-file-share/src/FileDownloadResponse.js.map +1 -1
- package/dist-esm/storage-file-share/src/FileSASSignatureValues.js.map +1 -1
- package/dist-esm/storage-file-share/src/FileSystemAttributes.js +1 -1
- package/dist-esm/storage-file-share/src/FileSystemAttributes.js.map +1 -1
- package/dist-esm/storage-file-share/src/Range.js.map +1 -1
- package/dist-esm/storage-file-share/src/SASQueryParameters.js.map +1 -1
- package/dist-esm/storage-file-share/src/ShareSASPermissions.js +1 -1
- package/dist-esm/storage-file-share/src/ShareSASPermissions.js.map +1 -1
- package/dist-esm/storage-file-share/src/ShareServiceClient.js +13 -7
- package/dist-esm/storage-file-share/src/ShareServiceClient.js.map +1 -1
- package/dist-esm/storage-file-share/src/StorageRetryPolicyFactory.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/models/index.js +10 -0
- package/dist-esm/storage-file-share/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/models/mappers.js +544 -0
- package/dist-esm/storage-file-share/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/models/parameters.js +108 -3
- package/dist-esm/storage-file-share/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/operations/directory.js +12 -10
- package/dist-esm/storage-file-share/src/generated/src/operations/directory.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/operations/file.js +125 -10
- package/dist-esm/storage-file-share/src/generated/src/operations/file.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/directory.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/operationsInterfaces/file.js.map +1 -1
- package/dist-esm/storage-file-share/src/generated/src/storageClient.js +2 -2
- package/dist-esm/storage-file-share/src/generated/src/storageClient.js.map +1 -1
- package/dist-esm/storage-file-share/src/generatedModels.js.map +1 -1
- package/dist-esm/storage-file-share/src/index.browser.js +1 -0
- package/dist-esm/storage-file-share/src/index.browser.js.map +1 -1
- package/dist-esm/storage-file-share/src/index.js +1 -0
- package/dist-esm/storage-file-share/src/index.js.map +1 -1
- package/dist-esm/storage-file-share/src/models.js +0 -21
- package/dist-esm/storage-file-share/src/models.js.map +1 -1
- package/dist-esm/storage-file-share/src/utils/constants.js +2 -2
- package/dist-esm/storage-file-share/src/utils/constants.js.map +1 -1
- package/dist-esm/storage-file-share/src/utils/utils.common.js +214 -2
- package/dist-esm/storage-file-share/src/utils/utils.common.js.map +1 -1
- package/package.json +7 -7
- package/types/latest/storage-file-share.d.ts +968 -134
@@ -160,7 +160,7 @@ export class BlobClient extends StorageClient {
|
|
160
160
|
* * In Node.js, data returns in a Readable stream readableStreamBody
|
161
161
|
* * In browsers, data returns in a promise blobBody
|
162
162
|
*
|
163
|
-
* @see https://
|
163
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob
|
164
164
|
*
|
165
165
|
* @param offset - From which position of the blob to download, greater than or equal to 0
|
166
166
|
* @param count - How much data to be downloaded, greater than 0. Will download to the end when undefined
|
@@ -324,7 +324,7 @@ export class BlobClient extends StorageClient {
|
|
324
324
|
/**
|
325
325
|
* Returns all user-defined metadata, standard HTTP properties, and system properties
|
326
326
|
* for the blob. It does not return the content of the blob.
|
327
|
-
* @see https://
|
327
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-properties
|
328
328
|
*
|
329
329
|
* WARNING: The `metadata` object returned in the response will have its keys in lowercase, even if
|
330
330
|
* they originally contained uppercase characters. This differs from the metadata keys returned by
|
@@ -353,7 +353,7 @@ export class BlobClient extends StorageClient {
|
|
353
353
|
* during garbage collection. Note that in order to delete a blob, you must delete
|
354
354
|
* all of its snapshots. You can delete both at the same time with the Delete
|
355
355
|
* Blob operation.
|
356
|
-
* @see https://
|
356
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-blob
|
357
357
|
*
|
358
358
|
* @param options - Optional options to Blob Delete operation.
|
359
359
|
*/
|
@@ -375,7 +375,7 @@ export class BlobClient extends StorageClient {
|
|
375
375
|
* during garbage collection. Note that in order to delete a blob, you must delete
|
376
376
|
* all of its snapshots. You can delete both at the same time with the Delete
|
377
377
|
* Blob operation.
|
378
|
-
* @see https://
|
378
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-blob
|
379
379
|
*
|
380
380
|
* @param options - Optional options to Blob Delete operation.
|
381
381
|
*/
|
@@ -398,7 +398,7 @@ export class BlobClient extends StorageClient {
|
|
398
398
|
* Restores the contents and metadata of soft deleted blob and any associated
|
399
399
|
* soft deleted snapshots. Undelete Blob is supported only on version 2017-07-29
|
400
400
|
* or later.
|
401
|
-
* @see https://
|
401
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/undelete-blob
|
402
402
|
*
|
403
403
|
* @param options - Optional options to Blob Undelete operation.
|
404
404
|
*/
|
@@ -415,7 +415,7 @@ export class BlobClient extends StorageClient {
|
|
415
415
|
*
|
416
416
|
* If no value provided, or no value provided for the specified blob HTTP headers,
|
417
417
|
* these blob HTTP headers without a value will be cleared.
|
418
|
-
* @see https://
|
418
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-properties
|
419
419
|
*
|
420
420
|
* @param blobHTTPHeaders - If no value provided, or no value provided for
|
421
421
|
* the specified blob HTTP headers, these blob HTTP
|
@@ -445,7 +445,7 @@ export class BlobClient extends StorageClient {
|
|
445
445
|
*
|
446
446
|
* If no option provided, or no metadata defined in the parameter, the blob
|
447
447
|
* metadata will be removed.
|
448
|
-
* @see https://
|
448
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-metadata
|
449
449
|
*
|
450
450
|
* @param metadata - Replace existing metadata with this value.
|
451
451
|
* If no value provided the existing metadata will be removed.
|
@@ -517,7 +517,7 @@ export class BlobClient extends StorageClient {
|
|
517
517
|
}
|
518
518
|
/**
|
519
519
|
* Creates a read-only snapshot of a blob.
|
520
|
-
* @see https://
|
520
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/snapshot-blob
|
521
521
|
*
|
522
522
|
* @param options - Optional options to the Blob Create Snapshot operation.
|
523
523
|
*/
|
@@ -551,7 +551,7 @@ export class BlobClient extends StorageClient {
|
|
551
551
|
* an Azure file in any Azure storage account.
|
552
552
|
* Only storage accounts created on or after June 7th, 2012 allow the Copy Blob
|
553
553
|
* operation to copy from another storage account.
|
554
|
-
* @see https://
|
554
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/copy-blob
|
555
555
|
*
|
556
556
|
* Example using automatic polling:
|
557
557
|
*
|
@@ -631,7 +631,7 @@ export class BlobClient extends StorageClient {
|
|
631
631
|
/**
|
632
632
|
* Aborts a pending asynchronous Copy Blob operation, and leaves a destination blob with zero
|
633
633
|
* length and full metadata. Version 2012-02-12 and newer.
|
634
|
-
* @see https://
|
634
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/abort-copy-blob
|
635
635
|
*
|
636
636
|
* @param copyId - Id of the Copy From URL operation.
|
637
637
|
* @param options - Optional options to the Blob Abort Copy From URL operation.
|
@@ -648,7 +648,7 @@ export class BlobClient extends StorageClient {
|
|
648
648
|
/**
|
649
649
|
* The synchronous Copy From URL operation copies a blob or an internet resource to a new blob. It will not
|
650
650
|
* return a response until the copy is complete.
|
651
|
-
* @see https://
|
651
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/copy-blob-from-url
|
652
652
|
*
|
653
653
|
* @param copySource - The source URL to copy from, Shared Access Signature(SAS) maybe needed for authentication
|
654
654
|
* @param options -
|
@@ -688,7 +688,7 @@ export class BlobClient extends StorageClient {
|
|
688
688
|
* storage only). A premium page blob's tier determines the allowed size, IOPS,
|
689
689
|
* and bandwidth of the blob. A block blob's tier determines Hot/Cool/Archive
|
690
690
|
* storage type. This operation does not update the blob's ETag.
|
691
|
-
* @see https://
|
691
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-tier
|
692
692
|
*
|
693
693
|
* @param tier - The tier to be set on the blob. Valid values are Hot, Cool, or Archive.
|
694
694
|
* @param options - Optional options to the Blob Set Tier operation.
|
@@ -873,7 +873,7 @@ export class BlobClient extends StorageClient {
|
|
873
873
|
* an Azure file in any Azure storage account.
|
874
874
|
* Only storage accounts created on or after June 7th, 2012 allow the Copy Blob
|
875
875
|
* operation to copy from another storage account.
|
876
|
-
* @see https://
|
876
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/copy-blob
|
877
877
|
*
|
878
878
|
* @param copySource - url to the source Azure Blob/File.
|
879
879
|
* @param options - Optional options to the Blob Start Copy From URL operation.
|
@@ -912,7 +912,7 @@ export class BlobClient extends StorageClient {
|
|
912
912
|
* Generates a Blob Service Shared Access Signature (SAS) URI based on the client properties
|
913
913
|
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
914
914
|
*
|
915
|
-
* @see https://
|
915
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
916
916
|
*
|
917
917
|
* @param options - Optional parameters.
|
918
918
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
@@ -932,7 +932,7 @@ export class BlobClient extends StorageClient {
|
|
932
932
|
* Generates string to sign for a Blob Service Shared Access Signature (SAS) URI based on
|
933
933
|
* the client properties and parameters passed in. The SAS is signed by the shared key credential of the client.
|
934
934
|
*
|
935
|
-
* @see https://
|
935
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
936
936
|
*
|
937
937
|
* @param options - Optional parameters.
|
938
938
|
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
@@ -949,7 +949,7 @@ export class BlobClient extends StorageClient {
|
|
949
949
|
* Generates a Blob Service Shared Access Signature (SAS) URI based on
|
950
950
|
* the client properties and parameters passed in. The SAS is signed by the input user delegation key.
|
951
951
|
*
|
952
|
-
* @see https://
|
952
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
953
953
|
*
|
954
954
|
* @param options - Optional parameters.
|
955
955
|
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
@@ -967,7 +967,7 @@ export class BlobClient extends StorageClient {
|
|
967
967
|
* Generates string to sign for a Blob Service Shared Access Signature (SAS) URI based on
|
968
968
|
* the client properties and parameters passed in. The SAS is signed by the input user delegation key.
|
969
969
|
*
|
970
|
-
* @see https://
|
970
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
971
971
|
*
|
972
972
|
* @param options - Optional parameters.
|
973
973
|
* @param userDelegationKey - Return value of `blobServiceClient.getUserDelegationKey()`
|
@@ -1019,7 +1019,7 @@ export class BlobClient extends StorageClient {
|
|
1019
1019
|
* for the specified account.
|
1020
1020
|
* The Get Account Information operation is available on service versions beginning
|
1021
1021
|
* with version 2018-03-28.
|
1022
|
-
* @see https://
|
1022
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/get-account-information
|
1023
1023
|
*
|
1024
1024
|
* @param options - Options to the Service Get Account Info operation.
|
1025
1025
|
* @returns Response data for the Service Get Account Info operation.
|
@@ -1117,7 +1117,7 @@ export class AppendBlobClient extends BlobClient {
|
|
1117
1117
|
}
|
1118
1118
|
/**
|
1119
1119
|
* Creates a 0-length append blob. Call AppendBlock to append data to an append blob.
|
1120
|
-
* @see https://
|
1120
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/put-blob
|
1121
1121
|
*
|
1122
1122
|
* @param options - Options to the Append Block Create operation.
|
1123
1123
|
*
|
@@ -1153,7 +1153,7 @@ export class AppendBlobClient extends BlobClient {
|
|
1153
1153
|
/**
|
1154
1154
|
* Creates a 0-length append blob. Call AppendBlock to append data to an append blob.
|
1155
1155
|
* If the blob with the same name already exists, the content of the existing blob will remain unchanged.
|
1156
|
-
* @see https://
|
1156
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/put-blob
|
1157
1157
|
*
|
1158
1158
|
* @param options -
|
1159
1159
|
*/
|
@@ -1193,7 +1193,7 @@ export class AppendBlobClient extends BlobClient {
|
|
1193
1193
|
}
|
1194
1194
|
/**
|
1195
1195
|
* Commits a new block of data to the end of the existing append blob.
|
1196
|
-
* @see https://
|
1196
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/append-block
|
1197
1197
|
*
|
1198
1198
|
* @param body - Data to be appended.
|
1199
1199
|
* @param contentLength - Length of the body in bytes.
|
@@ -1239,7 +1239,7 @@ export class AppendBlobClient extends BlobClient {
|
|
1239
1239
|
/**
|
1240
1240
|
* The Append Block operation commits a new block of data to the end of an existing append blob
|
1241
1241
|
* where the contents are read from a source url.
|
1242
|
-
* @see https://
|
1242
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/append-block-from-url
|
1243
1243
|
*
|
1244
1244
|
* @param sourceURL -
|
1245
1245
|
* The url to the blob that will be the source of the copy. A source blob in the same storage account can
|
@@ -1432,7 +1432,7 @@ export class BlockBlobClient extends BlobClient {
|
|
1432
1432
|
* {@link uploadStream} or {@link uploadBrowserData} for better performance
|
1433
1433
|
* with concurrency uploading.
|
1434
1434
|
*
|
1435
|
-
* @see https://
|
1435
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/put-blob
|
1436
1436
|
*
|
1437
1437
|
* @param body - Blob, string, ArrayBuffer, ArrayBufferView or a function
|
1438
1438
|
* which returns a new Readable stream whose offset is from data source beginning.
|
@@ -1508,7 +1508,7 @@ export class BlockBlobClient extends BlobClient {
|
|
1508
1508
|
/**
|
1509
1509
|
* Uploads the specified block to the block blob's "staging area" to be later
|
1510
1510
|
* committed by a call to commitBlockList.
|
1511
|
-
* @see https://
|
1511
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/put-block
|
1512
1512
|
*
|
1513
1513
|
* @param blockId - A 64-byte value that is base64-encoded
|
1514
1514
|
* @param body - Data to upload to the staging area.
|
@@ -1537,7 +1537,7 @@ export class BlockBlobClient extends BlobClient {
|
|
1537
1537
|
* The Stage Block From URL operation creates a new block to be committed as part
|
1538
1538
|
* of a blob where the contents are read from a URL.
|
1539
1539
|
* This API is available starting in version 2018-03-28.
|
1540
|
-
* @see https://
|
1540
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/put-block-from-url
|
1541
1541
|
*
|
1542
1542
|
* @param blockId - A 64-byte value that is base64-encoded
|
1543
1543
|
* @param sourceURL - Specifies the URL of the blob. The value
|
@@ -1576,7 +1576,7 @@ export class BlockBlobClient extends BlobClient {
|
|
1576
1576
|
* to the server in a prior {@link stageBlock} operation. You can call {@link commitBlockList} to
|
1577
1577
|
* update a blob by uploading only those blocks that have changed, then committing the new and existing
|
1578
1578
|
* blocks together. Any blocks not specified in the block list and permanently deleted.
|
1579
|
-
* @see https://
|
1579
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/put-block-list
|
1580
1580
|
*
|
1581
1581
|
* @param blocks - Array of 64-byte value that is base64-encoded
|
1582
1582
|
* @param options - Options to the Block Blob Commit Block List operation.
|
@@ -1607,7 +1607,7 @@ export class BlockBlobClient extends BlobClient {
|
|
1607
1607
|
/**
|
1608
1608
|
* Returns the list of blocks that have been uploaded as part of a block blob
|
1609
1609
|
* using the specified block list filter.
|
1610
|
-
* @see https://
|
1610
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-block-list
|
1611
1611
|
*
|
1612
1612
|
* @param listType - Specifies whether to return the list of committed blocks,
|
1613
1613
|
* the list of uncommitted blocks, or both lists together.
|
@@ -1941,7 +1941,7 @@ export class PageBlobClient extends BlobClient {
|
|
1941
1941
|
/**
|
1942
1942
|
* Creates a page blob of the specified length. Call uploadPages to upload data
|
1943
1943
|
* data to a page blob.
|
1944
|
-
* @see https://
|
1944
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/put-blob
|
1945
1945
|
*
|
1946
1946
|
* @param size - size of the page blob.
|
1947
1947
|
* @param options - Options to the Page Blob Create operation.
|
@@ -1974,7 +1974,7 @@ export class PageBlobClient extends BlobClient {
|
|
1974
1974
|
* Creates a page blob of the specified length. Call uploadPages to upload data
|
1975
1975
|
* data to a page blob. If the blob with the same name already exists, the content
|
1976
1976
|
* of the existing blob will remain unchanged.
|
1977
|
-
* @see https://
|
1977
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/put-blob
|
1978
1978
|
*
|
1979
1979
|
* @param size - size of the page blob.
|
1980
1980
|
* @param options -
|
@@ -1997,7 +1997,7 @@ export class PageBlobClient extends BlobClient {
|
|
1997
1997
|
}
|
1998
1998
|
/**
|
1999
1999
|
* Writes 1 or more pages to the page blob. The start and end offsets must be a multiple of 512.
|
2000
|
-
* @see https://
|
2000
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/put-page
|
2001
2001
|
*
|
2002
2002
|
* @param body - Data to upload
|
2003
2003
|
* @param offset - Offset of destination page blob
|
@@ -2030,7 +2030,7 @@ export class PageBlobClient extends BlobClient {
|
|
2030
2030
|
/**
|
2031
2031
|
* The Upload Pages operation writes a range of pages to a page blob where the
|
2032
2032
|
* contents are read from a URL.
|
2033
|
-
* @see https://
|
2033
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/put-page-from-url
|
2034
2034
|
*
|
2035
2035
|
* @param sourceURL - Specify a URL to the copy source, Shared Access Signature(SAS) maybe needed for authentication
|
2036
2036
|
* @param sourceOffset - The source offset to copy from. Pass 0 to copy from the beginning of source page blob
|
@@ -2066,7 +2066,7 @@ export class PageBlobClient extends BlobClient {
|
|
2066
2066
|
}
|
2067
2067
|
/**
|
2068
2068
|
* Frees the specified pages from the page blob.
|
2069
|
-
* @see https://
|
2069
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/put-page
|
2070
2070
|
*
|
2071
2071
|
* @param offset - Starting byte position of the pages to clear.
|
2072
2072
|
* @param count - Number of bytes to clear.
|
@@ -2091,7 +2091,7 @@ export class PageBlobClient extends BlobClient {
|
|
2091
2091
|
}
|
2092
2092
|
/**
|
2093
2093
|
* Returns the list of valid page ranges for a page blob or snapshot of a page blob.
|
2094
|
-
* @see https://
|
2094
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
|
2095
2095
|
*
|
2096
2096
|
* @param offset - Starting byte position of the page ranges.
|
2097
2097
|
* @param count - Number of bytes to get.
|
@@ -2117,7 +2117,7 @@ export class PageBlobClient extends BlobClient {
|
|
2117
2117
|
* specified Marker. Use an empty Marker to start enumeration from the beginning.
|
2118
2118
|
* After getting a segment, process it, and then call getPageRangesSegment again
|
2119
2119
|
* (passing the the previously-returned Marker) to get the next segment.
|
2120
|
-
* @see https://
|
2120
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
|
2121
2121
|
*
|
2122
2122
|
* @param offset - Starting byte position of the page ranges.
|
2123
2123
|
* @param count - Number of bytes to get.
|
@@ -2194,7 +2194,7 @@ export class PageBlobClient extends BlobClient {
|
|
2194
2194
|
}
|
2195
2195
|
/**
|
2196
2196
|
* Returns an async iterable iterator to list of page ranges for a page blob.
|
2197
|
-
* @see https://
|
2197
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
|
2198
2198
|
*
|
2199
2199
|
* .byPage() returns an async iterable iterator to list of page ranges for a page blob.
|
2200
2200
|
*
|
@@ -2290,7 +2290,7 @@ export class PageBlobClient extends BlobClient {
|
|
2290
2290
|
}
|
2291
2291
|
/**
|
2292
2292
|
* Gets the collection of page ranges that differ between a specified snapshot and this page blob.
|
2293
|
-
* @see https://
|
2293
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
|
2294
2294
|
*
|
2295
2295
|
* @param offset - Starting byte position of the page blob
|
2296
2296
|
* @param count - Number of bytes to get ranges diff.
|
@@ -2319,7 +2319,7 @@ export class PageBlobClient extends BlobClient {
|
|
2319
2319
|
* Use an empty Marker to start enumeration from the beginning.
|
2320
2320
|
* After getting a segment, process it, and then call getPageRangesDiffSegment again
|
2321
2321
|
* (passing the the previously-returned Marker) to get the next segment.
|
2322
|
-
* @see https://
|
2322
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
|
2323
2323
|
*
|
2324
2324
|
* @param offset - Starting byte position of the page ranges.
|
2325
2325
|
* @param count - Number of bytes to get.
|
@@ -2404,7 +2404,7 @@ export class PageBlobClient extends BlobClient {
|
|
2404
2404
|
}
|
2405
2405
|
/**
|
2406
2406
|
* Returns an async iterable iterator to list of page ranges that differ between a specified snapshot and this page blob.
|
2407
|
-
* @see https://
|
2407
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
|
2408
2408
|
*
|
2409
2409
|
* .byPage() returns an async iterable iterator to list of page ranges that differ between a specified snapshot and this page blob.
|
2410
2410
|
*
|
@@ -2501,7 +2501,7 @@ export class PageBlobClient extends BlobClient {
|
|
2501
2501
|
}
|
2502
2502
|
/**
|
2503
2503
|
* Gets the collection of page ranges that differ between a specified snapshot and this page blob for managed disks.
|
2504
|
-
* @see https://
|
2504
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges
|
2505
2505
|
*
|
2506
2506
|
* @param offset - Starting byte position of the page blob
|
2507
2507
|
* @param count - Number of bytes to get ranges diff.
|
@@ -2526,7 +2526,7 @@ export class PageBlobClient extends BlobClient {
|
|
2526
2526
|
}
|
2527
2527
|
/**
|
2528
2528
|
* Resizes the page blob to the specified size (which must be a multiple of 512).
|
2529
|
-
* @see https://
|
2529
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/set-blob-properties
|
2530
2530
|
*
|
2531
2531
|
* @param size - Target size
|
2532
2532
|
* @param options - Options to the Page Blob Resize operation.
|
@@ -2547,7 +2547,7 @@ export class PageBlobClient extends BlobClient {
|
|
2547
2547
|
}
|
2548
2548
|
/**
|
2549
2549
|
* Sets a page blob's sequence number.
|
2550
|
-
* @see https://
|
2550
|
+
* @see https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-properties
|
2551
2551
|
*
|
2552
2552
|
* @param sequenceNumberAction - Indicates how the service should modify the blob's sequence number.
|
2553
2553
|
* @param sequenceNumber - Required if sequenceNumberAction is max or update
|
@@ -2572,8 +2572,8 @@ export class PageBlobClient extends BlobClient {
|
|
2572
2572
|
* The snapshot is copied such that only the differential changes between the previously
|
2573
2573
|
* copied snapshot are transferred to the destination.
|
2574
2574
|
* The copied snapshots are complete copies of the original snapshot and can be read or copied from as usual.
|
2575
|
-
* @see https://
|
2576
|
-
* @see https://
|
2575
|
+
* @see https://learn.microsoft.com/rest/api/storageservices/incremental-copy-blob
|
2576
|
+
* @see https://learn.microsoft.com/en-us/azure/virtual-machines/windows/incremental-snapshots
|
2577
2577
|
*
|
2578
2578
|
* @param copySource - Specifies the name of the source page blob snapshot. For example,
|
2579
2579
|
* https://myaccount.blob.core.windows.net/mycontainer/myblob?snapshot=<DateTime>
|