azure-storage-blob 12.24.1__py3-none-any.whl → 12.25.0__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/_generated/__init__.py +9 -3
- azure/storage/blob/_generated/_configuration.py +1 -1
- azure/storage/blob/_generated/_patch.py +16 -29
- azure/storage/blob/_generated/_serialization.py +52 -117
- azure/storage/blob/_generated/aio/__init__.py +9 -3
- azure/storage/blob/_generated/aio/_configuration.py +1 -1
- azure/storage/blob/_generated/aio/_patch.py +16 -29
- azure/storage/blob/_generated/aio/operations/__init__.py +14 -8
- azure/storage/blob/_generated/aio/operations/_append_blob_operations.py +21 -19
- azure/storage/blob/_generated/aio/operations/_blob_operations.py +88 -85
- azure/storage/blob/_generated/aio/operations/_block_blob_operations.py +28 -25
- azure/storage/blob/_generated/aio/operations/_container_operations.py +59 -56
- azure/storage/blob/_generated/aio/operations/_page_blob_operations.py +37 -34
- azure/storage/blob/_generated/aio/operations/_patch.py +2 -8
- azure/storage/blob/_generated/aio/operations/_service_operations.py +27 -25
- azure/storage/blob/_generated/models/__init__.py +91 -80
- azure/storage/blob/_generated/models/_models_py3.py +4 -5
- azure/storage/blob/_generated/models/_patch.py +2 -8
- azure/storage/blob/_generated/operations/__init__.py +14 -8
- azure/storage/blob/_generated/operations/_append_blob_operations.py +18 -16
- azure/storage/blob/_generated/operations/_blob_operations.py +67 -65
- azure/storage/blob/_generated/operations/_block_blob_operations.py +23 -21
- azure/storage/blob/_generated/operations/_container_operations.py +46 -44
- azure/storage/blob/_generated/operations/_page_blob_operations.py +30 -28
- azure/storage/blob/_generated/operations/_patch.py +2 -8
- azure/storage/blob/_generated/operations/_service_operations.py +26 -24
- azure/storage/blob/_serialize.py +1 -0
- azure/storage/blob/_version.py +1 -1
- {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0.dist-info}/METADATA +2 -2
- {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0.dist-info}/RECORD +33 -33
- {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0.dist-info}/LICENSE +0 -0
- {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0.dist-info}/WHEEL +0 -0
- {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -8,8 +8,9 @@
|
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
import datetime
|
10
10
|
import sys
|
11
|
-
from typing import Any, Callable, Dict, IO, Literal, Optional,
|
11
|
+
from typing import Any, Callable, Dict, IO, Literal, Optional, TypeVar, Union
|
12
12
|
|
13
|
+
from azure.core import PipelineClient
|
13
14
|
from azure.core.exceptions import (
|
14
15
|
ClientAuthenticationError,
|
15
16
|
HttpResponseError,
|
@@ -24,12 +25,13 @@ from azure.core.tracing.decorator import distributed_trace
|
|
24
25
|
from azure.core.utils import case_insensitive_dict
|
25
26
|
|
26
27
|
from .. import models as _models
|
27
|
-
from ..
|
28
|
+
from .._configuration import AzureBlobStorageConfiguration
|
29
|
+
from .._serialization import Deserializer, Serializer
|
28
30
|
|
29
31
|
if sys.version_info >= (3, 9):
|
30
32
|
from collections.abc import MutableMapping
|
31
33
|
else:
|
32
|
-
from typing import MutableMapping # type: ignore
|
34
|
+
from typing import MutableMapping # type: ignore
|
33
35
|
T = TypeVar("T")
|
34
36
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
35
37
|
|
@@ -679,10 +681,10 @@ class BlockBlobOperations:
|
|
679
681
|
|
680
682
|
def __init__(self, *args, **kwargs):
|
681
683
|
input_args = list(args)
|
682
|
-
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
683
|
-
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
684
|
-
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
685
|
-
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
684
|
+
self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
|
685
|
+
self._config: AzureBlobStorageConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
|
686
|
+
self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
687
|
+
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
686
688
|
|
687
689
|
@distributed_trace
|
688
690
|
def upload( # pylint: disable=inconsistent-return-statements
|
@@ -721,7 +723,7 @@ class BlockBlobOperations:
|
|
721
723
|
:type body: IO[bytes]
|
722
724
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
723
725
|
:code:`<a
|
724
|
-
href="https://
|
726
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
725
727
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
726
728
|
:type timeout: int
|
727
729
|
:param transactional_content_md5: Specify the transactional md5 for the body, to be validated
|
@@ -778,7 +780,7 @@ class BlockBlobOperations:
|
|
778
780
|
:rtype: None
|
779
781
|
:raises ~azure.core.exceptions.HttpResponseError:
|
780
782
|
"""
|
781
|
-
error_map: MutableMapping
|
783
|
+
error_map: MutableMapping = {
|
782
784
|
401: ClientAuthenticationError,
|
783
785
|
404: ResourceNotFoundError,
|
784
786
|
409: ResourceExistsError,
|
@@ -950,7 +952,7 @@ class BlockBlobOperations:
|
|
950
952
|
:type copy_source: str
|
951
953
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
952
954
|
:code:`<a
|
953
|
-
href="https://
|
955
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
954
956
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
955
957
|
:type timeout: int
|
956
958
|
:param transactional_content_md5: Specify the transactional md5 for the body, to be validated
|
@@ -1005,7 +1007,7 @@ class BlockBlobOperations:
|
|
1005
1007
|
:rtype: None
|
1006
1008
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1007
1009
|
"""
|
1008
|
-
error_map: MutableMapping
|
1010
|
+
error_map: MutableMapping = {
|
1009
1011
|
401: ClientAuthenticationError,
|
1010
1012
|
404: ResourceNotFoundError,
|
1011
1013
|
409: ResourceExistsError,
|
@@ -1182,7 +1184,7 @@ class BlockBlobOperations:
|
|
1182
1184
|
:type transactional_content_crc64: bytes
|
1183
1185
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1184
1186
|
:code:`<a
|
1185
|
-
href="https://
|
1187
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1186
1188
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1187
1189
|
:type timeout: int
|
1188
1190
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1206,7 +1208,7 @@ class BlockBlobOperations:
|
|
1206
1208
|
:rtype: None
|
1207
1209
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1208
1210
|
"""
|
1209
|
-
error_map: MutableMapping
|
1211
|
+
error_map: MutableMapping = {
|
1210
1212
|
401: ClientAuthenticationError,
|
1211
1213
|
404: ResourceNotFoundError,
|
1212
1214
|
409: ResourceExistsError,
|
@@ -1339,7 +1341,7 @@ class BlockBlobOperations:
|
|
1339
1341
|
:type source_contentcrc64: bytes
|
1340
1342
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1341
1343
|
:code:`<a
|
1342
|
-
href="https://
|
1344
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1343
1345
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1344
1346
|
:type timeout: int
|
1345
1347
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1362,7 +1364,7 @@ class BlockBlobOperations:
|
|
1362
1364
|
:rtype: None
|
1363
1365
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1364
1366
|
"""
|
1365
|
-
error_map: MutableMapping
|
1367
|
+
error_map: MutableMapping = {
|
1366
1368
|
401: ClientAuthenticationError,
|
1367
1369
|
404: ResourceNotFoundError,
|
1368
1370
|
409: ResourceExistsError,
|
@@ -1496,7 +1498,7 @@ class BlockBlobOperations:
|
|
1496
1498
|
:type blocks: ~azure.storage.blob.models.BlockLookupList
|
1497
1499
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1498
1500
|
:code:`<a
|
1499
|
-
href="https://
|
1501
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1500
1502
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1501
1503
|
:type timeout: int
|
1502
1504
|
:param transactional_content_md5: Specify the transactional md5 for the body, to be validated
|
@@ -1546,7 +1548,7 @@ class BlockBlobOperations:
|
|
1546
1548
|
:rtype: None
|
1547
1549
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1548
1550
|
"""
|
1549
|
-
error_map: MutableMapping
|
1551
|
+
error_map: MutableMapping = {
|
1550
1552
|
401: ClientAuthenticationError,
|
1551
1553
|
404: ResourceNotFoundError,
|
1552
1554
|
409: ResourceExistsError,
|
@@ -1694,7 +1696,7 @@ class BlockBlobOperations:
|
|
1694
1696
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
1695
1697
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
1696
1698
|
see :code:`<a
|
1697
|
-
href="https://
|
1699
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
1698
1700
|
a Snapshot of a Blob.</a>`. Default value is None.
|
1699
1701
|
:type snapshot: str
|
1700
1702
|
:param list_type: Specifies whether to return the list of committed blocks, the list of
|
@@ -1703,7 +1705,7 @@ class BlockBlobOperations:
|
|
1703
1705
|
:type list_type: str or ~azure.storage.blob.models.BlockListType
|
1704
1706
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1705
1707
|
:code:`<a
|
1706
|
-
href="https://
|
1708
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1707
1709
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1708
1710
|
:type timeout: int
|
1709
1711
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1718,7 +1720,7 @@ class BlockBlobOperations:
|
|
1718
1720
|
:rtype: ~azure.storage.blob.models.BlockList
|
1719
1721
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1720
1722
|
"""
|
1721
|
-
error_map: MutableMapping
|
1723
|
+
error_map: MutableMapping = {
|
1722
1724
|
401: ClientAuthenticationError,
|
1723
1725
|
404: ResourceNotFoundError,
|
1724
1726
|
409: ResourceExistsError,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -8,8 +8,9 @@
|
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
import datetime
|
10
10
|
import sys
|
11
|
-
from typing import Any, Callable, Dict, IO, Iterator, List, Literal, Optional,
|
11
|
+
from typing import Any, Callable, Dict, IO, Iterator, List, Literal, Optional, TypeVar, Union
|
12
12
|
|
13
|
+
from azure.core import PipelineClient
|
13
14
|
from azure.core.exceptions import (
|
14
15
|
ClientAuthenticationError,
|
15
16
|
HttpResponseError,
|
@@ -26,12 +27,13 @@ from azure.core.tracing.decorator import distributed_trace
|
|
26
27
|
from azure.core.utils import case_insensitive_dict
|
27
28
|
|
28
29
|
from .. import models as _models
|
29
|
-
from ..
|
30
|
+
from .._configuration import AzureBlobStorageConfiguration
|
31
|
+
from .._serialization import Deserializer, Serializer
|
30
32
|
|
31
33
|
if sys.version_info >= (3, 9):
|
32
34
|
from collections.abc import MutableMapping
|
33
35
|
else:
|
34
|
-
from typing import MutableMapping # type: ignore
|
36
|
+
from typing import MutableMapping # type: ignore
|
35
37
|
T = TypeVar("T")
|
36
38
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
37
39
|
|
@@ -899,10 +901,10 @@ class ContainerOperations:
|
|
899
901
|
|
900
902
|
def __init__(self, *args, **kwargs):
|
901
903
|
input_args = list(args)
|
902
|
-
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
903
|
-
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
904
|
-
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
905
|
-
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
904
|
+
self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
|
905
|
+
self._config: AzureBlobStorageConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
|
906
|
+
self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
907
|
+
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
906
908
|
|
907
909
|
@distributed_trace
|
908
910
|
def create( # pylint: disable=inconsistent-return-statements
|
@@ -920,7 +922,7 @@ class ContainerOperations:
|
|
920
922
|
|
921
923
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
922
924
|
:code:`<a
|
923
|
-
href="https://
|
925
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
924
926
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
925
927
|
:type timeout: int
|
926
928
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -944,7 +946,7 @@ class ContainerOperations:
|
|
944
946
|
:rtype: None
|
945
947
|
:raises ~azure.core.exceptions.HttpResponseError:
|
946
948
|
"""
|
947
|
-
error_map: MutableMapping
|
949
|
+
error_map: MutableMapping = {
|
948
950
|
401: ClientAuthenticationError,
|
949
951
|
404: ResourceNotFoundError,
|
950
952
|
409: ResourceExistsError,
|
@@ -1018,7 +1020,7 @@ class ContainerOperations:
|
|
1018
1020
|
|
1019
1021
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1020
1022
|
:code:`<a
|
1021
|
-
href="https://
|
1023
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1022
1024
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1023
1025
|
:type timeout: int
|
1024
1026
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1031,7 +1033,7 @@ class ContainerOperations:
|
|
1031
1033
|
:rtype: None
|
1032
1034
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1033
1035
|
"""
|
1034
|
-
error_map: MutableMapping
|
1036
|
+
error_map: MutableMapping = {
|
1035
1037
|
401: ClientAuthenticationError,
|
1036
1038
|
404: ResourceNotFoundError,
|
1037
1039
|
409: ResourceExistsError,
|
@@ -1121,7 +1123,7 @@ class ContainerOperations:
|
|
1121
1123
|
|
1122
1124
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1123
1125
|
:code:`<a
|
1124
|
-
href="https://
|
1126
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1125
1127
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1126
1128
|
:type timeout: int
|
1127
1129
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1136,7 +1138,7 @@ class ContainerOperations:
|
|
1136
1138
|
:rtype: None
|
1137
1139
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1138
1140
|
"""
|
1139
|
-
error_map: MutableMapping
|
1141
|
+
error_map: MutableMapping = {
|
1140
1142
|
401: ClientAuthenticationError,
|
1141
1143
|
404: ResourceNotFoundError,
|
1142
1144
|
409: ResourceExistsError,
|
@@ -1211,7 +1213,7 @@ class ContainerOperations:
|
|
1211
1213
|
|
1212
1214
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1213
1215
|
:code:`<a
|
1214
|
-
href="https://
|
1216
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1215
1217
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1216
1218
|
:type timeout: int
|
1217
1219
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -1234,7 +1236,7 @@ class ContainerOperations:
|
|
1234
1236
|
:rtype: None
|
1235
1237
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1236
1238
|
"""
|
1237
|
-
error_map: MutableMapping
|
1239
|
+
error_map: MutableMapping = {
|
1238
1240
|
401: ClientAuthenticationError,
|
1239
1241
|
404: ResourceNotFoundError,
|
1240
1242
|
409: ResourceExistsError,
|
@@ -1310,7 +1312,7 @@ class ContainerOperations:
|
|
1310
1312
|
|
1311
1313
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1312
1314
|
:code:`<a
|
1313
|
-
href="https://
|
1315
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1314
1316
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1315
1317
|
:type timeout: int
|
1316
1318
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1323,7 +1325,7 @@ class ContainerOperations:
|
|
1323
1325
|
:rtype: list[~azure.storage.blob.models.SignedIdentifier]
|
1324
1326
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1325
1327
|
"""
|
1326
|
-
error_map: MutableMapping
|
1328
|
+
error_map: MutableMapping = {
|
1327
1329
|
401: ClientAuthenticationError,
|
1328
1330
|
404: ResourceNotFoundError,
|
1329
1331
|
409: ResourceExistsError,
|
@@ -1404,7 +1406,7 @@ class ContainerOperations:
|
|
1404
1406
|
|
1405
1407
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1406
1408
|
:code:`<a
|
1407
|
-
href="https://
|
1409
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1408
1410
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1409
1411
|
:type timeout: int
|
1410
1412
|
:param access: Specifies whether data in the container may be accessed publicly and the level
|
@@ -1424,7 +1426,7 @@ class ContainerOperations:
|
|
1424
1426
|
:rtype: None
|
1425
1427
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1426
1428
|
"""
|
1427
|
-
error_map: MutableMapping
|
1429
|
+
error_map: MutableMapping = {
|
1428
1430
|
401: ClientAuthenticationError,
|
1429
1431
|
404: ResourceNotFoundError,
|
1430
1432
|
409: ResourceExistsError,
|
@@ -1513,7 +1515,7 @@ class ContainerOperations:
|
|
1513
1515
|
|
1514
1516
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1515
1517
|
:code:`<a
|
1516
|
-
href="https://
|
1518
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1517
1519
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1518
1520
|
:type timeout: int
|
1519
1521
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1530,7 +1532,7 @@ class ContainerOperations:
|
|
1530
1532
|
:rtype: None
|
1531
1533
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1532
1534
|
"""
|
1533
|
-
error_map: MutableMapping
|
1535
|
+
error_map: MutableMapping = {
|
1534
1536
|
401: ClientAuthenticationError,
|
1535
1537
|
404: ResourceNotFoundError,
|
1536
1538
|
409: ResourceExistsError,
|
@@ -1599,7 +1601,7 @@ class ContainerOperations:
|
|
1599
1601
|
:type source_container_name: str
|
1600
1602
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1601
1603
|
:code:`<a
|
1602
|
-
href="https://
|
1604
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1603
1605
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1604
1606
|
:type timeout: int
|
1605
1607
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1613,7 +1615,7 @@ class ContainerOperations:
|
|
1613
1615
|
:rtype: None
|
1614
1616
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1615
1617
|
"""
|
1616
|
-
error_map: MutableMapping
|
1618
|
+
error_map: MutableMapping = {
|
1617
1619
|
401: ClientAuthenticationError,
|
1618
1620
|
404: ResourceNotFoundError,
|
1619
1621
|
409: ResourceExistsError,
|
@@ -1683,7 +1685,7 @@ class ContainerOperations:
|
|
1683
1685
|
:type body: IO[bytes]
|
1684
1686
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1685
1687
|
:code:`<a
|
1686
|
-
href="https://
|
1688
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1687
1689
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1688
1690
|
:type timeout: int
|
1689
1691
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1694,7 +1696,7 @@ class ContainerOperations:
|
|
1694
1696
|
:rtype: Iterator[bytes]
|
1695
1697
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1696
1698
|
"""
|
1697
|
-
error_map: MutableMapping
|
1699
|
+
error_map: MutableMapping = {
|
1698
1700
|
401: ClientAuthenticationError,
|
1699
1701
|
404: ResourceNotFoundError,
|
1700
1702
|
409: ResourceExistsError,
|
@@ -1775,7 +1777,7 @@ class ContainerOperations:
|
|
1775
1777
|
|
1776
1778
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1777
1779
|
:code:`<a
|
1778
|
-
href="https://
|
1780
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1779
1781
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1780
1782
|
:type timeout: int
|
1781
1783
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1806,7 +1808,7 @@ class ContainerOperations:
|
|
1806
1808
|
:rtype: ~azure.storage.blob.models.FilterBlobSegment
|
1807
1809
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1808
1810
|
"""
|
1809
|
-
error_map: MutableMapping
|
1811
|
+
error_map: MutableMapping = {
|
1810
1812
|
401: ClientAuthenticationError,
|
1811
1813
|
404: ResourceNotFoundError,
|
1812
1814
|
409: ResourceExistsError,
|
@@ -1880,7 +1882,7 @@ class ContainerOperations:
|
|
1880
1882
|
|
1881
1883
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1882
1884
|
:code:`<a
|
1883
|
-
href="https://
|
1885
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1884
1886
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1885
1887
|
:type timeout: int
|
1886
1888
|
:param duration: Specifies the duration of the lease, in seconds, or negative one (-1) for a
|
@@ -1901,7 +1903,7 @@ class ContainerOperations:
|
|
1901
1903
|
:rtype: None
|
1902
1904
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1903
1905
|
"""
|
1904
|
-
error_map: MutableMapping
|
1906
|
+
error_map: MutableMapping = {
|
1905
1907
|
401: ClientAuthenticationError,
|
1906
1908
|
404: ResourceNotFoundError,
|
1907
1909
|
409: ResourceExistsError,
|
@@ -1983,7 +1985,7 @@ class ContainerOperations:
|
|
1983
1985
|
:type lease_id: str
|
1984
1986
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1985
1987
|
:code:`<a
|
1986
|
-
href="https://
|
1988
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1987
1989
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1988
1990
|
:type timeout: int
|
1989
1991
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1996,7 +1998,7 @@ class ContainerOperations:
|
|
1996
1998
|
:rtype: None
|
1997
1999
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1998
2000
|
"""
|
1999
|
-
error_map: MutableMapping
|
2001
|
+
error_map: MutableMapping = {
|
2000
2002
|
401: ClientAuthenticationError,
|
2001
2003
|
404: ResourceNotFoundError,
|
2002
2004
|
409: ResourceExistsError,
|
@@ -2076,7 +2078,7 @@ class ContainerOperations:
|
|
2076
2078
|
:type lease_id: str
|
2077
2079
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2078
2080
|
:code:`<a
|
2079
|
-
href="https://
|
2081
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2080
2082
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2081
2083
|
:type timeout: int
|
2082
2084
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2089,7 +2091,7 @@ class ContainerOperations:
|
|
2089
2091
|
:rtype: None
|
2090
2092
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2091
2093
|
"""
|
2092
|
-
error_map: MutableMapping
|
2094
|
+
error_map: MutableMapping = {
|
2093
2095
|
401: ClientAuthenticationError,
|
2094
2096
|
404: ResourceNotFoundError,
|
2095
2097
|
409: ResourceExistsError,
|
@@ -2168,7 +2170,7 @@ class ContainerOperations:
|
|
2168
2170
|
|
2169
2171
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2170
2172
|
:code:`<a
|
2171
|
-
href="https://
|
2173
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2172
2174
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2173
2175
|
:type timeout: int
|
2174
2176
|
:param break_period: For a break operation, proposed duration the lease should continue before
|
@@ -2189,7 +2191,7 @@ class ContainerOperations:
|
|
2189
2191
|
:rtype: None
|
2190
2192
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2191
2193
|
"""
|
2192
|
-
error_map: MutableMapping
|
2194
|
+
error_map: MutableMapping = {
|
2193
2195
|
401: ClientAuthenticationError,
|
2194
2196
|
404: ResourceNotFoundError,
|
2195
2197
|
409: ResourceExistsError,
|
@@ -2275,7 +2277,7 @@ class ContainerOperations:
|
|
2275
2277
|
:type proposed_lease_id: str
|
2276
2278
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2277
2279
|
:code:`<a
|
2278
|
-
href="https://
|
2280
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2279
2281
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2280
2282
|
:type timeout: int
|
2281
2283
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2288,7 +2290,7 @@ class ContainerOperations:
|
|
2288
2290
|
:rtype: None
|
2289
2291
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2290
2292
|
"""
|
2291
|
-
error_map: MutableMapping
|
2293
|
+
error_map: MutableMapping = {
|
2292
2294
|
401: ClientAuthenticationError,
|
2293
2295
|
404: ResourceNotFoundError,
|
2294
2296
|
409: ResourceExistsError,
|
@@ -2389,7 +2391,7 @@ class ContainerOperations:
|
|
2389
2391
|
:type include: list[str or ~azure.storage.blob.models.ListBlobsIncludeItem]
|
2390
2392
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2391
2393
|
:code:`<a
|
2392
|
-
href="https://
|
2394
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2393
2395
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2394
2396
|
:type timeout: int
|
2395
2397
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2400,7 +2402,7 @@ class ContainerOperations:
|
|
2400
2402
|
:rtype: ~azure.storage.blob.models.ListBlobsFlatSegmentResponse
|
2401
2403
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2402
2404
|
"""
|
2403
|
-
error_map: MutableMapping
|
2405
|
+
error_map: MutableMapping = {
|
2404
2406
|
401: ClientAuthenticationError,
|
2405
2407
|
404: ResourceNotFoundError,
|
2406
2408
|
409: ResourceExistsError,
|
@@ -2501,7 +2503,7 @@ class ContainerOperations:
|
|
2501
2503
|
:type include: list[str or ~azure.storage.blob.models.ListBlobsIncludeItem]
|
2502
2504
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2503
2505
|
:code:`<a
|
2504
|
-
href="https://
|
2506
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2505
2507
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2506
2508
|
:type timeout: int
|
2507
2509
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2512,7 +2514,7 @@ class ContainerOperations:
|
|
2512
2514
|
:rtype: ~azure.storage.blob.models.ListBlobsHierarchySegmentResponse
|
2513
2515
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2514
2516
|
"""
|
2515
|
-
error_map: MutableMapping
|
2517
|
+
error_map: MutableMapping = {
|
2516
2518
|
401: ClientAuthenticationError,
|
2517
2519
|
404: ResourceNotFoundError,
|
2518
2520
|
409: ResourceExistsError,
|
@@ -2581,7 +2583,7 @@ class ContainerOperations:
|
|
2581
2583
|
|
2582
2584
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2583
2585
|
:code:`<a
|
2584
|
-
href="https://
|
2586
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2585
2587
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2586
2588
|
:type timeout: int
|
2587
2589
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2592,7 +2594,7 @@ class ContainerOperations:
|
|
2592
2594
|
:rtype: None
|
2593
2595
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2594
2596
|
"""
|
2595
|
-
error_map: MutableMapping
|
2597
|
+
error_map: MutableMapping = {
|
2596
2598
|
401: ClientAuthenticationError,
|
2597
2599
|
404: ResourceNotFoundError,
|
2598
2600
|
409: ResourceExistsError,
|