azure-storage-blob 12.25.1__py3-none-any.whl → 12.27.0b1__py3-none-any.whl
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.
- azure/storage/blob/__init__.py +3 -2
- azure/storage/blob/_blob_client.py +94 -41
- azure/storage/blob/_blob_client_helpers.py +19 -4
- azure/storage/blob/_blob_service_client.py +16 -13
- azure/storage/blob/_container_client.py +25 -22
- azure/storage/blob/_deserialize.py +1 -1
- azure/storage/blob/_download.py +7 -7
- azure/storage/blob/_encryption.py +177 -184
- azure/storage/blob/_generated/_azure_blob_storage.py +3 -2
- azure/storage/blob/_generated/_configuration.py +2 -2
- azure/storage/blob/_generated/_utils/__init__.py +6 -0
- azure/storage/blob/_generated/{_serialization.py → _utils/serialization.py} +7 -25
- azure/storage/blob/_generated/aio/_azure_blob_storage.py +3 -2
- azure/storage/blob/_generated/aio/_configuration.py +2 -2
- azure/storage/blob/_generated/aio/operations/_append_blob_operations.py +11 -14
- azure/storage/blob/_generated/aio/operations/_blob_operations.py +40 -64
- azure/storage/blob/_generated/aio/operations/_block_blob_operations.py +18 -20
- azure/storage/blob/_generated/aio/operations/_container_operations.py +21 -43
- azure/storage/blob/_generated/aio/operations/_page_blob_operations.py +18 -27
- azure/storage/blob/_generated/aio/operations/_service_operations.py +11 -22
- azure/storage/blob/_generated/models/__init__.py +2 -0
- azure/storage/blob/_generated/models/_azure_blob_storage_enums.py +6 -0
- azure/storage/blob/_generated/models/_models_py3.py +30 -9
- azure/storage/blob/_generated/operations/_append_blob_operations.py +19 -20
- azure/storage/blob/_generated/operations/_blob_operations.py +68 -89
- azure/storage/blob/_generated/operations/_block_blob_operations.py +31 -27
- azure/storage/blob/_generated/operations/_container_operations.py +40 -62
- azure/storage/blob/_generated/operations/_page_blob_operations.py +31 -37
- azure/storage/blob/_generated/operations/_service_operations.py +20 -32
- azure/storage/blob/_lease.py +1 -0
- azure/storage/blob/_list_blobs_helper.py +1 -1
- azure/storage/blob/_quick_query_helper.py +20 -24
- azure/storage/blob/_serialize.py +2 -0
- azure/storage/blob/_shared/__init__.py +7 -7
- azure/storage/blob/_shared/authentication.py +49 -32
- azure/storage/blob/_shared/avro/avro_io.py +44 -42
- azure/storage/blob/_shared/avro/avro_io_async.py +42 -41
- azure/storage/blob/_shared/avro/datafile.py +24 -21
- azure/storage/blob/_shared/avro/datafile_async.py +15 -15
- azure/storage/blob/_shared/avro/schema.py +196 -217
- azure/storage/blob/_shared/base_client.py +82 -59
- azure/storage/blob/_shared/base_client_async.py +58 -51
- azure/storage/blob/_shared/constants.py +1 -1
- azure/storage/blob/_shared/models.py +94 -92
- azure/storage/blob/_shared/parser.py +3 -3
- azure/storage/blob/_shared/policies.py +186 -147
- azure/storage/blob/_shared/policies_async.py +53 -65
- azure/storage/blob/_shared/request_handlers.py +50 -45
- azure/storage/blob/_shared/response_handlers.py +54 -45
- azure/storage/blob/_shared/shared_access_signature.py +67 -71
- azure/storage/blob/_shared/uploads.py +56 -49
- azure/storage/blob/_shared/uploads_async.py +70 -58
- azure/storage/blob/_shared_access_signature.py +3 -1
- azure/storage/blob/_version.py +1 -1
- azure/storage/blob/aio/__init__.py +3 -2
- azure/storage/blob/aio/_blob_client_async.py +241 -44
- azure/storage/blob/aio/_blob_service_client_async.py +13 -11
- azure/storage/blob/aio/_container_client_async.py +28 -25
- azure/storage/blob/aio/_download_async.py +7 -7
- azure/storage/blob/aio/_lease_async.py +1 -0
- azure/storage/blob/aio/_quick_query_helper_async.py +194 -0
- {azure_storage_blob-12.25.1.dist-info → azure_storage_blob-12.27.0b1.dist-info}/METADATA +4 -5
- azure_storage_blob-12.27.0b1.dist-info/RECORD +86 -0
- azure_storage_blob-12.25.1.dist-info/RECORD +0 -84
- {azure_storage_blob-12.25.1.dist-info → azure_storage_blob-12.27.0b1.dist-info}/LICENSE +0 -0
- {azure_storage_blob-12.25.1.dist-info → azure_storage_blob-12.27.0b1.dist-info}/WHEEL +0 -0
- {azure_storage_blob-12.25.1.dist-info → azure_storage_blob-12.27.0b1.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=line-too-long,useless-suppression,too-many-lines
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -6,8 +6,8 @@
|
|
6
6
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
|
+
from collections.abc import MutableMapping
|
9
10
|
import datetime
|
10
|
-
import sys
|
11
11
|
from typing import Any, Callable, Dict, Iterator, Literal, Optional, TypeVar, Union
|
12
12
|
|
13
13
|
from azure.core import PipelineClient
|
@@ -28,12 +28,8 @@ from azure.core.utils import case_insensitive_dict
|
|
28
28
|
|
29
29
|
from .. import models as _models
|
30
30
|
from .._configuration import AzureBlobStorageConfiguration
|
31
|
-
from ..
|
31
|
+
from .._utils.serialization import Deserializer, Serializer
|
32
32
|
|
33
|
-
if sys.version_info >= (3, 9):
|
34
|
-
from collections.abc import MutableMapping
|
35
|
-
else:
|
36
|
-
from typing import MutableMapping # type: ignore
|
37
33
|
T = TypeVar("T")
|
38
34
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
39
35
|
|
@@ -66,7 +62,7 @@ def build_download_request(
|
|
66
62
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
67
63
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
68
64
|
|
69
|
-
version: Literal["2025-
|
65
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
70
66
|
accept = _headers.pop("Accept", "application/xml")
|
71
67
|
|
72
68
|
# Construct URL
|
@@ -147,7 +143,7 @@ def build_get_properties_request(
|
|
147
143
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
148
144
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
149
145
|
|
150
|
-
version: Literal["2025-
|
146
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
151
147
|
accept = _headers.pop("Accept", "application/xml")
|
152
148
|
|
153
149
|
# Construct URL
|
@@ -215,7 +211,7 @@ def build_delete_request(
|
|
215
211
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
216
212
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
217
213
|
|
218
|
-
version: Literal["2025-
|
214
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
219
215
|
accept = _headers.pop("Accept", "application/xml")
|
220
216
|
|
221
217
|
# Construct URL
|
@@ -266,7 +262,7 @@ def build_undelete_request(
|
|
266
262
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
267
263
|
|
268
264
|
comp: Literal["undelete"] = kwargs.pop("comp", _params.pop("comp", "undelete"))
|
269
|
-
version: Literal["2025-
|
265
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
270
266
|
accept = _headers.pop("Accept", "application/xml")
|
271
267
|
|
272
268
|
# Construct URL
|
@@ -304,7 +300,7 @@ def build_set_expiry_request(
|
|
304
300
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
305
301
|
|
306
302
|
comp: Literal["expiry"] = kwargs.pop("comp", _params.pop("comp", "expiry"))
|
307
|
-
version: Literal["2025-
|
303
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
308
304
|
accept = _headers.pop("Accept", "application/xml")
|
309
305
|
|
310
306
|
# Construct URL
|
@@ -355,7 +351,7 @@ def build_set_http_headers_request(
|
|
355
351
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
356
352
|
|
357
353
|
comp: Literal["properties"] = kwargs.pop("comp", _params.pop("comp", "properties"))
|
358
|
-
version: Literal["2025-
|
354
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
359
355
|
accept = _headers.pop("Accept", "application/xml")
|
360
356
|
|
361
357
|
# Construct URL
|
@@ -426,7 +422,7 @@ def build_set_immutability_policy_request(
|
|
426
422
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
427
423
|
|
428
424
|
comp: Literal["immutabilityPolicies"] = kwargs.pop("comp", _params.pop("comp", "immutabilityPolicies"))
|
429
|
-
version: Literal["2025-
|
425
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
430
426
|
accept = _headers.pop("Accept", "application/xml")
|
431
427
|
|
432
428
|
# Construct URL
|
@@ -478,7 +474,7 @@ def build_delete_immutability_policy_request(
|
|
478
474
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
479
475
|
|
480
476
|
comp: Literal["immutabilityPolicies"] = kwargs.pop("comp", _params.pop("comp", "immutabilityPolicies"))
|
481
|
-
version: Literal["2025-
|
477
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
482
478
|
accept = _headers.pop("Accept", "application/xml")
|
483
479
|
|
484
480
|
# Construct URL
|
@@ -521,7 +517,7 @@ def build_set_legal_hold_request(
|
|
521
517
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
522
518
|
|
523
519
|
comp: Literal["legalhold"] = kwargs.pop("comp", _params.pop("comp", "legalhold"))
|
524
|
-
version: Literal["2025-
|
520
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
525
521
|
accept = _headers.pop("Accept", "application/xml")
|
526
522
|
|
527
523
|
# Construct URL
|
@@ -573,7 +569,7 @@ def build_set_metadata_request(
|
|
573
569
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
574
570
|
|
575
571
|
comp: Literal["metadata"] = kwargs.pop("comp", _params.pop("comp", "metadata"))
|
576
|
-
version: Literal["2025-
|
572
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
577
573
|
accept = _headers.pop("Accept", "application/xml")
|
578
574
|
|
579
575
|
# Construct URL
|
@@ -641,7 +637,7 @@ def build_acquire_lease_request(
|
|
641
637
|
|
642
638
|
comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
|
643
639
|
action: Literal["acquire"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "acquire"))
|
644
|
-
version: Literal["2025-
|
640
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
645
641
|
accept = _headers.pop("Accept", "application/xml")
|
646
642
|
|
647
643
|
# Construct URL
|
@@ -699,7 +695,7 @@ def build_release_lease_request(
|
|
699
695
|
|
700
696
|
comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
|
701
697
|
action: Literal["release"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "release"))
|
702
|
-
version: Literal["2025-
|
698
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
703
699
|
accept = _headers.pop("Accept", "application/xml")
|
704
700
|
|
705
701
|
# Construct URL
|
@@ -754,7 +750,7 @@ def build_renew_lease_request(
|
|
754
750
|
|
755
751
|
comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
|
756
752
|
action: Literal["renew"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "renew"))
|
757
|
-
version: Literal["2025-
|
753
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
758
754
|
accept = _headers.pop("Accept", "application/xml")
|
759
755
|
|
760
756
|
# Construct URL
|
@@ -810,7 +806,7 @@ def build_change_lease_request(
|
|
810
806
|
|
811
807
|
comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
|
812
808
|
action: Literal["change"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "change"))
|
813
|
-
version: Literal["2025-
|
809
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
814
810
|
accept = _headers.pop("Accept", "application/xml")
|
815
811
|
|
816
812
|
# Construct URL
|
@@ -866,7 +862,7 @@ def build_break_lease_request(
|
|
866
862
|
|
867
863
|
comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
|
868
864
|
action: Literal["break"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "break"))
|
869
|
-
version: Literal["2025-
|
865
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
870
866
|
accept = _headers.pop("Accept", "application/xml")
|
871
867
|
|
872
868
|
# Construct URL
|
@@ -926,7 +922,7 @@ def build_create_snapshot_request(
|
|
926
922
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
927
923
|
|
928
924
|
comp: Literal["snapshot"] = kwargs.pop("comp", _params.pop("comp", "snapshot"))
|
929
|
-
version: Literal["2025-
|
925
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
930
926
|
accept = _headers.pop("Accept", "application/xml")
|
931
927
|
|
932
928
|
# Construct URL
|
@@ -1005,7 +1001,7 @@ def build_start_copy_from_url_request(
|
|
1005
1001
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1006
1002
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1007
1003
|
|
1008
|
-
version: Literal["2025-
|
1004
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
1009
1005
|
accept = _headers.pop("Accept", "application/xml")
|
1010
1006
|
|
1011
1007
|
# Construct URL
|
@@ -1102,13 +1098,14 @@ def build_copy_from_url_request(
|
|
1102
1098
|
copy_source_authorization: Optional[str] = None,
|
1103
1099
|
encryption_scope: Optional[str] = None,
|
1104
1100
|
copy_source_tags: Optional[Union[str, _models.BlobCopySourceTags]] = None,
|
1101
|
+
file_request_intent: Optional[Union[str, _models.FileShareTokenIntent]] = None,
|
1105
1102
|
**kwargs: Any
|
1106
1103
|
) -> HttpRequest:
|
1107
1104
|
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1108
1105
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1109
1106
|
|
1110
1107
|
x_ms_requires_sync: Literal["true"] = kwargs.pop("x_ms_requires_sync", _headers.pop("x-ms-requires-sync", "true"))
|
1111
|
-
version: Literal["2025-
|
1108
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
1112
1109
|
accept = _headers.pop("Accept", "application/xml")
|
1113
1110
|
|
1114
1111
|
# Construct URL
|
@@ -1179,6 +1176,8 @@ def build_copy_from_url_request(
|
|
1179
1176
|
_headers["x-ms-encryption-scope"] = _SERIALIZER.header("encryption_scope", encryption_scope, "str")
|
1180
1177
|
if copy_source_tags is not None:
|
1181
1178
|
_headers["x-ms-copy-source-tag-option"] = _SERIALIZER.header("copy_source_tags", copy_source_tags, "str")
|
1179
|
+
if file_request_intent is not None:
|
1180
|
+
_headers["x-ms-file-request-intent"] = _SERIALIZER.header("file_request_intent", file_request_intent, "str")
|
1182
1181
|
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
1183
1182
|
|
1184
1183
|
return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs)
|
@@ -1200,7 +1199,7 @@ def build_abort_copy_from_url_request(
|
|
1200
1199
|
copy_action_abort_constant: Literal["abort"] = kwargs.pop(
|
1201
1200
|
"copy_action_abort_constant", _headers.pop("x-ms-copy-action", "abort")
|
1202
1201
|
)
|
1203
|
-
version: Literal["2025-
|
1202
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
1204
1203
|
accept = _headers.pop("Accept", "application/xml")
|
1205
1204
|
|
1206
1205
|
# Construct URL
|
@@ -1246,7 +1245,7 @@ def build_set_tier_request(
|
|
1246
1245
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1247
1246
|
|
1248
1247
|
comp: Literal["tier"] = kwargs.pop("comp", _params.pop("comp", "tier"))
|
1249
|
-
version: Literal["2025-
|
1248
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
1250
1249
|
accept = _headers.pop("Accept", "application/xml")
|
1251
1250
|
|
1252
1251
|
# Construct URL
|
@@ -1290,7 +1289,7 @@ def build_get_account_info_request(
|
|
1290
1289
|
|
1291
1290
|
restype: Literal["account"] = kwargs.pop("restype", _params.pop("restype", "account"))
|
1292
1291
|
comp: Literal["properties"] = kwargs.pop("comp", _params.pop("comp", "properties"))
|
1293
|
-
version: Literal["2025-
|
1292
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
1294
1293
|
accept = _headers.pop("Accept", "application/xml")
|
1295
1294
|
|
1296
1295
|
# Construct URL
|
@@ -1339,7 +1338,7 @@ def build_query_request(
|
|
1339
1338
|
|
1340
1339
|
comp: Literal["query"] = kwargs.pop("comp", _params.pop("comp", "query"))
|
1341
1340
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1342
|
-
version: Literal["2025-
|
1341
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
1343
1342
|
accept = _headers.pop("Accept", "application/xml")
|
1344
1343
|
|
1345
1344
|
# Construct URL
|
@@ -1403,7 +1402,7 @@ def build_get_tags_request(
|
|
1403
1402
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1404
1403
|
|
1405
1404
|
comp: Literal["tags"] = kwargs.pop("comp", _params.pop("comp", "tags"))
|
1406
|
-
version: Literal["2025-
|
1405
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
1407
1406
|
accept = _headers.pop("Accept", "application/xml")
|
1408
1407
|
|
1409
1408
|
# Construct URL
|
@@ -1454,7 +1453,7 @@ def build_set_tags_request(
|
|
1454
1453
|
|
1455
1454
|
comp: Literal["tags"] = kwargs.pop("comp", _params.pop("comp", "tags"))
|
1456
1455
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1457
|
-
version: Literal["2025-
|
1456
|
+
version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
|
1458
1457
|
accept = _headers.pop("Accept", "application/xml")
|
1459
1458
|
|
1460
1459
|
# Construct URL
|
@@ -1507,7 +1506,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1507
1506
|
|
1508
1507
|
models = _models
|
1509
1508
|
|
1510
|
-
def __init__(self, *args, **kwargs):
|
1509
|
+
def __init__(self, *args, **kwargs) -> None:
|
1511
1510
|
input_args = list(args)
|
1512
1511
|
self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
|
1513
1512
|
self._config: AzureBlobStorageConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
|
@@ -1530,14 +1529,13 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1530
1529
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
1531
1530
|
**kwargs: Any
|
1532
1531
|
) -> Iterator[bytes]:
|
1533
|
-
# pylint: disable=line-too-long
|
1534
1532
|
"""The Download operation reads or downloads a blob from the system, including its metadata and
|
1535
1533
|
properties. You can also call Download to read a snapshot.
|
1536
1534
|
|
1537
1535
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
1538
1536
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
1539
1537
|
see :code:`<a
|
1540
|
-
href="https://
|
1538
|
+
href="https://learn.microsoft.com/rest/api/storageservices/creating-a-snapshot-of-a-blob">Creating
|
1541
1539
|
a Snapshot of a Blob.</a>`. Default value is None.
|
1542
1540
|
:type snapshot: str
|
1543
1541
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -1546,7 +1544,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1546
1544
|
:type version_id: str
|
1547
1545
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1548
1546
|
:code:`<a
|
1549
|
-
href="https://
|
1547
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
1550
1548
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1551
1549
|
:type timeout: int
|
1552
1550
|
:param range: Return only the bytes of the blob in the specified range. Default value is None.
|
@@ -1846,14 +1844,13 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1846
1844
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
1847
1845
|
**kwargs: Any
|
1848
1846
|
) -> None:
|
1849
|
-
# pylint: disable=line-too-long
|
1850
1847
|
"""The Get Properties operation returns all user-defined metadata, standard HTTP properties, and
|
1851
1848
|
system properties for the blob. It does not return the content of the blob.
|
1852
1849
|
|
1853
1850
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
1854
1851
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
1855
1852
|
see :code:`<a
|
1856
|
-
href="https://
|
1853
|
+
href="https://learn.microsoft.com/rest/api/storageservices/creating-a-snapshot-of-a-blob">Creating
|
1857
1854
|
a Snapshot of a Blob.</a>`. Default value is None.
|
1858
1855
|
:type snapshot: str
|
1859
1856
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -1862,7 +1859,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1862
1859
|
:type version_id: str
|
1863
1860
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1864
1861
|
:code:`<a
|
1865
|
-
href="https://
|
1862
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
1866
1863
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1867
1864
|
:type timeout: int
|
1868
1865
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2050,7 +2047,6 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2050
2047
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
2051
2048
|
**kwargs: Any
|
2052
2049
|
) -> None:
|
2053
|
-
# pylint: disable=line-too-long
|
2054
2050
|
"""If the storage account's soft delete feature is disabled then, when a blob is deleted, it is
|
2055
2051
|
permanently removed from the storage account. If the storage account's soft delete feature is
|
2056
2052
|
enabled, then, when a blob is deleted, it is marked for deletion and becomes inaccessible
|
@@ -2067,7 +2063,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2067
2063
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
2068
2064
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
2069
2065
|
see :code:`<a
|
2070
|
-
href="https://
|
2066
|
+
href="https://learn.microsoft.com/rest/api/storageservices/creating-a-snapshot-of-a-blob">Creating
|
2071
2067
|
a Snapshot of a Blob.</a>`. Default value is None.
|
2072
2068
|
:type snapshot: str
|
2073
2069
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -2076,7 +2072,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2076
2072
|
:type version_id: str
|
2077
2073
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2078
2074
|
:code:`<a
|
2079
|
-
href="https://
|
2075
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
2080
2076
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2081
2077
|
:type timeout: int
|
2082
2078
|
:param delete_snapshots: Required if the blob has associated snapshots. Specify one of the
|
@@ -2175,12 +2171,11 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2175
2171
|
def undelete( # pylint: disable=inconsistent-return-statements
|
2176
2172
|
self, timeout: Optional[int] = None, request_id_parameter: Optional[str] = None, **kwargs: Any
|
2177
2173
|
) -> None:
|
2178
|
-
# pylint: disable=line-too-long
|
2179
2174
|
"""Undelete a blob that was previously soft deleted.
|
2180
2175
|
|
2181
2176
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2182
2177
|
:code:`<a
|
2183
|
-
href="https://
|
2178
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
2184
2179
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2185
2180
|
:type timeout: int
|
2186
2181
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2248,7 +2243,6 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2248
2243
|
expires_on: Optional[str] = None,
|
2249
2244
|
**kwargs: Any
|
2250
2245
|
) -> None:
|
2251
|
-
# pylint: disable=line-too-long
|
2252
2246
|
"""Sets the time a blob will expire and be deleted.
|
2253
2247
|
|
2254
2248
|
:param expiry_options: Required. Indicates mode of the expiry time. Known values are:
|
@@ -2256,7 +2250,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2256
2250
|
:type expiry_options: str or ~azure.storage.blob.models.BlobExpiryOptions
|
2257
2251
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2258
2252
|
:code:`<a
|
2259
|
-
href="https://
|
2253
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
2260
2254
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2261
2255
|
:type timeout: int
|
2262
2256
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2331,12 +2325,11 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2331
2325
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
2332
2326
|
**kwargs: Any
|
2333
2327
|
) -> None:
|
2334
|
-
# pylint: disable=line-too-long
|
2335
2328
|
"""The Set HTTP Headers operation sets system properties on the blob.
|
2336
2329
|
|
2337
2330
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2338
2331
|
:code:`<a
|
2339
|
-
href="https://
|
2332
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
2340
2333
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2341
2334
|
:type timeout: int
|
2342
2335
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2458,12 +2451,11 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2458
2451
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
2459
2452
|
**kwargs: Any
|
2460
2453
|
) -> None:
|
2461
|
-
# pylint: disable=line-too-long
|
2462
2454
|
"""The Set Immutability Policy operation sets the immutability policy on the blob.
|
2463
2455
|
|
2464
2456
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2465
2457
|
:code:`<a
|
2466
|
-
href="https://
|
2458
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
2467
2459
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2468
2460
|
:type timeout: int
|
2469
2461
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2479,7 +2471,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2479
2471
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
2480
2472
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
2481
2473
|
see :code:`<a
|
2482
|
-
href="https://
|
2474
|
+
href="https://learn.microsoft.com/rest/api/storageservices/creating-a-snapshot-of-a-blob">Creating
|
2483
2475
|
a Snapshot of a Blob.</a>`. Default value is None.
|
2484
2476
|
:type snapshot: str
|
2485
2477
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -2564,12 +2556,11 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2564
2556
|
version_id: Optional[str] = None,
|
2565
2557
|
**kwargs: Any
|
2566
2558
|
) -> None:
|
2567
|
-
# pylint: disable=line-too-long
|
2568
2559
|
"""The Delete Immutability Policy operation deletes the immutability policy on the blob.
|
2569
2560
|
|
2570
2561
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2571
2562
|
:code:`<a
|
2572
|
-
href="https://
|
2563
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
2573
2564
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2574
2565
|
:type timeout: int
|
2575
2566
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2579,7 +2570,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2579
2570
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
2580
2571
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
2581
2572
|
see :code:`<a
|
2582
|
-
href="https://
|
2573
|
+
href="https://learn.microsoft.com/rest/api/storageservices/creating-a-snapshot-of-a-blob">Creating
|
2583
2574
|
a Snapshot of a Blob.</a>`. Default value is None.
|
2584
2575
|
:type snapshot: str
|
2585
2576
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -2650,14 +2641,13 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2650
2641
|
version_id: Optional[str] = None,
|
2651
2642
|
**kwargs: Any
|
2652
2643
|
) -> None:
|
2653
|
-
# pylint: disable=line-too-long
|
2654
2644
|
"""The Set Legal Hold operation sets a legal hold on the blob.
|
2655
2645
|
|
2656
2646
|
:param legal_hold: Specified if a legal hold should be set on the blob. Required.
|
2657
2647
|
:type legal_hold: bool
|
2658
2648
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2659
2649
|
:code:`<a
|
2660
|
-
href="https://
|
2650
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
2661
2651
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2662
2652
|
:type timeout: int
|
2663
2653
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2667,7 +2657,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2667
2657
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
2668
2658
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
2669
2659
|
see :code:`<a
|
2670
|
-
href="https://
|
2660
|
+
href="https://learn.microsoft.com/rest/api/storageservices/creating-a-snapshot-of-a-blob">Creating
|
2671
2661
|
a Snapshot of a Blob.</a>`. Default value is None.
|
2672
2662
|
:type snapshot: str
|
2673
2663
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -2742,13 +2732,12 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2742
2732
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
2743
2733
|
**kwargs: Any
|
2744
2734
|
) -> None:
|
2745
|
-
# pylint: disable=line-too-long
|
2746
2735
|
"""The Set Blob Metadata operation sets user-defined metadata for the specified blob as one or
|
2747
2736
|
more name-value pairs.
|
2748
2737
|
|
2749
2738
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2750
2739
|
:code:`<a
|
2751
|
-
href="https://
|
2740
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
2752
2741
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2753
2742
|
:type timeout: int
|
2754
2743
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -2881,13 +2870,12 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2881
2870
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
2882
2871
|
**kwargs: Any
|
2883
2872
|
) -> None:
|
2884
|
-
# pylint: disable=line-too-long
|
2885
2873
|
"""[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
|
2886
2874
|
operations.
|
2887
2875
|
|
2888
2876
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2889
2877
|
:code:`<a
|
2890
|
-
href="https://
|
2878
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
2891
2879
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2892
2880
|
:type timeout: int
|
2893
2881
|
:param duration: Specifies the duration of the lease, in seconds, or negative one (-1) for a
|
@@ -2989,7 +2977,6 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2989
2977
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
2990
2978
|
**kwargs: Any
|
2991
2979
|
) -> None:
|
2992
|
-
# pylint: disable=line-too-long
|
2993
2980
|
"""[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
|
2994
2981
|
operations.
|
2995
2982
|
|
@@ -2997,7 +2984,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2997
2984
|
:type lease_id: str
|
2998
2985
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2999
2986
|
:code:`<a
|
3000
|
-
href="https://
|
2987
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
3001
2988
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3002
2989
|
:type timeout: int
|
3003
2990
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -3089,7 +3076,6 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3089
3076
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
3090
3077
|
**kwargs: Any
|
3091
3078
|
) -> None:
|
3092
|
-
# pylint: disable=line-too-long
|
3093
3079
|
"""[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
|
3094
3080
|
operations.
|
3095
3081
|
|
@@ -3097,7 +3083,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3097
3083
|
:type lease_id: str
|
3098
3084
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3099
3085
|
:code:`<a
|
3100
|
-
href="https://
|
3086
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
3101
3087
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3102
3088
|
:type timeout: int
|
3103
3089
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -3191,7 +3177,6 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3191
3177
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
3192
3178
|
**kwargs: Any
|
3193
3179
|
) -> None:
|
3194
|
-
# pylint: disable=line-too-long
|
3195
3180
|
"""[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
|
3196
3181
|
operations.
|
3197
3182
|
|
@@ -3203,7 +3188,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3203
3188
|
:type proposed_lease_id: str
|
3204
3189
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3205
3190
|
:code:`<a
|
3206
|
-
href="https://
|
3191
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
3207
3192
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3208
3193
|
:type timeout: int
|
3209
3194
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -3297,13 +3282,12 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3297
3282
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
3298
3283
|
**kwargs: Any
|
3299
3284
|
) -> None:
|
3300
|
-
# pylint: disable=line-too-long
|
3301
3285
|
"""[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete
|
3302
3286
|
operations.
|
3303
3287
|
|
3304
3288
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3305
3289
|
:code:`<a
|
3306
|
-
href="https://
|
3290
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
3307
3291
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3308
3292
|
:type timeout: int
|
3309
3293
|
:param break_period: For a break operation, proposed duration the lease should continue before
|
@@ -3407,12 +3391,11 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3407
3391
|
lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
|
3408
3392
|
**kwargs: Any
|
3409
3393
|
) -> None:
|
3410
|
-
# pylint: disable=line-too-long
|
3411
3394
|
"""The Create Snapshot operation creates a read-only snapshot of a blob.
|
3412
3395
|
|
3413
3396
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3414
3397
|
:code:`<a
|
3415
|
-
href="https://
|
3398
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
3416
3399
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3417
3400
|
:type timeout: int
|
3418
3401
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -3549,7 +3532,6 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3549
3532
|
lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
|
3550
3533
|
**kwargs: Any
|
3551
3534
|
) -> None:
|
3552
|
-
# pylint: disable=line-too-long
|
3553
3535
|
"""The Start Copy From URL operation copies a blob or an internet resource to a new blob.
|
3554
3536
|
|
3555
3537
|
:param copy_source: Specifies the name of the source page blob snapshot. This value is a URL of
|
@@ -3559,7 +3541,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3559
3541
|
:type copy_source: str
|
3560
3542
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3561
3543
|
:code:`<a
|
3562
|
-
href="https://
|
3544
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
3563
3545
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3564
3546
|
:type timeout: int
|
3565
3547
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -3718,13 +3700,13 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3718
3700
|
legal_hold: Optional[bool] = None,
|
3719
3701
|
copy_source_authorization: Optional[str] = None,
|
3720
3702
|
copy_source_tags: Optional[Union[str, _models.BlobCopySourceTags]] = None,
|
3703
|
+
file_request_intent: Optional[Union[str, _models.FileShareTokenIntent]] = None,
|
3721
3704
|
source_modified_access_conditions: Optional[_models.SourceModifiedAccessConditions] = None,
|
3722
3705
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
3723
3706
|
lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
|
3724
3707
|
cpk_scope_info: Optional[_models.CpkScopeInfo] = None,
|
3725
3708
|
**kwargs: Any
|
3726
3709
|
) -> None:
|
3727
|
-
# pylint: disable=line-too-long
|
3728
3710
|
"""The Copy From URL operation copies a blob or an internet resource to a new blob. It will not
|
3729
3711
|
return a response until the copy is complete.
|
3730
3712
|
|
@@ -3735,7 +3717,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3735
3717
|
:type copy_source: str
|
3736
3718
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3737
3719
|
:code:`<a
|
3738
|
-
href="https://
|
3720
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
3739
3721
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3740
3722
|
:type timeout: int
|
3741
3723
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -3775,6 +3757,8 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3775
3757
|
copied or replaced with the tags specified by x-ms-tags. Known values are: "REPLACE" and
|
3776
3758
|
"COPY". Default value is None.
|
3777
3759
|
:type copy_source_tags: str or ~azure.storage.blob.models.BlobCopySourceTags
|
3760
|
+
:param file_request_intent: Valid value is backup. "backup" Default value is None.
|
3761
|
+
:type file_request_intent: str or ~azure.storage.blob.models.FileShareTokenIntent
|
3778
3762
|
:param source_modified_access_conditions: Parameter group. Default value is None.
|
3779
3763
|
:type source_modified_access_conditions:
|
3780
3764
|
~azure.storage.blob.models.SourceModifiedAccessConditions
|
@@ -3856,6 +3840,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3856
3840
|
copy_source_authorization=copy_source_authorization,
|
3857
3841
|
encryption_scope=_encryption_scope,
|
3858
3842
|
copy_source_tags=copy_source_tags,
|
3843
|
+
file_request_intent=file_request_intent,
|
3859
3844
|
x_ms_requires_sync=x_ms_requires_sync,
|
3860
3845
|
version=self._config.version,
|
3861
3846
|
headers=_headers,
|
@@ -3907,7 +3892,6 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3907
3892
|
lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
|
3908
3893
|
**kwargs: Any
|
3909
3894
|
) -> None:
|
3910
|
-
# pylint: disable=line-too-long
|
3911
3895
|
"""The Abort Copy From URL operation aborts a pending Copy From URL operation, and leaves a
|
3912
3896
|
destination blob with zero length and full metadata.
|
3913
3897
|
|
@@ -3916,7 +3900,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3916
3900
|
:type copy_id: str
|
3917
3901
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3918
3902
|
:code:`<a
|
3919
|
-
href="https://
|
3903
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
3920
3904
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3921
3905
|
:type timeout: int
|
3922
3906
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -4000,7 +3984,6 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4000
3984
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
4001
3985
|
**kwargs: Any
|
4002
3986
|
) -> None:
|
4003
|
-
# pylint: disable=line-too-long
|
4004
3987
|
"""The Set Tier operation sets the tier on a blob. The operation is allowed on a page blob in a
|
4005
3988
|
premium storage account and on a block blob in a blob storage account (locally redundant
|
4006
3989
|
storage only). A premium page blob's tier determines the allowed size, IOPS, and bandwidth of
|
@@ -4014,7 +3997,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4014
3997
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
4015
3998
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
4016
3999
|
see :code:`<a
|
4017
|
-
href="https://
|
4000
|
+
href="https://learn.microsoft.com/rest/api/storageservices/creating-a-snapshot-of-a-blob">Creating
|
4018
4001
|
a Snapshot of a Blob.</a>`. Default value is None.
|
4019
4002
|
:type snapshot: str
|
4020
4003
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -4023,7 +4006,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4023
4006
|
:type version_id: str
|
4024
4007
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
4025
4008
|
:code:`<a
|
4026
|
-
href="https://
|
4009
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
4027
4010
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
4028
4011
|
:type timeout: int
|
4029
4012
|
:param rehydrate_priority: Optional: Indicates the priority with which to rehydrate an archived
|
@@ -4105,12 +4088,11 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4105
4088
|
def get_account_info( # pylint: disable=inconsistent-return-statements
|
4106
4089
|
self, timeout: Optional[int] = None, request_id_parameter: Optional[str] = None, **kwargs: Any
|
4107
4090
|
) -> None:
|
4108
|
-
# pylint: disable=line-too-long
|
4109
4091
|
"""Returns the sku name and account kind.
|
4110
4092
|
|
4111
4093
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
4112
4094
|
:code:`<a
|
4113
|
-
href="https://
|
4095
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
4114
4096
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
4115
4097
|
:type timeout: int
|
4116
4098
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -4186,19 +4168,18 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4186
4168
|
query_request: Optional[_models.QueryRequest] = None,
|
4187
4169
|
**kwargs: Any
|
4188
4170
|
) -> Iterator[bytes]:
|
4189
|
-
# pylint: disable=line-too-long
|
4190
4171
|
"""The Query operation enables users to select/project on blob data by providing simple query
|
4191
4172
|
expressions.
|
4192
4173
|
|
4193
4174
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
4194
4175
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
4195
4176
|
see :code:`<a
|
4196
|
-
href="https://
|
4177
|
+
href="https://learn.microsoft.com/rest/api/storageservices/creating-a-snapshot-of-a-blob">Creating
|
4197
4178
|
a Snapshot of a Blob.</a>`. Default value is None.
|
4198
4179
|
:type snapshot: str
|
4199
4180
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
4200
4181
|
:code:`<a
|
4201
|
-
href="https://
|
4182
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
4202
4183
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
4203
4184
|
:type timeout: int
|
4204
4185
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -4436,12 +4417,11 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4436
4417
|
lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
|
4437
4418
|
**kwargs: Any
|
4438
4419
|
) -> _models.BlobTags:
|
4439
|
-
# pylint: disable=line-too-long
|
4440
4420
|
"""The Get Tags operation enables users to get the tags associated with a blob.
|
4441
4421
|
|
4442
4422
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
4443
4423
|
:code:`<a
|
4444
|
-
href="https://
|
4424
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
4445
4425
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
4446
4426
|
:type timeout: int
|
4447
4427
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -4451,7 +4431,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4451
4431
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
4452
4432
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
4453
4433
|
see :code:`<a
|
4454
|
-
href="https://
|
4434
|
+
href="https://learn.microsoft.com/rest/api/storageservices/creating-a-snapshot-of-a-blob">Creating
|
4455
4435
|
a Snapshot of a Blob.</a>`. Default value is None.
|
4456
4436
|
:type snapshot: str
|
4457
4437
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -4542,12 +4522,11 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4542
4522
|
tags: Optional[_models.BlobTags] = None,
|
4543
4523
|
**kwargs: Any
|
4544
4524
|
) -> None:
|
4545
|
-
# pylint: disable=line-too-long
|
4546
4525
|
"""The Set Tags operation enables users to set tags on a blob.
|
4547
4526
|
|
4548
4527
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
4549
4528
|
:code:`<a
|
4550
|
-
href="https://
|
4529
|
+
href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
|
4551
4530
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
4552
4531
|
:type timeout: int
|
4553
4532
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|