azure-storage-blob 12.23.1__py3-none-any.whl → 12.24.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/_blob_client.py +28 -7
- azure/storage/blob/_blob_client_helpers.py +7 -3
- azure/storage/blob/_blob_service_client.py +1 -1
- azure/storage/blob/_container_client.py +2 -2
- azure/storage/blob/_container_client_helpers.py +4 -4
- azure/storage/blob/_deserialize.py +2 -2
- azure/storage/blob/_encryption.py +2 -0
- azure/storage/blob/_generated/_azure_blob_storage.py +1 -1
- azure/storage/blob/_generated/_configuration.py +2 -2
- azure/storage/blob/_generated/_serialization.py +265 -150
- azure/storage/blob/_generated/aio/_azure_blob_storage.py +1 -1
- azure/storage/blob/_generated/aio/_configuration.py +2 -2
- azure/storage/blob/_generated/aio/operations/_append_blob_operations.py +22 -4
- azure/storage/blob/_generated/aio/operations/_blob_operations.py +116 -26
- azure/storage/blob/_generated/aio/operations/_block_blob_operations.py +40 -6
- azure/storage/blob/_generated/aio/operations/_container_operations.py +36 -18
- azure/storage/blob/_generated/aio/operations/_page_blob_operations.py +32 -9
- azure/storage/blob/_generated/aio/operations/_service_operations.py +16 -8
- azure/storage/blob/_generated/models/_azure_blob_storage_enums.py +1 -0
- azure/storage/blob/_generated/operations/_append_blob_operations.py +34 -8
- azure/storage/blob/_generated/operations/_blob_operations.py +166 -51
- azure/storage/blob/_generated/operations/_block_blob_operations.py +62 -12
- azure/storage/blob/_generated/operations/_container_operations.py +54 -36
- azure/storage/blob/_generated/operations/_page_blob_operations.py +49 -18
- azure/storage/blob/_generated/operations/_service_operations.py +24 -16
- azure/storage/blob/_list_blobs_helper.py +1 -1
- azure/storage/blob/_models.py +4 -3
- azure/storage/blob/_serialize.py +1 -0
- azure/storage/blob/_shared/avro/schema.py +1 -0
- azure/storage/blob/_shared/base_client.py +8 -8
- azure/storage/blob/_shared/base_client_async.py +5 -5
- azure/storage/blob/_shared/models.py +5 -2
- azure/storage/blob/_shared/policies.py +6 -7
- azure/storage/blob/_shared/policies_async.py +1 -1
- azure/storage/blob/_shared/uploads.py +4 -4
- azure/storage/blob/_shared/uploads_async.py +4 -4
- azure/storage/blob/_shared_access_signature.py +0 -1
- azure/storage/blob/_version.py +1 -1
- azure/storage/blob/aio/_blob_client_async.py +30 -10
- azure/storage/blob/aio/_blob_service_client_async.py +7 -3
- azure/storage/blob/aio/_container_client_async.py +4 -4
- azure/storage/blob/aio/_lease_async.py +1 -1
- azure/storage/blob/aio/_list_blobs_helper.py +1 -2
- azure/storage/blob/aio/_models.py +1 -2
- {azure_storage_blob-12.23.1.dist-info → azure_storage_blob-12.24.0b1.dist-info}/METADATA +10 -10
- {azure_storage_blob-12.23.1.dist-info → azure_storage_blob-12.24.0b1.dist-info}/RECORD +49 -49
- {azure_storage_blob-12.23.1.dist-info → azure_storage_blob-12.24.0b1.dist-info}/LICENSE +0 -0
- {azure_storage_blob-12.23.1.dist-info → azure_storage_blob-12.24.0b1.dist-info}/WHEEL +0 -0
- {azure_storage_blob-12.23.1.dist-info → azure_storage_blob-12.24.0b1.dist-info}/top_level.txt +0 -0
@@ -54,7 +54,7 @@ def build_create_request(
|
|
54
54
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
55
55
|
|
56
56
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
57
|
-
version: Literal["
|
57
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
58
58
|
accept = _headers.pop("Accept", "application/xml")
|
59
59
|
|
60
60
|
# Construct URL
|
@@ -103,7 +103,7 @@ def build_get_properties_request(
|
|
103
103
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
104
104
|
|
105
105
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
106
|
-
version: Literal["
|
106
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
107
107
|
accept = _headers.pop("Accept", "application/xml")
|
108
108
|
|
109
109
|
# Construct URL
|
@@ -144,7 +144,7 @@ def build_delete_request(
|
|
144
144
|
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
145
145
|
|
146
146
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
147
|
-
version: Literal["
|
147
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
148
148
|
accept = _headers.pop("Accept", "application/xml")
|
149
149
|
|
150
150
|
# Construct URL
|
@@ -190,7 +190,7 @@ def build_set_metadata_request(
|
|
190
190
|
|
191
191
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
192
192
|
comp: Literal["metadata"] = kwargs.pop("comp", _params.pop("comp", "metadata"))
|
193
|
-
version: Literal["
|
193
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
194
194
|
accept = _headers.pop("Accept", "application/xml")
|
195
195
|
|
196
196
|
# Construct URL
|
@@ -235,7 +235,7 @@ def build_get_access_policy_request(
|
|
235
235
|
|
236
236
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
237
237
|
comp: Literal["acl"] = kwargs.pop("comp", _params.pop("comp", "acl"))
|
238
|
-
version: Literal["
|
238
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
239
239
|
accept = _headers.pop("Accept", "application/xml")
|
240
240
|
|
241
241
|
# Construct URL
|
@@ -281,7 +281,7 @@ def build_set_access_policy_request(
|
|
281
281
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
282
282
|
comp: Literal["acl"] = kwargs.pop("comp", _params.pop("comp", "acl"))
|
283
283
|
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
284
|
-
version: Literal["
|
284
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
285
285
|
accept = _headers.pop("Accept", "application/xml")
|
286
286
|
|
287
287
|
# Construct URL
|
@@ -331,7 +331,7 @@ def build_restore_request(
|
|
331
331
|
|
332
332
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
333
333
|
comp: Literal["undelete"] = kwargs.pop("comp", _params.pop("comp", "undelete"))
|
334
|
-
version: Literal["
|
334
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
335
335
|
accept = _headers.pop("Accept", "application/xml")
|
336
336
|
|
337
337
|
# Construct URL
|
@@ -379,7 +379,7 @@ def build_rename_request(
|
|
379
379
|
|
380
380
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
381
381
|
comp: Literal["rename"] = kwargs.pop("comp", _params.pop("comp", "rename"))
|
382
|
-
version: Literal["
|
382
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
383
383
|
accept = _headers.pop("Accept", "application/xml")
|
384
384
|
|
385
385
|
# Construct URL
|
@@ -423,7 +423,7 @@ def build_submit_batch_request(
|
|
423
423
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
424
424
|
comp: Literal["batch"] = kwargs.pop("comp", _params.pop("comp", "batch"))
|
425
425
|
multipart_content_type: Optional[str] = kwargs.pop("multipart_content_type", _headers.pop("Content-Type", None))
|
426
|
-
version: Literal["
|
426
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
427
427
|
accept = _headers.pop("Accept", "application/xml")
|
428
428
|
|
429
429
|
# Construct URL
|
@@ -468,7 +468,7 @@ def build_filter_blobs_request(
|
|
468
468
|
|
469
469
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
470
470
|
comp: Literal["blobs"] = kwargs.pop("comp", _params.pop("comp", "blobs"))
|
471
|
-
version: Literal["
|
471
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
472
472
|
accept = _headers.pop("Accept", "application/xml")
|
473
473
|
|
474
474
|
# Construct URL
|
@@ -519,7 +519,7 @@ def build_acquire_lease_request(
|
|
519
519
|
comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
|
520
520
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
521
521
|
action: Literal["acquire"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "acquire"))
|
522
|
-
version: Literal["
|
522
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
523
523
|
accept = _headers.pop("Accept", "application/xml")
|
524
524
|
|
525
525
|
# Construct URL
|
@@ -570,7 +570,7 @@ def build_release_lease_request(
|
|
570
570
|
comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
|
571
571
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
572
572
|
action: Literal["release"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "release"))
|
573
|
-
version: Literal["
|
573
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
574
574
|
accept = _headers.pop("Accept", "application/xml")
|
575
575
|
|
576
576
|
# Construct URL
|
@@ -618,7 +618,7 @@ def build_renew_lease_request(
|
|
618
618
|
comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
|
619
619
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
620
620
|
action: Literal["renew"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "renew"))
|
621
|
-
version: Literal["
|
621
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
622
622
|
accept = _headers.pop("Accept", "application/xml")
|
623
623
|
|
624
624
|
# Construct URL
|
@@ -666,7 +666,7 @@ def build_break_lease_request(
|
|
666
666
|
comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
|
667
667
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
668
668
|
action: Literal["break"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "break"))
|
669
|
-
version: Literal["
|
669
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
670
670
|
accept = _headers.pop("Accept", "application/xml")
|
671
671
|
|
672
672
|
# Construct URL
|
@@ -716,7 +716,7 @@ def build_change_lease_request(
|
|
716
716
|
comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
|
717
717
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
718
718
|
action: Literal["change"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "change"))
|
719
|
-
version: Literal["
|
719
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
720
720
|
accept = _headers.pop("Accept", "application/xml")
|
721
721
|
|
722
722
|
# Construct URL
|
@@ -765,7 +765,7 @@ def build_list_blob_flat_segment_request(
|
|
765
765
|
|
766
766
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
767
767
|
comp: Literal["list"] = kwargs.pop("comp", _params.pop("comp", "list"))
|
768
|
-
version: Literal["
|
768
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
769
769
|
accept = _headers.pop("Accept", "application/xml")
|
770
770
|
|
771
771
|
# Construct URL
|
@@ -816,7 +816,7 @@ def build_list_blob_hierarchy_segment_request( # pylint: disable=name-too-long
|
|
816
816
|
|
817
817
|
restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
|
818
818
|
comp: Literal["list"] = kwargs.pop("comp", _params.pop("comp", "list"))
|
819
|
-
version: Literal["
|
819
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
820
820
|
accept = _headers.pop("Accept", "application/xml")
|
821
821
|
|
822
822
|
# Construct URL
|
@@ -859,7 +859,7 @@ def build_get_account_info_request(
|
|
859
859
|
|
860
860
|
restype: Literal["account"] = kwargs.pop("restype", _params.pop("restype", "account"))
|
861
861
|
comp: Literal["properties"] = kwargs.pop("comp", _params.pop("comp", "properties"))
|
862
|
-
version: Literal["
|
862
|
+
version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
|
863
863
|
accept = _headers.pop("Accept", "application/xml")
|
864
864
|
|
865
865
|
# Construct URL
|
@@ -914,6 +914,7 @@ class ContainerOperations:
|
|
914
914
|
container_cpk_scope_info: Optional[_models.ContainerCpkScopeInfo] = None,
|
915
915
|
**kwargs: Any
|
916
916
|
) -> None:
|
917
|
+
# pylint: disable=line-too-long
|
917
918
|
"""creates a new container under the specified account. If the container with the same name
|
918
919
|
already exists, the operation fails.
|
919
920
|
|
@@ -943,7 +944,7 @@ class ContainerOperations:
|
|
943
944
|
:rtype: None
|
944
945
|
:raises ~azure.core.exceptions.HttpResponseError:
|
945
946
|
"""
|
946
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
947
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
947
948
|
401: ClientAuthenticationError,
|
948
949
|
404: ResourceNotFoundError,
|
949
950
|
409: ResourceExistsError,
|
@@ -1011,6 +1012,7 @@ class ContainerOperations:
|
|
1011
1012
|
lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
|
1012
1013
|
**kwargs: Any
|
1013
1014
|
) -> None:
|
1015
|
+
# pylint: disable=line-too-long
|
1014
1016
|
"""returns all user-defined metadata and system properties for the specified container. The data
|
1015
1017
|
returned does not include the container's list of blobs.
|
1016
1018
|
|
@@ -1029,7 +1031,7 @@ class ContainerOperations:
|
|
1029
1031
|
:rtype: None
|
1030
1032
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1031
1033
|
"""
|
1032
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1034
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1033
1035
|
401: ClientAuthenticationError,
|
1034
1036
|
404: ResourceNotFoundError,
|
1035
1037
|
409: ResourceExistsError,
|
@@ -1113,6 +1115,7 @@ class ContainerOperations:
|
|
1113
1115
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
1114
1116
|
**kwargs: Any
|
1115
1117
|
) -> None:
|
1118
|
+
# pylint: disable=line-too-long
|
1116
1119
|
"""operation marks the specified container for deletion. The container and any blobs contained
|
1117
1120
|
within it are later deleted during garbage collection.
|
1118
1121
|
|
@@ -1133,7 +1136,7 @@ class ContainerOperations:
|
|
1133
1136
|
:rtype: None
|
1134
1137
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1135
1138
|
"""
|
1136
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1139
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1137
1140
|
401: ClientAuthenticationError,
|
1138
1141
|
404: ResourceNotFoundError,
|
1139
1142
|
409: ResourceExistsError,
|
@@ -1203,6 +1206,7 @@ class ContainerOperations:
|
|
1203
1206
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
1204
1207
|
**kwargs: Any
|
1205
1208
|
) -> None:
|
1209
|
+
# pylint: disable=line-too-long
|
1206
1210
|
"""operation sets one or more user-defined name-value pairs for the specified container.
|
1207
1211
|
|
1208
1212
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
@@ -1230,7 +1234,7 @@ class ContainerOperations:
|
|
1230
1234
|
:rtype: None
|
1231
1235
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1232
1236
|
"""
|
1233
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1237
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1234
1238
|
401: ClientAuthenticationError,
|
1235
1239
|
404: ResourceNotFoundError,
|
1236
1240
|
409: ResourceExistsError,
|
@@ -1300,6 +1304,7 @@ class ContainerOperations:
|
|
1300
1304
|
lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
|
1301
1305
|
**kwargs: Any
|
1302
1306
|
) -> List[_models.SignedIdentifier]:
|
1307
|
+
# pylint: disable=line-too-long
|
1303
1308
|
"""gets the permissions for the specified container. The permissions indicate whether container
|
1304
1309
|
data may be accessed publicly.
|
1305
1310
|
|
@@ -1318,7 +1323,7 @@ class ContainerOperations:
|
|
1318
1323
|
:rtype: list[~azure.storage.blob.models.SignedIdentifier]
|
1319
1324
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1320
1325
|
"""
|
1321
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1326
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1322
1327
|
401: ClientAuthenticationError,
|
1323
1328
|
404: ResourceNotFoundError,
|
1324
1329
|
409: ResourceExistsError,
|
@@ -1393,6 +1398,7 @@ class ContainerOperations:
|
|
1393
1398
|
container_acl: Optional[List[_models.SignedIdentifier]] = None,
|
1394
1399
|
**kwargs: Any
|
1395
1400
|
) -> None:
|
1401
|
+
# pylint: disable=line-too-long
|
1396
1402
|
"""sets the permissions for the specified container. The permissions indicate whether blobs in a
|
1397
1403
|
container may be accessed publicly.
|
1398
1404
|
|
@@ -1418,7 +1424,7 @@ class ContainerOperations:
|
|
1418
1424
|
:rtype: None
|
1419
1425
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1420
1426
|
"""
|
1421
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1427
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1422
1428
|
401: ClientAuthenticationError,
|
1423
1429
|
404: ResourceNotFoundError,
|
1424
1430
|
409: ResourceExistsError,
|
@@ -1502,6 +1508,7 @@ class ContainerOperations:
|
|
1502
1508
|
deleted_container_version: Optional[str] = None,
|
1503
1509
|
**kwargs: Any
|
1504
1510
|
) -> None:
|
1511
|
+
# pylint: disable=line-too-long
|
1505
1512
|
"""Restores a previously-deleted container.
|
1506
1513
|
|
1507
1514
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
@@ -1523,7 +1530,7 @@ class ContainerOperations:
|
|
1523
1530
|
:rtype: None
|
1524
1531
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1525
1532
|
"""
|
1526
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1533
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1527
1534
|
401: ClientAuthenticationError,
|
1528
1535
|
404: ResourceNotFoundError,
|
1529
1536
|
409: ResourceExistsError,
|
@@ -1584,6 +1591,7 @@ class ContainerOperations:
|
|
1584
1591
|
source_lease_id: Optional[str] = None,
|
1585
1592
|
**kwargs: Any
|
1586
1593
|
) -> None:
|
1594
|
+
# pylint: disable=line-too-long
|
1587
1595
|
"""Renames an existing container.
|
1588
1596
|
|
1589
1597
|
:param source_container_name: Required. Specifies the name of the container to rename.
|
@@ -1605,7 +1613,7 @@ class ContainerOperations:
|
|
1605
1613
|
:rtype: None
|
1606
1614
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1607
1615
|
"""
|
1608
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1616
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1609
1617
|
401: ClientAuthenticationError,
|
1610
1618
|
404: ResourceNotFoundError,
|
1611
1619
|
409: ResourceExistsError,
|
@@ -1666,6 +1674,7 @@ class ContainerOperations:
|
|
1666
1674
|
request_id_parameter: Optional[str] = None,
|
1667
1675
|
**kwargs: Any
|
1668
1676
|
) -> Iterator[bytes]:
|
1677
|
+
# pylint: disable=line-too-long
|
1669
1678
|
"""The Batch operation allows multiple API calls to be embedded into a single HTTP request.
|
1670
1679
|
|
1671
1680
|
:param content_length: The length of the request. Required.
|
@@ -1685,7 +1694,7 @@ class ContainerOperations:
|
|
1685
1694
|
:rtype: Iterator[bytes]
|
1686
1695
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1687
1696
|
"""
|
1688
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1697
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1689
1698
|
401: ClientAuthenticationError,
|
1690
1699
|
404: ResourceNotFoundError,
|
1691
1700
|
409: ResourceExistsError,
|
@@ -1760,6 +1769,7 @@ class ContainerOperations:
|
|
1760
1769
|
include: Optional[List[Union[str, _models.FilterBlobsIncludeItem]]] = None,
|
1761
1770
|
**kwargs: Any
|
1762
1771
|
) -> _models.FilterBlobSegment:
|
1772
|
+
# pylint: disable=line-too-long
|
1763
1773
|
"""The Filter Blobs operation enables callers to list blobs in a container whose tags match a
|
1764
1774
|
given search expression. Filter blobs searches within the given container.
|
1765
1775
|
|
@@ -1796,7 +1806,7 @@ class ContainerOperations:
|
|
1796
1806
|
:rtype: ~azure.storage.blob.models.FilterBlobSegment
|
1797
1807
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1798
1808
|
"""
|
1799
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1809
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1800
1810
|
401: ClientAuthenticationError,
|
1801
1811
|
404: ResourceNotFoundError,
|
1802
1812
|
409: ResourceExistsError,
|
@@ -1864,6 +1874,7 @@ class ContainerOperations:
|
|
1864
1874
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
1865
1875
|
**kwargs: Any
|
1866
1876
|
) -> None:
|
1877
|
+
# pylint: disable=line-too-long
|
1867
1878
|
"""[Update] establishes and manages a lock on a container for delete operations. The lock duration
|
1868
1879
|
can be 15 to 60 seconds, or can be infinite.
|
1869
1880
|
|
@@ -1890,7 +1901,7 @@ class ContainerOperations:
|
|
1890
1901
|
:rtype: None
|
1891
1902
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1892
1903
|
"""
|
1893
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1904
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1894
1905
|
401: ClientAuthenticationError,
|
1895
1906
|
404: ResourceNotFoundError,
|
1896
1907
|
409: ResourceExistsError,
|
@@ -1964,6 +1975,7 @@ class ContainerOperations:
|
|
1964
1975
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
1965
1976
|
**kwargs: Any
|
1966
1977
|
) -> None:
|
1978
|
+
# pylint: disable=line-too-long
|
1967
1979
|
"""[Update] establishes and manages a lock on a container for delete operations. The lock duration
|
1968
1980
|
can be 15 to 60 seconds, or can be infinite.
|
1969
1981
|
|
@@ -1984,7 +1996,7 @@ class ContainerOperations:
|
|
1984
1996
|
:rtype: None
|
1985
1997
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1986
1998
|
"""
|
1987
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1999
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
1988
2000
|
401: ClientAuthenticationError,
|
1989
2001
|
404: ResourceNotFoundError,
|
1990
2002
|
409: ResourceExistsError,
|
@@ -2056,6 +2068,7 @@ class ContainerOperations:
|
|
2056
2068
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
2057
2069
|
**kwargs: Any
|
2058
2070
|
) -> None:
|
2071
|
+
# pylint: disable=line-too-long
|
2059
2072
|
"""[Update] establishes and manages a lock on a container for delete operations. The lock duration
|
2060
2073
|
can be 15 to 60 seconds, or can be infinite.
|
2061
2074
|
|
@@ -2076,7 +2089,7 @@ class ContainerOperations:
|
|
2076
2089
|
:rtype: None
|
2077
2090
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2078
2091
|
"""
|
2079
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2092
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
2080
2093
|
401: ClientAuthenticationError,
|
2081
2094
|
404: ResourceNotFoundError,
|
2082
2095
|
409: ResourceExistsError,
|
@@ -2149,6 +2162,7 @@ class ContainerOperations:
|
|
2149
2162
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
2150
2163
|
**kwargs: Any
|
2151
2164
|
) -> None:
|
2165
|
+
# pylint: disable=line-too-long
|
2152
2166
|
"""[Update] establishes and manages a lock on a container for delete operations. The lock duration
|
2153
2167
|
can be 15 to 60 seconds, or can be infinite.
|
2154
2168
|
|
@@ -2175,7 +2189,7 @@ class ContainerOperations:
|
|
2175
2189
|
:rtype: None
|
2176
2190
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2177
2191
|
"""
|
2178
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2192
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
2179
2193
|
401: ClientAuthenticationError,
|
2180
2194
|
404: ResourceNotFoundError,
|
2181
2195
|
409: ResourceExistsError,
|
@@ -2249,6 +2263,7 @@ class ContainerOperations:
|
|
2249
2263
|
modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
|
2250
2264
|
**kwargs: Any
|
2251
2265
|
) -> None:
|
2266
|
+
# pylint: disable=line-too-long
|
2252
2267
|
"""[Update] establishes and manages a lock on a container for delete operations. The lock duration
|
2253
2268
|
can be 15 to 60 seconds, or can be infinite.
|
2254
2269
|
|
@@ -2273,7 +2288,7 @@ class ContainerOperations:
|
|
2273
2288
|
:rtype: None
|
2274
2289
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2275
2290
|
"""
|
2276
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2291
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
2277
2292
|
401: ClientAuthenticationError,
|
2278
2293
|
404: ResourceNotFoundError,
|
2279
2294
|
409: ResourceExistsError,
|
@@ -2349,6 +2364,7 @@ class ContainerOperations:
|
|
2349
2364
|
request_id_parameter: Optional[str] = None,
|
2350
2365
|
**kwargs: Any
|
2351
2366
|
) -> _models.ListBlobsFlatSegmentResponse:
|
2367
|
+
# pylint: disable=line-too-long
|
2352
2368
|
"""[Update] The List Blobs operation returns a list of the blobs under the specified container.
|
2353
2369
|
|
2354
2370
|
:param prefix: Filters the results to return only containers whose name begins with the
|
@@ -2384,7 +2400,7 @@ class ContainerOperations:
|
|
2384
2400
|
:rtype: ~azure.storage.blob.models.ListBlobsFlatSegmentResponse
|
2385
2401
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2386
2402
|
"""
|
2387
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2403
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
2388
2404
|
401: ClientAuthenticationError,
|
2389
2405
|
404: ResourceNotFoundError,
|
2390
2406
|
409: ResourceExistsError,
|
@@ -2455,6 +2471,7 @@ class ContainerOperations:
|
|
2455
2471
|
request_id_parameter: Optional[str] = None,
|
2456
2472
|
**kwargs: Any
|
2457
2473
|
) -> _models.ListBlobsHierarchySegmentResponse:
|
2474
|
+
# pylint: disable=line-too-long
|
2458
2475
|
"""[Update] The List Blobs operation returns a list of the blobs under the specified container.
|
2459
2476
|
|
2460
2477
|
:param delimiter: When the request includes this parameter, the operation returns a BlobPrefix
|
@@ -2495,7 +2512,7 @@ class ContainerOperations:
|
|
2495
2512
|
:rtype: ~azure.storage.blob.models.ListBlobsHierarchySegmentResponse
|
2496
2513
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2497
2514
|
"""
|
2498
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2515
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
2499
2516
|
401: ClientAuthenticationError,
|
2500
2517
|
404: ResourceNotFoundError,
|
2501
2518
|
409: ResourceExistsError,
|
@@ -2559,6 +2576,7 @@ class ContainerOperations:
|
|
2559
2576
|
def get_account_info( # pylint: disable=inconsistent-return-statements
|
2560
2577
|
self, timeout: Optional[int] = None, request_id_parameter: Optional[str] = None, **kwargs: Any
|
2561
2578
|
) -> None:
|
2579
|
+
# pylint: disable=line-too-long
|
2562
2580
|
"""Returns the sku name and account kind.
|
2563
2581
|
|
2564
2582
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
@@ -2574,7 +2592,7 @@ class ContainerOperations:
|
|
2574
2592
|
:rtype: None
|
2575
2593
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2576
2594
|
"""
|
2577
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2595
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
|
2578
2596
|
401: ClientAuthenticationError,
|
2579
2597
|
404: ResourceNotFoundError,
|
2580
2598
|
409: ResourceExistsError,
|