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, Callable, Dict, Iterator, Literal, Optional,
|
11
|
+
from typing import Any, Callable, Dict, Iterator, 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
|
|
@@ -1507,10 +1509,10 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1507
1509
|
|
1508
1510
|
def __init__(self, *args, **kwargs):
|
1509
1511
|
input_args = list(args)
|
1510
|
-
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
1511
|
-
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
1512
|
-
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
1513
|
-
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
1512
|
+
self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
|
1513
|
+
self._config: AzureBlobStorageConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
|
1514
|
+
self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
1515
|
+
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
1514
1516
|
|
1515
1517
|
@distributed_trace
|
1516
1518
|
def download(
|
@@ -1535,7 +1537,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1535
1537
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
1536
1538
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
1537
1539
|
see :code:`<a
|
1538
|
-
href="https://
|
1540
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
1539
1541
|
a Snapshot of a Blob.</a>`. Default value is None.
|
1540
1542
|
:type snapshot: str
|
1541
1543
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -1544,7 +1546,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1544
1546
|
:type version_id: str
|
1545
1547
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1546
1548
|
:code:`<a
|
1547
|
-
href="https://
|
1549
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1548
1550
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1549
1551
|
:type timeout: int
|
1550
1552
|
:param range: Return only the bytes of the blob in the specified range. Default value is None.
|
@@ -1574,7 +1576,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1574
1576
|
:rtype: Iterator[bytes]
|
1575
1577
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1576
1578
|
"""
|
1577
|
-
error_map: MutableMapping
|
1579
|
+
error_map: MutableMapping = {
|
1578
1580
|
401: ClientAuthenticationError,
|
1579
1581
|
404: ResourceNotFoundError,
|
1580
1582
|
409: ResourceExistsError,
|
@@ -1851,7 +1853,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1851
1853
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
1852
1854
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
1853
1855
|
see :code:`<a
|
1854
|
-
href="https://
|
1856
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
1855
1857
|
a Snapshot of a Blob.</a>`. Default value is None.
|
1856
1858
|
:type snapshot: str
|
1857
1859
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -1860,7 +1862,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1860
1862
|
:type version_id: str
|
1861
1863
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
1862
1864
|
:code:`<a
|
1863
|
-
href="https://
|
1865
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
1864
1866
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
1865
1867
|
:type timeout: int
|
1866
1868
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -1877,7 +1879,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
1877
1879
|
:rtype: None
|
1878
1880
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1879
1881
|
"""
|
1880
|
-
error_map: MutableMapping
|
1882
|
+
error_map: MutableMapping = {
|
1881
1883
|
401: ClientAuthenticationError,
|
1882
1884
|
404: ResourceNotFoundError,
|
1883
1885
|
409: ResourceExistsError,
|
@@ -2065,7 +2067,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2065
2067
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
2066
2068
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
2067
2069
|
see :code:`<a
|
2068
|
-
href="https://
|
2070
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
2069
2071
|
a Snapshot of a Blob.</a>`. Default value is None.
|
2070
2072
|
:type snapshot: str
|
2071
2073
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -2074,7 +2076,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2074
2076
|
:type version_id: str
|
2075
2077
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2076
2078
|
:code:`<a
|
2077
|
-
href="https://
|
2079
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2078
2080
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2079
2081
|
:type timeout: int
|
2080
2082
|
:param delete_snapshots: Required if the blob has associated snapshots. Specify one of the
|
@@ -2098,7 +2100,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2098
2100
|
:rtype: None
|
2099
2101
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2100
2102
|
"""
|
2101
|
-
error_map: MutableMapping
|
2103
|
+
error_map: MutableMapping = {
|
2102
2104
|
401: ClientAuthenticationError,
|
2103
2105
|
404: ResourceNotFoundError,
|
2104
2106
|
409: ResourceExistsError,
|
@@ -2178,7 +2180,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2178
2180
|
|
2179
2181
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2180
2182
|
:code:`<a
|
2181
|
-
href="https://
|
2183
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2182
2184
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2183
2185
|
:type timeout: int
|
2184
2186
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2189,7 +2191,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
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,
|
@@ -2254,7 +2256,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2254
2256
|
:type expiry_options: str or ~azure.storage.blob.models.BlobExpiryOptions
|
2255
2257
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2256
2258
|
:code:`<a
|
2257
|
-
href="https://
|
2259
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2258
2260
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2259
2261
|
:type timeout: int
|
2260
2262
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2267,7 +2269,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2267
2269
|
:rtype: None
|
2268
2270
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2269
2271
|
"""
|
2270
|
-
error_map: MutableMapping
|
2272
|
+
error_map: MutableMapping = {
|
2271
2273
|
401: ClientAuthenticationError,
|
2272
2274
|
404: ResourceNotFoundError,
|
2273
2275
|
409: ResourceExistsError,
|
@@ -2334,7 +2336,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2334
2336
|
|
2335
2337
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2336
2338
|
:code:`<a
|
2337
|
-
href="https://
|
2339
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2338
2340
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2339
2341
|
:type timeout: int
|
2340
2342
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2351,7 +2353,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2351
2353
|
:rtype: None
|
2352
2354
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2353
2355
|
"""
|
2354
|
-
error_map: MutableMapping
|
2356
|
+
error_map: MutableMapping = {
|
2355
2357
|
401: ClientAuthenticationError,
|
2356
2358
|
404: ResourceNotFoundError,
|
2357
2359
|
409: ResourceExistsError,
|
@@ -2461,7 +2463,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2461
2463
|
|
2462
2464
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2463
2465
|
:code:`<a
|
2464
|
-
href="https://
|
2466
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2465
2467
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2466
2468
|
:type timeout: int
|
2467
2469
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2477,7 +2479,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2477
2479
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
2478
2480
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
2479
2481
|
see :code:`<a
|
2480
|
-
href="https://
|
2482
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
2481
2483
|
a Snapshot of a Blob.</a>`. Default value is None.
|
2482
2484
|
:type snapshot: str
|
2483
2485
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -2490,7 +2492,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2490
2492
|
:rtype: None
|
2491
2493
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2492
2494
|
"""
|
2493
|
-
error_map: MutableMapping
|
2495
|
+
error_map: MutableMapping = {
|
2494
2496
|
401: ClientAuthenticationError,
|
2495
2497
|
404: ResourceNotFoundError,
|
2496
2498
|
409: ResourceExistsError,
|
@@ -2567,7 +2569,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2567
2569
|
|
2568
2570
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2569
2571
|
:code:`<a
|
2570
|
-
href="https://
|
2572
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2571
2573
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2572
2574
|
:type timeout: int
|
2573
2575
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2577,7 +2579,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2577
2579
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
2578
2580
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
2579
2581
|
see :code:`<a
|
2580
|
-
href="https://
|
2582
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
2581
2583
|
a Snapshot of a Blob.</a>`. Default value is None.
|
2582
2584
|
:type snapshot: str
|
2583
2585
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -2588,7 +2590,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2588
2590
|
:rtype: None
|
2589
2591
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2590
2592
|
"""
|
2591
|
-
error_map: MutableMapping
|
2593
|
+
error_map: MutableMapping = {
|
2592
2594
|
401: ClientAuthenticationError,
|
2593
2595
|
404: ResourceNotFoundError,
|
2594
2596
|
409: ResourceExistsError,
|
@@ -2655,7 +2657,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2655
2657
|
:type legal_hold: bool
|
2656
2658
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2657
2659
|
:code:`<a
|
2658
|
-
href="https://
|
2660
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2659
2661
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2660
2662
|
:type timeout: int
|
2661
2663
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -2665,7 +2667,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2665
2667
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
2666
2668
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
2667
2669
|
see :code:`<a
|
2668
|
-
href="https://
|
2670
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
2669
2671
|
a Snapshot of a Blob.</a>`. Default value is None.
|
2670
2672
|
:type snapshot: str
|
2671
2673
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -2676,7 +2678,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2676
2678
|
:rtype: None
|
2677
2679
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2678
2680
|
"""
|
2679
|
-
error_map: MutableMapping
|
2681
|
+
error_map: MutableMapping = {
|
2680
2682
|
401: ClientAuthenticationError,
|
2681
2683
|
404: ResourceNotFoundError,
|
2682
2684
|
409: ResourceExistsError,
|
@@ -2746,7 +2748,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2746
2748
|
|
2747
2749
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2748
2750
|
:code:`<a
|
2749
|
-
href="https://
|
2751
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2750
2752
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2751
2753
|
:type timeout: int
|
2752
2754
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -2773,7 +2775,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2773
2775
|
:rtype: None
|
2774
2776
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2775
2777
|
"""
|
2776
|
-
error_map: MutableMapping
|
2778
|
+
error_map: MutableMapping = {
|
2777
2779
|
401: ClientAuthenticationError,
|
2778
2780
|
404: ResourceNotFoundError,
|
2779
2781
|
409: ResourceExistsError,
|
@@ -2885,7 +2887,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2885
2887
|
|
2886
2888
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2887
2889
|
:code:`<a
|
2888
|
-
href="https://
|
2890
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2889
2891
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
2890
2892
|
:type timeout: int
|
2891
2893
|
:param duration: Specifies the duration of the lease, in seconds, or negative one (-1) for a
|
@@ -2906,7 +2908,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2906
2908
|
:rtype: None
|
2907
2909
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2908
2910
|
"""
|
2909
|
-
error_map: MutableMapping
|
2911
|
+
error_map: MutableMapping = {
|
2910
2912
|
401: ClientAuthenticationError,
|
2911
2913
|
404: ResourceNotFoundError,
|
2912
2914
|
409: ResourceExistsError,
|
@@ -2995,7 +2997,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
2995
2997
|
:type lease_id: str
|
2996
2998
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
2997
2999
|
:code:`<a
|
2998
|
-
href="https://
|
3000
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
2999
3001
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3000
3002
|
:type timeout: int
|
3001
3003
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -3008,7 +3010,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3008
3010
|
:rtype: None
|
3009
3011
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3010
3012
|
"""
|
3011
|
-
error_map: MutableMapping
|
3013
|
+
error_map: MutableMapping = {
|
3012
3014
|
401: ClientAuthenticationError,
|
3013
3015
|
404: ResourceNotFoundError,
|
3014
3016
|
409: ResourceExistsError,
|
@@ -3095,7 +3097,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3095
3097
|
:type lease_id: str
|
3096
3098
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3097
3099
|
:code:`<a
|
3098
|
-
href="https://
|
3100
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
3099
3101
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3100
3102
|
:type timeout: int
|
3101
3103
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -3108,7 +3110,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3108
3110
|
:rtype: None
|
3109
3111
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3110
3112
|
"""
|
3111
|
-
error_map: MutableMapping
|
3113
|
+
error_map: MutableMapping = {
|
3112
3114
|
401: ClientAuthenticationError,
|
3113
3115
|
404: ResourceNotFoundError,
|
3114
3116
|
409: ResourceExistsError,
|
@@ -3201,7 +3203,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3201
3203
|
:type proposed_lease_id: str
|
3202
3204
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3203
3205
|
:code:`<a
|
3204
|
-
href="https://
|
3206
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
3205
3207
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3206
3208
|
:type timeout: int
|
3207
3209
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -3214,7 +3216,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3214
3216
|
:rtype: None
|
3215
3217
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3216
3218
|
"""
|
3217
|
-
error_map: MutableMapping
|
3219
|
+
error_map: MutableMapping = {
|
3218
3220
|
401: ClientAuthenticationError,
|
3219
3221
|
404: ResourceNotFoundError,
|
3220
3222
|
409: ResourceExistsError,
|
@@ -3301,7 +3303,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3301
3303
|
|
3302
3304
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3303
3305
|
:code:`<a
|
3304
|
-
href="https://
|
3306
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
3305
3307
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3306
3308
|
:type timeout: int
|
3307
3309
|
:param break_period: For a break operation, proposed duration the lease should continue before
|
@@ -3322,7 +3324,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3322
3324
|
:rtype: None
|
3323
3325
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3324
3326
|
"""
|
3325
|
-
error_map: MutableMapping
|
3327
|
+
error_map: MutableMapping = {
|
3326
3328
|
401: ClientAuthenticationError,
|
3327
3329
|
404: ResourceNotFoundError,
|
3328
3330
|
409: ResourceExistsError,
|
@@ -3410,7 +3412,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3410
3412
|
|
3411
3413
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3412
3414
|
:code:`<a
|
3413
|
-
href="https://
|
3415
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
3414
3416
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3415
3417
|
:type timeout: int
|
3416
3418
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -3437,7 +3439,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3437
3439
|
:rtype: None
|
3438
3440
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3439
3441
|
"""
|
3440
|
-
error_map: MutableMapping
|
3442
|
+
error_map: MutableMapping = {
|
3441
3443
|
401: ClientAuthenticationError,
|
3442
3444
|
404: ResourceNotFoundError,
|
3443
3445
|
409: ResourceExistsError,
|
@@ -3557,7 +3559,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3557
3559
|
:type copy_source: str
|
3558
3560
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3559
3561
|
:code:`<a
|
3560
|
-
href="https://
|
3562
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
3561
3563
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3562
3564
|
:type timeout: int
|
3563
3565
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -3604,7 +3606,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3604
3606
|
:rtype: None
|
3605
3607
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3606
3608
|
"""
|
3607
|
-
error_map: MutableMapping
|
3609
|
+
error_map: MutableMapping = {
|
3608
3610
|
401: ClientAuthenticationError,
|
3609
3611
|
404: ResourceNotFoundError,
|
3610
3612
|
409: ResourceExistsError,
|
@@ -3733,7 +3735,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3733
3735
|
:type copy_source: str
|
3734
3736
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3735
3737
|
:code:`<a
|
3736
|
-
href="https://
|
3738
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
3737
3739
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3738
3740
|
:type timeout: int
|
3739
3741
|
:param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
|
@@ -3786,7 +3788,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3786
3788
|
:rtype: None
|
3787
3789
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3788
3790
|
"""
|
3789
|
-
error_map: MutableMapping
|
3791
|
+
error_map: MutableMapping = {
|
3790
3792
|
401: ClientAuthenticationError,
|
3791
3793
|
404: ResourceNotFoundError,
|
3792
3794
|
409: ResourceExistsError,
|
@@ -3914,7 +3916,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3914
3916
|
:type copy_id: str
|
3915
3917
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
3916
3918
|
:code:`<a
|
3917
|
-
href="https://
|
3919
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
3918
3920
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
3919
3921
|
:type timeout: int
|
3920
3922
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -3927,7 +3929,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
3927
3929
|
:rtype: None
|
3928
3930
|
:raises ~azure.core.exceptions.HttpResponseError:
|
3929
3931
|
"""
|
3930
|
-
error_map: MutableMapping
|
3932
|
+
error_map: MutableMapping = {
|
3931
3933
|
401: ClientAuthenticationError,
|
3932
3934
|
404: ResourceNotFoundError,
|
3933
3935
|
409: ResourceExistsError,
|
@@ -4012,7 +4014,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4012
4014
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
4013
4015
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
4014
4016
|
see :code:`<a
|
4015
|
-
href="https://
|
4017
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
4016
4018
|
a Snapshot of a Blob.</a>`. Default value is None.
|
4017
4019
|
:type snapshot: str
|
4018
4020
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -4021,7 +4023,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4021
4023
|
:type version_id: str
|
4022
4024
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
4023
4025
|
:code:`<a
|
4024
|
-
href="https://
|
4026
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
4025
4027
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
4026
4028
|
:type timeout: int
|
4027
4029
|
:param rehydrate_priority: Optional: Indicates the priority with which to rehydrate an archived
|
@@ -4039,7 +4041,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4039
4041
|
:rtype: None
|
4040
4042
|
:raises ~azure.core.exceptions.HttpResponseError:
|
4041
4043
|
"""
|
4042
|
-
error_map: MutableMapping
|
4044
|
+
error_map: MutableMapping = {
|
4043
4045
|
401: ClientAuthenticationError,
|
4044
4046
|
404: ResourceNotFoundError,
|
4045
4047
|
409: ResourceExistsError,
|
@@ -4108,7 +4110,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4108
4110
|
|
4109
4111
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
4110
4112
|
:code:`<a
|
4111
|
-
href="https://
|
4113
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
4112
4114
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
4113
4115
|
:type timeout: int
|
4114
4116
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -4119,7 +4121,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4119
4121
|
:rtype: None
|
4120
4122
|
:raises ~azure.core.exceptions.HttpResponseError:
|
4121
4123
|
"""
|
4122
|
-
error_map: MutableMapping
|
4124
|
+
error_map: MutableMapping = {
|
4123
4125
|
401: ClientAuthenticationError,
|
4124
4126
|
404: ResourceNotFoundError,
|
4125
4127
|
409: ResourceExistsError,
|
@@ -4191,12 +4193,12 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4191
4193
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
4192
4194
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
4193
4195
|
see :code:`<a
|
4194
|
-
href="https://
|
4196
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
4195
4197
|
a Snapshot of a Blob.</a>`. Default value is None.
|
4196
4198
|
:type snapshot: str
|
4197
4199
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
4198
4200
|
:code:`<a
|
4199
|
-
href="https://
|
4201
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
4200
4202
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
4201
4203
|
:type timeout: int
|
4202
4204
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -4215,7 +4217,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4215
4217
|
:rtype: Iterator[bytes]
|
4216
4218
|
:raises ~azure.core.exceptions.HttpResponseError:
|
4217
4219
|
"""
|
4218
|
-
error_map: MutableMapping
|
4220
|
+
error_map: MutableMapping = {
|
4219
4221
|
401: ClientAuthenticationError,
|
4220
4222
|
404: ResourceNotFoundError,
|
4221
4223
|
409: ResourceExistsError,
|
@@ -4439,7 +4441,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4439
4441
|
|
4440
4442
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
4441
4443
|
:code:`<a
|
4442
|
-
href="https://
|
4444
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
4443
4445
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
4444
4446
|
:type timeout: int
|
4445
4447
|
:param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
|
@@ -4449,7 +4451,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4449
4451
|
:param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
|
4450
4452
|
specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
|
4451
4453
|
see :code:`<a
|
4452
|
-
href="https://
|
4454
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
|
4453
4455
|
a Snapshot of a Blob.</a>`. Default value is None.
|
4454
4456
|
:type snapshot: str
|
4455
4457
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -4464,7 +4466,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4464
4466
|
:rtype: ~azure.storage.blob.models.BlobTags
|
4465
4467
|
:raises ~azure.core.exceptions.HttpResponseError:
|
4466
4468
|
"""
|
4467
|
-
error_map: MutableMapping
|
4469
|
+
error_map: MutableMapping = {
|
4468
4470
|
401: ClientAuthenticationError,
|
4469
4471
|
404: ResourceNotFoundError,
|
4470
4472
|
409: ResourceExistsError,
|
@@ -4545,7 +4547,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4545
4547
|
|
4546
4548
|
:param timeout: The timeout parameter is expressed in seconds. For more information, see
|
4547
4549
|
:code:`<a
|
4548
|
-
href="https://
|
4550
|
+
href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
|
4549
4551
|
Timeouts for Blob Service Operations.</a>`. Default value is None.
|
4550
4552
|
:type timeout: int
|
4551
4553
|
:param version_id: The version id parameter is an opaque DateTime value that, when present,
|
@@ -4572,7 +4574,7 @@ class BlobOperations: # pylint: disable=too-many-public-methods
|
|
4572
4574
|
:rtype: None
|
4573
4575
|
:raises ~azure.core.exceptions.HttpResponseError:
|
4574
4576
|
"""
|
4575
|
-
error_map: MutableMapping
|
4577
|
+
error_map: MutableMapping = {
|
4576
4578
|
401: ClientAuthenticationError,
|
4577
4579
|
404: ResourceNotFoundError,
|
4578
4580
|
409: ResourceExistsError,
|