azure-storage-blob 12.24.1__py3-none-any.whl → 12.25.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/_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.0b1.dist-info}/METADATA +1 -1
- {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0b1.dist-info}/RECORD +33 -33
- {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0b1.dist-info}/LICENSE +0 -0
- {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0b1.dist-info}/WHEEL +0 -0
- {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0b1.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, AsyncIterator, Callable, Dict, Literal, Optional,
|
11
|
+
from typing import Any, AsyncIterator, Callable, Dict, Literal, Optional, TypeVar, Union
|
12
12
|
|
13
|
+
from azure.core import AsyncPipelineClient
|
13
14
|
from azure.core.exceptions import (
|
14
15
|
ClientAuthenticationError,
|
15
16
|
HttpResponseError,
|
@@ -26,6 +27,7 @@ from azure.core.tracing.decorator_async import distributed_trace_async
|
|
26
27
|
from azure.core.utils import case_insensitive_dict
|
27
28
|
|
28
29
|
from ... import models as _models
|
30
|
+
from ..._serialization import Deserializer, Serializer
|
29
31
|
from ...operations._blob_operations import (
|
30
32
|
build_abort_copy_from_url_request,
|
31
33
|
build_acquire_lease_request,
|
@@ -52,11 +54,12 @@ from ...operations._blob_operations import (
|
|
52
54
|
build_start_copy_from_url_request,
|
53
55
|
build_undelete_request,
|
54
56
|
)
|
57
|
+
from .._configuration import AzureBlobStorageConfiguration
|
55
58
|
|
56
59
|
if sys.version_info >= (3, 9):
|
57
60
|
from collections.abc import MutableMapping
|
58
61
|
else:
|
59
|
-
from typing import MutableMapping # type: ignore
|
62
|
+
from typing import MutableMapping # type: ignore
|
60
63
|
T = TypeVar("T")
|
61
64
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
62
65
|
|
@@ -75,10 +78,10 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
75
78
|
|
76
79
|
def __init__(self, *args, **kwargs) -> None:
|
77
80
|
input_args = list(args)
|
78
|
-
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
79
|
-
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
80
|
-
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
81
|
-
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
81
|
+
self._client: AsyncPipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
|
82
|
+
self._config: AzureBlobStorageConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
|
83
|
+
self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
84
|
+
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
82
85
|
|
83
86
|
@distributed_trace_async
|
84
87
|
async def download(
|
@@ -103,7 +106,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
103
106
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
104
107
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
105
108
|
see :code:`<a
|
106
|
-
href="https://
|
109
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
107
110
|
a Snapshot of a Blob.</a>`. Default value is None.
|
108
111
|
:type snapshot: str
|
109
112
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -112,7 +115,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
112
115
|
:type version_id: str
|
113
116
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
114
117
|
:code:`<a
|
115
|
-
href="https://
|
118
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
116
119
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
117
120
|
:type timeout: int
|
118
121
|
:param range: Return only the bytes of the blob in the specified range. Default value is None.
|
@@ -142,7 +145,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
142
145
|
:rtype: AsyncIterator[bytes]
|
143
146
|
:raises ~azure.core.exceptions.HttpResponseError:
|
144
147
|
"""
|
145
|
-
error_map: MutableMapping
|
148
|
+
error_map: MutableMapping = {
|
146
149
|
401: ClientAuthenticationError,
|
147
150
|
404: ResourceNotFoundError,
|
148
151
|
409: ResourceExistsError,
|
@@ -401,7 +404,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
401
404
|
return deserialized # type: ignore
|
402
405
|
|
403
406
|
@distributed_trace_async
|
404
|
-
async def get_properties(
|
407
|
+
async def get_properties(
|
405
408
|
self,
|
406
409
|
snapshot: Optional[str] = None,
|
407
410
|
version_id: Optional[str] = None,
|
@@ -419,7 +422,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
419
422
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
420
423
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
421
424
|
see :code:`<a
|
422
|
-
href="https://
|
425
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
423
426
|
a Snapshot of a Blob.</a>`. Default value is None.
|
424
427
|
:type snapshot: str
|
425
428
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -428,7 +431,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
428
431
|
:type version_id: str
|
429
432
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
430
433
|
:code:`<a
|
431
|
-
href="https://
|
434
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
432
435
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
433
436
|
:type timeout: int
|
434
437
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -445,7 +448,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
445
448
|
:rtype: None
|
446
449
|
:raises ~azure.core.exceptions.HttpResponseError:
|
447
450
|
"""
|
448
|
-
error_map: MutableMapping
|
451
|
+
error_map: MutableMapping = {
|
449
452
|
401: ClientAuthenticationError,
|
450
453
|
404: ResourceNotFoundError,
|
451
454
|
409: ResourceExistsError,
|
@@ -604,7 +607,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
604
607
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
605
608
|
|
606
609
|
@distributed_trace_async
|
607
|
-
async def delete(
|
610
|
+
async def delete(
|
608
611
|
self,
|
609
612
|
snapshot: Optional[str] = None,
|
610
613
|
version_id: Optional[str] = None,
|
@@ -633,7 +636,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
633
636
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
634
637
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
635
638
|
see :code:`<a
|
636
|
-
href="https://
|
639
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
637
640
|
a Snapshot of a Blob.</a>`. Default value is None.
|
638
641
|
:type snapshot: str
|
639
642
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -642,7 +645,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
642
645
|
:type version_id: str
|
643
646
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
644
647
|
:code:`<a
|
645
|
-
href="https://
|
648
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
646
649
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
647
650
|
:type timeout: int
|
648
651
|
:param delete_snapshots: Required if the blob has associated snapshots. Specify one of the
|
@@ -666,7 +669,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
666
669
|
:rtype: None
|
667
670
|
:raises ~azure.core.exceptions.HttpResponseError:
|
668
671
|
"""
|
669
|
-
error_map: MutableMapping
|
672
|
+
error_map: MutableMapping = {
|
670
673
|
401: ClientAuthenticationError,
|
671
674
|
404: ResourceNotFoundError,
|
672
675
|
409: ResourceExistsError,
|
@@ -738,7 +741,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
738
741
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
739
742
|
|
740
743
|
@distributed_trace_async
|
741
|
-
async def undelete(
|
744
|
+
async def undelete(
|
742
745
|
self, timeout: Optional[int] = None, request_id_parameter: Optional[str] = None, **kwargs: Any
|
743
746
|
) -> None:
|
744
747
|
# pylint: disable=line-too-long
|
@@ -746,7 +749,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
746
749
|
|
747
750
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
748
751
|
:code:`<a
|
749
|
-
href="https://
|
752
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
750
753
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
751
754
|
:type timeout: int
|
752
755
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -757,7 +760,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
757
760
|
:rtype: None
|
758
761
|
:raises ~azure.core.exceptions.HttpResponseError:
|
759
762
|
"""
|
760
|
-
error_map: MutableMapping
|
763
|
+
error_map: MutableMapping = {
|
761
764
|
401: ClientAuthenticationError,
|
762
765
|
404: ResourceNotFoundError,
|
763
766
|
409: ResourceExistsError,
|
@@ -806,7 +809,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
806
809
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
807
810
|
|
808
811
|
@distributed_trace_async
|
809
|
-
async def set_expiry(
|
812
|
+
async def set_expiry(
|
810
813
|
self,
|
811
814
|
expiry_options: Union[str, _models.BlobExpiryOptions],
|
812
815
|
timeout: Optional[int] = None,
|
@@ -822,7 +825,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
822
825
|
:type expiry_options: str or ~azure.storage.blob.models.BlobExpiryOptions
|
823
826
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
824
827
|
:code:`<a
|
825
|
-
href="https://
|
828
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
826
829
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
827
830
|
:type timeout: int
|
828
831
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -835,7 +838,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
835
838
|
:rtype: None
|
836
839
|
:raises ~azure.core.exceptions.HttpResponseError:
|
837
840
|
"""
|
838
|
-
error_map: MutableMapping
|
841
|
+
error_map: MutableMapping = {
|
839
842
|
401: ClientAuthenticationError,
|
840
843
|
404: ResourceNotFoundError,
|
841
844
|
409: ResourceExistsError,
|
@@ -888,7 +891,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
888
891
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
889
892
|
|
890
893
|
@distributed_trace_async
|
891
|
-
async def set_http_headers(
|
894
|
+
async def set_http_headers(
|
892
895
|
self,
|
893
896
|
timeout: Optional[int] = None,
|
894
897
|
request_id_parameter: Optional[str] = None,
|
@@ -902,7 +905,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
902
905
|
|
903
906
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
904
907
|
:code:`<a
|
905
|
-
href="https://
|
908
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
906
909
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
907
910
|
:type timeout: int
|
908
911
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -919,7 +922,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
919
922
|
:rtype: None
|
920
923
|
:raises ~azure.core.exceptions.HttpResponseError:
|
921
924
|
"""
|
922
|
-
error_map: MutableMapping
|
925
|
+
error_map: MutableMapping = {
|
923
926
|
401: ClientAuthenticationError,
|
924
927
|
404: ResourceNotFoundError,
|
925
928
|
409: ResourceExistsError,
|
@@ -1013,7 +1016,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1013
1016
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
1014
1017
|
|
1015
1018
|
@distributed_trace_async
|
1016
|
-
async def set_immutability_policy(
|
1019
|
+
async def set_immutability_policy(
|
1017
1020
|
self,
|
1018
1021
|
timeout: Optional[int] = None,
|
1019
1022
|
request_id_parameter: Optional[str] = None,
|
@@ -1029,7 +1032,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1029
1032
|
|
1030
1033
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1031
1034
|
:code:`<a
|
1032
|
-
href="https://
|
1035
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1033
1036
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1034
1037
|
:type timeout: int
|
1035
1038
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1045,7 +1048,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1045
1048
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
1046
1049
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
1047
1050
|
see :code:`<a
|
1048
|
-
href="https://
|
1051
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
1049
1052
|
a Snapshot of a Blob.</a>`. Default value is None.
|
1050
1053
|
:type snapshot: str
|
1051
1054
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -1058,7 +1061,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1058
1061
|
:rtype: None
|
1059
1062
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1060
1063
|
"""
|
1061
|
-
error_map: MutableMapping
|
1064
|
+
error_map: MutableMapping = {
|
1062
1065
|
401: ClientAuthenticationError,
|
1063
1066
|
404: ResourceNotFoundError,
|
1064
1067
|
409: ResourceExistsError,
|
@@ -1122,7 +1125,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1122
1125
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
1123
1126
|
|
1124
1127
|
@distributed_trace_async
|
1125
|
-
async def delete_immutability_policy(
|
1128
|
+
async def delete_immutability_policy(
|
1126
1129
|
self,
|
1127
1130
|
timeout: Optional[int] = None,
|
1128
1131
|
request_id_parameter: Optional[str] = None,
|
@@ -1135,7 +1138,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1135
1138
|
|
1136
1139
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1137
1140
|
:code:`<a
|
1138
|
-
href="https://
|
1141
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1139
1142
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1140
1143
|
:type timeout: int
|
1141
1144
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1145,7 +1148,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1145
1148
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
1146
1149
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
1147
1150
|
see :code:`<a
|
1148
|
-
href="https://
|
1151
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
1149
1152
|
a Snapshot of a Blob.</a>`. Default value is None.
|
1150
1153
|
:type snapshot: str
|
1151
1154
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -1156,7 +1159,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1156
1159
|
:rtype: None
|
1157
1160
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1158
1161
|
"""
|
1159
|
-
error_map: MutableMapping
|
1162
|
+
error_map: MutableMapping = {
|
1160
1163
|
401: ClientAuthenticationError,
|
1161
1164
|
404: ResourceNotFoundError,
|
1162
1165
|
409: ResourceExistsError,
|
@@ -1207,7 +1210,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1207
1210
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
1208
1211
|
|
1209
1212
|
@distributed_trace_async
|
1210
|
-
async def set_legal_hold(
|
1213
|
+
async def set_legal_hold(
|
1211
1214
|
self,
|
1212
1215
|
legal_hold: bool,
|
1213
1216
|
timeout: Optional[int] = None,
|
@@ -1223,7 +1226,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1223
1226
|
:type legal_hold: bool
|
1224
1227
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1225
1228
|
:code:`<a
|
1226
|
-
href="https://
|
1229
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1227
1230
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1228
1231
|
:type timeout: int
|
1229
1232
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1233,7 +1236,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1233
1236
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
1234
1237
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
1235
1238
|
see :code:`<a
|
1236
|
-
href="https://
|
1239
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
1237
1240
|
a Snapshot of a Blob.</a>`. Default value is None.
|
1238
1241
|
:type snapshot: str
|
1239
1242
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -1244,7 +1247,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1244
1247
|
:rtype: None
|
1245
1248
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1246
1249
|
"""
|
1247
|
-
error_map: MutableMapping
|
1250
|
+
error_map: MutableMapping = {
|
1248
1251
|
401: ClientAuthenticationError,
|
1249
1252
|
404: ResourceNotFoundError,
|
1250
1253
|
409: ResourceExistsError,
|
@@ -1297,7 +1300,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1297
1300
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
1298
1301
|
|
1299
1302
|
@distributed_trace_async
|
1300
|
-
async def set_metadata(
|
1303
|
+
async def set_metadata(
|
1301
1304
|
self,
|
1302
1305
|
timeout: Optional[int] = None,
|
1303
1306
|
metadata: Optional[Dict[str, str]] = None,
|
@@ -1314,7 +1317,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1314
1317
|
|
1315
1318
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1316
1319
|
:code:`<a
|
1317
|
-
href="https://
|
1320
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1318
1321
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1319
1322
|
:type timeout: int
|
1320
1323
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -1341,7 +1344,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1341
1344
|
:rtype: None
|
1342
1345
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1343
1346
|
"""
|
1344
|
-
error_map: MutableMapping
|
1347
|
+
error_map: MutableMapping = {
|
1345
1348
|
401: ClientAuthenticationError,
|
1346
1349
|
404: ResourceNotFoundError,
|
1347
1350
|
409: ResourceExistsError,
|
@@ -1438,7 +1441,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1438
1441
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
1439
1442
|
|
1440
1443
|
@distributed_trace_async
|
1441
|
-
async def acquire_lease(
|
1444
|
+
async def acquire_lease(
|
1442
1445
|
self,
|
1443
1446
|
timeout: Optional[int] = None,
|
1444
1447
|
duration: Optional[int] = None,
|
@@ -1453,7 +1456,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1453
1456
|
|
1454
1457
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1455
1458
|
:code:`<a
|
1456
|
-
href="https://
|
1459
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1457
1460
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1458
1461
|
:type timeout: int
|
1459
1462
|
:param duration: Specifies the duration of the lease, in seconds, or negative one (-1) for a
|
@@ -1474,7 +1477,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1474
1477
|
:rtype: None
|
1475
1478
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1476
1479
|
"""
|
1477
|
-
error_map: MutableMapping
|
1480
|
+
error_map: MutableMapping = {
|
1478
1481
|
401: ClientAuthenticationError,
|
1479
1482
|
404: ResourceNotFoundError,
|
1480
1483
|
409: ResourceExistsError,
|
@@ -1547,7 +1550,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1547
1550
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
1548
1551
|
|
1549
1552
|
@distributed_trace_async
|
1550
|
-
async def release_lease(
|
1553
|
+
async def release_lease(
|
1551
1554
|
self,
|
1552
1555
|
lease_id: str,
|
1553
1556
|
timeout: Optional[int] = None,
|
@@ -1563,7 +1566,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1563
1566
|
:type lease_id: str
|
1564
1567
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1565
1568
|
:code:`<a
|
1566
|
-
href="https://
|
1569
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1567
1570
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1568
1571
|
:type timeout: int
|
1569
1572
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1576,7 +1579,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1576
1579
|
:rtype: None
|
1577
1580
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1578
1581
|
"""
|
1579
|
-
error_map: MutableMapping
|
1582
|
+
error_map: MutableMapping = {
|
1580
1583
|
401: ClientAuthenticationError,
|
1581
1584
|
404: ResourceNotFoundError,
|
1582
1585
|
409: ResourceExistsError,
|
@@ -1647,7 +1650,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1647
1650
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
1648
1651
|
|
1649
1652
|
@distributed_trace_async
|
1650
|
-
async def renew_lease(
|
1653
|
+
async def renew_lease(
|
1651
1654
|
self,
|
1652
1655
|
lease_id: str,
|
1653
1656
|
timeout: Optional[int] = None,
|
@@ -1663,7 +1666,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1663
1666
|
:type lease_id: str
|
1664
1667
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1665
1668
|
:code:`<a
|
1666
|
-
href="https://
|
1669
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1667
1670
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1668
1671
|
:type timeout: int
|
1669
1672
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1676,7 +1679,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1676
1679
|
:rtype: None
|
1677
1680
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1678
1681
|
"""
|
1679
|
-
error_map: MutableMapping
|
1682
|
+
error_map: MutableMapping = {
|
1680
1683
|
401: ClientAuthenticationError,
|
1681
1684
|
404: ResourceNotFoundError,
|
1682
1685
|
409: ResourceExistsError,
|
@@ -1748,7 +1751,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1748
1751
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
1749
1752
|
|
1750
1753
|
@distributed_trace_async
|
1751
|
-
async def change_lease(
|
1754
|
+
async def change_lease(
|
1752
1755
|
self,
|
1753
1756
|
lease_id: str,
|
1754
1757
|
proposed_lease_id: str,
|
@@ -1769,7 +1772,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1769
1772
|
:type proposed_lease_id: str
|
1770
1773
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1771
1774
|
:code:`<a
|
1772
|
-
href="https://
|
1775
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1773
1776
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1774
1777
|
:type timeout: int
|
1775
1778
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1782,7 +1785,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1782
1785
|
:rtype: None
|
1783
1786
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1784
1787
|
"""
|
1785
|
-
error_map: MutableMapping
|
1788
|
+
error_map: MutableMapping = {
|
1786
1789
|
401: ClientAuthenticationError,
|
1787
1790
|
404: ResourceNotFoundError,
|
1788
1791
|
409: ResourceExistsError,
|
@@ -1855,7 +1858,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1855
1858
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
1856
1859
|
|
1857
1860
|
@distributed_trace_async
|
1858
|
-
async def break_lease(
|
1861
|
+
async def break_lease(
|
1859
1862
|
self,
|
1860
1863
|
timeout: Optional[int] = None,
|
1861
1864
|
break_period: Optional[int] = None,
|
@@ -1869,7 +1872,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1869
1872
|
|
1870
1873
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1871
1874
|
:code:`<a
|
1872
|
-
href="https://
|
1875
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1873
1876
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1874
1877
|
:type timeout: int
|
1875
1878
|
:param break_period: For a break operation, proposed duration the lease should continue before
|
@@ -1890,7 +1893,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1890
1893
|
:rtype: None
|
1891
1894
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1892
1895
|
"""
|
1893
|
-
error_map: MutableMapping
|
1896
|
+
error_map: MutableMapping = {
|
1894
1897
|
401: ClientAuthenticationError,
|
1895
1898
|
404: ResourceNotFoundError,
|
1896
1899
|
409: ResourceExistsError,
|
@@ -1962,7 +1965,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1962
1965
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
1963
1966
|
|
1964
1967
|
@distributed_trace_async
|
1965
|
-
async def create_snapshot(
|
1968
|
+
async def create_snapshot(
|
1966
1969
|
self,
|
1967
1970
|
timeout: Optional[int] = None,
|
1968
1971
|
metadata: Optional[Dict[str, str]] = None,
|
@@ -1978,7 +1981,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1978
1981
|
|
1979
1982
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1980
1983
|
:code:`<a
|
1981
|
-
href="https://
|
1984
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1982
1985
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1983
1986
|
:type timeout: int
|
1984
1987
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -2005,7 +2008,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2005
2008
|
:rtype: None
|
2006
2009
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2007
2010
|
"""
|
2008
|
-
error_map: MutableMapping
|
2011
|
+
error_map: MutableMapping = {
|
2009
2012
|
401: ClientAuthenticationError,
|
2010
2013
|
404: ResourceNotFoundError,
|
2011
2014
|
409: ResourceExistsError,
|
@@ -2097,7 +2100,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2097
2100
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
2098
2101
|
|
2099
2102
|
@distributed_trace_async
|
2100
|
-
async def start_copy_from_url(
|
2103
|
+
async def start_copy_from_url(
|
2101
2104
|
self,
|
2102
2105
|
copy_source: str,
|
2103
2106
|
timeout: Optional[int] = None,
|
@@ -2125,7 +2128,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2125
2128
|
:type copy_source: str
|
2126
2129
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2127
2130
|
:code:`<a
|
2128
|
-
href="https://
|
2131
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2129
2132
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2130
2133
|
:type timeout: int
|
2131
2134
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -2172,7 +2175,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2172
2175
|
:rtype: None
|
2173
2176
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2174
2177
|
"""
|
2175
|
-
error_map: MutableMapping
|
2178
|
+
error_map: MutableMapping = {
|
2176
2179
|
401: ClientAuthenticationError,
|
2177
2180
|
404: ResourceNotFoundError,
|
2178
2181
|
409: ResourceExistsError,
|
@@ -2270,7 +2273,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2270
2273
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
2271
2274
|
|
2272
2275
|
@distributed_trace_async
|
2273
|
-
async def copy_from_url(
|
2276
|
+
async def copy_from_url(
|
2274
2277
|
self,
|
2275
2278
|
copy_source: str,
|
2276
2279
|
timeout: Optional[int] = None,
|
@@ -2301,7 +2304,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2301
2304
|
:type copy_source: str
|
2302
2305
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2303
2306
|
:code:`<a
|
2304
|
-
href="https://
|
2307
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2305
2308
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2306
2309
|
:type timeout: int
|
2307
2310
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -2354,7 +2357,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2354
2357
|
:rtype: None
|
2355
2358
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2356
2359
|
"""
|
2357
|
-
error_map: MutableMapping
|
2360
|
+
error_map: MutableMapping = {
|
2358
2361
|
401: ClientAuthenticationError,
|
2359
2362
|
404: ResourceNotFoundError,
|
2360
2363
|
409: ResourceExistsError,
|
@@ -2465,7 +2468,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2465
2468
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
2466
2469
|
|
2467
2470
|
@distributed_trace_async
|
2468
|
-
async def abort_copy_from_url(
|
2471
|
+
async def abort_copy_from_url(
|
2469
2472
|
self,
|
2470
2473
|
copy_id: str,
|
2471
2474
|
timeout: Optional[int] = None,
|
@@ -2482,7 +2485,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2482
2485
|
:type copy_id: str
|
2483
2486
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2484
2487
|
:code:`<a
|
2485
|
-
href="https://
|
2488
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2486
2489
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2487
2490
|
:type timeout: int
|
2488
2491
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2495,7 +2498,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2495
2498
|
:rtype: None
|
2496
2499
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2497
2500
|
"""
|
2498
|
-
error_map: MutableMapping
|
2501
|
+
error_map: MutableMapping = {
|
2499
2502
|
401: ClientAuthenticationError,
|
2500
2503
|
404: ResourceNotFoundError,
|
2501
2504
|
409: ResourceExistsError,
|
@@ -2554,7 +2557,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2554
2557
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
2555
2558
|
|
2556
2559
|
@distributed_trace_async
|
2557
|
-
async def set_tier(
|
2560
|
+
async def set_tier(
|
2558
2561
|
self,
|
2559
2562
|
tier: Union[str, _models.AccessTierRequired],
|
2560
2563
|
snapshot: Optional[str] = None,
|
@@ -2580,7 +2583,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2580
2583
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
2581
2584
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
2582
2585
|
see :code:`<a
|
2583
|
-
href="https://
|
2586
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
2584
2587
|
a Snapshot of a Blob.</a>`. Default value is None.
|
2585
2588
|
:type snapshot: str
|
2586
2589
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -2589,7 +2592,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2589
2592
|
:type version_id: str
|
2590
2593
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2591
2594
|
:code:`<a
|
2592
|
-
href="https://
|
2595
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2593
2596
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2594
2597
|
:type timeout: int
|
2595
2598
|
:param rehydrate_priority: Optional: Indicates the priority with which to rehydrate an archived
|
@@ -2607,7 +2610,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2607
2610
|
:rtype: None
|
2608
2611
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2609
2612
|
"""
|
2610
|
-
error_map: MutableMapping
|
2613
|
+
error_map: MutableMapping = {
|
2611
2614
|
401: ClientAuthenticationError,
|
2612
2615
|
404: ResourceNotFoundError,
|
2613
2616
|
409: ResourceExistsError,
|
@@ -2668,7 +2671,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2668
2671
|
return cls(pipeline_response, None, response_headers) # type: ignore
|
2669
2672
|
|
2670
2673
|
@distributed_trace_async
|
2671
|
-
async def get_account_info(
|
2674
|
+
async def get_account_info(
|
2672
2675
|
self, timeout: Optional[int] = None, request_id_parameter: Optional[str] = None, **kwargs: Any
|
2673
2676
|
) -> None:
|
2674
2677
|
# pylint: disable=line-too-long
|
@@ -2676,7 +2679,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2676
2679
|
|
2677
2680
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2678
2681
|
:code:`<a
|
2679
|
-
href="https://
|
2682
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2680
2683
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2681
2684
|
:type timeout: int
|
2682
2685
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2687,7 +2690,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2687
2690
|
:rtype: None
|
2688
2691
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2689
2692
|
"""
|
2690
|
-
error_map: MutableMapping
|
2693
|
+
error_map: MutableMapping = {
|
2691
2694
|
401: ClientAuthenticationError,
|
2692
2695
|
404: ResourceNotFoundError,
|
2693
2696
|
409: ResourceExistsError,
|
@@ -2759,12 +2762,12 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2759
2762
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
2760
2763
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
2761
2764
|
see :code:`<a
|
2762
|
-
href="https://
|
2765
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
2763
2766
|
a Snapshot of a Blob.</a>`. Default value is None.
|
2764
2767
|
:type snapshot: str
|
2765
2768
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2766
2769
|
:code:`<a
|
2767
|
-
href="https://
|
2770
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2768
2771
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2769
2772
|
:type timeout: int
|
2770
2773
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2783,7 +2786,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2783
2786
|
:rtype: AsyncIterator[bytes]
|
2784
2787
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2785
2788
|
"""
|
2786
|
-
error_map: MutableMapping
|
2789
|
+
error_map: MutableMapping = {
|
2787
2790
|
401: ClientAuthenticationError,
|
2788
2791
|
404: ResourceNotFoundError,
|
2789
2792
|
409: ResourceExistsError,
|
@@ -3007,7 +3010,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3007
3010
|
|
3008
3011
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3009
3012
|
:code:`<a
|
3010
|
-
href="https://
|
3013
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
3011
3014
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3012
3015
|
:type timeout: int
|
3013
3016
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -3017,7 +3020,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3017
3020
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
3018
3021
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
3019
3022
|
see :code:`<a
|
3020
|
-
href="https://
|
3023
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
3021
3024
|
a Snapshot of a Blob.</a>`. Default value is None.
|
3022
3025
|
:type snapshot: str
|
3023
3026
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -3032,7 +3035,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3032
3035
|
:rtype: ~azure.storage.blob.models.BlobTags
|
3033
3036
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3034
3037
|
"""
|
3035
|
-
error_map: MutableMapping
|
3038
|
+
error_map: MutableMapping = {
|
3036
3039
|
401: ClientAuthenticationError,
|
3037
3040
|
404: ResourceNotFoundError,
|
3038
3041
|
409: ResourceExistsError,
|
@@ -3096,7 +3099,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3096
3099
|
return deserialized # type: ignore
|
3097
3100
|
|
3098
3101
|
@distributed_trace_async
|
3099
|
-
async def set_tags(
|
3102
|
+
async def set_tags(
|
3100
3103
|
self,
|
3101
3104
|
timeout: Optional[int] = None,
|
3102
3105
|
version_id: Optional[str] = None,
|
@@ -3113,7 +3116,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3113
3116
|
|
3114
3117
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3115
3118
|
:code:`<a
|
3116
|
-
href="https://
|
3119
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
3117
3120
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3118
3121
|
:type timeout: int
|
3119
3122
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -3140,7 +3143,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3140
3143
|
:rtype: None
|
3141
3144
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3142
3145
|
"""
|
3143
|
-
error_map: MutableMapping
|
3146
|
+
error_map: MutableMapping = {
|
3144
3147
|
401: ClientAuthenticationError,
|
3145
3148
|
404: ResourceNotFoundError,
|
3146
3149
|
409: ResourceExistsError,
|