azure-storage-blob 12.20.0b1__py3-none-any.whl → 12.21.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/__init__.py +12 -2
- azure/storage/blob/_blob_client.py +64 -51
- azure/storage/blob/_blob_service_client.py +17 -12
- azure/storage/blob/_container_client.py +33 -23
- azure/storage/blob/_download.py +277 -167
- azure/storage/blob/_generated/_azure_blob_storage.py +1 -1
- azure/storage/blob/_generated/_configuration.py +2 -2
- azure/storage/blob/_generated/_patch.py +2 -0
- azure/storage/blob/_generated/_serialization.py +1 -1
- azure/storage/blob/_generated/aio/_azure_blob_storage.py +1 -1
- azure/storage/blob/_generated/aio/_configuration.py +2 -2
- azure/storage/blob/_generated/aio/_patch.py +2 -0
- azure/storage/blob/_generated/aio/operations/_append_blob_operations.py +10 -5
- azure/storage/blob/_generated/aio/operations/_blob_operations.py +45 -26
- azure/storage/blob/_generated/aio/operations/_block_blob_operations.py +12 -7
- azure/storage/blob/_generated/aio/operations/_container_operations.py +39 -20
- azure/storage/blob/_generated/aio/operations/_page_blob_operations.py +15 -10
- azure/storage/blob/_generated/aio/operations/_patch.py +3 -0
- azure/storage/blob/_generated/aio/operations/_service_operations.py +28 -10
- azure/storage/blob/_generated/models/_patch.py +3 -0
- azure/storage/blob/_generated/operations/_append_blob_operations.py +14 -9
- azure/storage/blob/_generated/operations/_blob_operations.py +76 -51
- azure/storage/blob/_generated/operations/_block_blob_operations.py +18 -13
- azure/storage/blob/_generated/operations/_container_operations.py +64 -39
- azure/storage/blob/_generated/operations/_page_blob_operations.py +24 -19
- azure/storage/blob/_generated/operations/_patch.py +3 -0
- azure/storage/blob/_generated/operations/_service_operations.py +43 -19
- azure/storage/blob/_generated/py.typed +1 -0
- azure/storage/blob/_lease.py +6 -5
- azure/storage/blob/_models.py +1 -1
- azure/storage/blob/_serialize.py +1 -0
- azure/storage/blob/_shared/authentication.py +62 -4
- azure/storage/blob/_shared/base_client.py +1 -1
- azure/storage/blob/_shared/base_client_async.py +3 -2
- azure/storage/blob/_shared/models.py +13 -12
- azure/storage/blob/_shared/shared_access_signature.py +1 -0
- azure/storage/blob/_shared_access_signature.py +1 -0
- azure/storage/blob/_version.py +1 -1
- azure/storage/blob/aio/__init__.py +13 -4
- azure/storage/blob/aio/_blob_client_async.py +50 -47
- azure/storage/blob/aio/_blob_service_client_async.py +11 -11
- azure/storage/blob/aio/_container_client_async.py +23 -20
- azure/storage/blob/aio/_download_async.py +317 -209
- azure/storage/blob/aio/_lease_async.py +6 -6
- {azure_storage_blob-12.20.0b1.dist-info → azure_storage_blob-12.21.0.dist-info}/METADATA +2 -2
- azure_storage_blob-12.21.0.dist-info/RECORD +82 -0
- azure_storage_blob-12.20.0b1.dist-info/RECORD +0 -81
- {azure_storage_blob-12.20.0b1.dist-info → azure_storage_blob-12.21.0.dist-info}/LICENSE +0 -0
- {azure_storage_blob-12.20.0b1.dist-info → azure_storage_blob-12.21.0.dist-info}/WHEEL +0 -0
- {azure_storage_blob-12.20.0b1.dist-info → azure_storage_blob-12.21.0.dist-info}/top_level.txt +0 -0
azure/storage/blob/__init__.py
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for
|
4
4
|
# license information.
|
5
5
|
# --------------------------------------------------------------------------
|
6
|
+
# pylint: disable=docstring-keyword-should-match-keyword-only
|
7
|
+
|
6
8
|
import os
|
7
9
|
|
8
10
|
from typing import Union, Iterable, AnyStr, IO, Any, Dict # pylint: disable=unused-import
|
@@ -92,7 +94,11 @@ def upload_blob_to_url(
|
|
92
94
|
- except in the case of AzureSasCredential, where the conflicting SAS tokens will raise a ValueError.
|
93
95
|
If using an instance of AzureNamedKeyCredential, "name" should be the storage account name, and "key"
|
94
96
|
should be the storage account key.
|
95
|
-
:type credential:
|
97
|
+
:type credential:
|
98
|
+
~azure.core.credentials.AzureNamedKeyCredential or
|
99
|
+
~azure.core.credentials.AzureSasCredential or
|
100
|
+
~azure.core.credentials.TokenCredential or
|
101
|
+
str or dict[str, str] or None
|
96
102
|
:keyword bool overwrite:
|
97
103
|
Whether the blob to be uploaded should overwrite the current data.
|
98
104
|
If True, upload_blob_to_url will overwrite any existing data. If set to False, the
|
@@ -156,7 +162,11 @@ def download_blob_from_url(
|
|
156
162
|
- except in the case of AzureSasCredential, where the conflicting SAS tokens will raise a ValueError.
|
157
163
|
If using an instance of AzureNamedKeyCredential, "name" should be the storage account name, and "key"
|
158
164
|
should be the storage account key.
|
159
|
-
:type credential:
|
165
|
+
:type credential:
|
166
|
+
~azure.core.credentials.AzureNamedKeyCredential or
|
167
|
+
~azure.core.credentials.AzureSasCredential or
|
168
|
+
~azure.core.credentials.TokenCredential or
|
169
|
+
str or dict[str, str] or None
|
160
170
|
:keyword bool overwrite:
|
161
171
|
Whether the local file should be overwritten if it already exists. The default value is
|
162
172
|
`False` - in which case a ValueError will be raised if the file already exists. If set to
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for
|
4
4
|
# license information.
|
5
5
|
# --------------------------------------------------------------------------
|
6
|
-
# pylint: disable=too-many-lines
|
6
|
+
# pylint: disable=too-many-lines, docstring-keyword-should-match-keyword-only
|
7
7
|
|
8
8
|
from functools import partial
|
9
9
|
from io import BytesIO
|
@@ -91,7 +91,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
91
91
|
|
92
92
|
For more optional configuration, please click
|
93
93
|
`here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
94
|
-
#optional-configuration>`
|
94
|
+
#optional-configuration>`__.
|
95
95
|
|
96
96
|
:param str account_url:
|
97
97
|
The URI to the storage account. In order to create a client given the full URI to the blob,
|
@@ -237,7 +237,11 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
237
237
|
- except in the case of AzureSasCredential, where the conflicting SAS tokens will raise a ValueError.
|
238
238
|
If using an instance of AzureNamedKeyCredential, "name" should be the storage account name, and "key"
|
239
239
|
should be the storage account key.
|
240
|
-
:type credential:
|
240
|
+
:type credential:
|
241
|
+
~azure.core.credentials.AzureNamedKeyCredential or
|
242
|
+
~azure.core.credentials.AzureSasCredential or
|
243
|
+
~azure.core.credentials.TokenCredential or
|
244
|
+
str or dict[str, str] or None
|
241
245
|
:param str snapshot:
|
242
246
|
The optional blob snapshot on which to operate. This can be the snapshot ID string
|
243
247
|
or the response returned from :func:`create_snapshot`. If specified, this will override
|
@@ -326,7 +330,11 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
326
330
|
Credentials provided here will take precedence over those in the connection string.
|
327
331
|
If using an instance of AzureNamedKeyCredential, "name" should be the storage account name, and "key"
|
328
332
|
should be the storage account key.
|
329
|
-
:type credential:
|
333
|
+
:type credential:
|
334
|
+
~azure.core.credentials.AzureNamedKeyCredential or
|
335
|
+
~azure.core.credentials.AzureSasCredential or
|
336
|
+
~azure.core.credentials.TokenCredential or
|
337
|
+
str or dict[str, str] or None
|
330
338
|
:keyword str version_id: The version id parameter is an opaque DateTime value that, when present,
|
331
339
|
specifies the version of the blob to operate on.
|
332
340
|
:keyword str audience: The audience to use when requesting tokens for Azure Active Directory
|
@@ -514,9 +522,9 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
514
522
|
:param str source_url:
|
515
523
|
A URL of up to 2 KB in length that specifies a file or blob.
|
516
524
|
The value should be URL-encoded as it would appear in a request URI.
|
517
|
-
|
518
|
-
|
519
|
-
is public, no authentication is required.
|
525
|
+
The source must either be public or must be authenticated via a shared
|
526
|
+
access signature as part of the url or using the source_authorization keyword.
|
527
|
+
If the source is public, no authentication is required.
|
520
528
|
Examples:
|
521
529
|
https://myaccount.blob.core.windows.net/mycontainer/myblob
|
522
530
|
|
@@ -533,7 +541,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
533
541
|
The tag set may contain at most 10 tags. Tag keys must be between 1 and 128 characters,
|
534
542
|
and tag values must be between 0 and 256 characters.
|
535
543
|
Valid tag key and value characters include: lowercase and uppercase letters, digits (0-9),
|
536
|
-
space (
|
544
|
+
space (' '), plus (+), minus (-), period (.), solidus (/), colon (:), equals (=), underscore (_)
|
537
545
|
:paramtype tags: dict(str, str)
|
538
546
|
:keyword bytearray source_content_md5:
|
539
547
|
Specify the md5 that is used to verify the integrity of the source bytes.
|
@@ -581,7 +589,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
581
589
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
582
590
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
583
591
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
584
|
-
#other-client--per-operation-configuration>`
|
592
|
+
#other-client--per-operation-configuration>`__.
|
585
593
|
:keyword ~azure.storage.blob.ContentSettings content_settings:
|
586
594
|
ContentSettings object used to set blob properties. Used to set content type, encoding,
|
587
595
|
language, disposition, md5, and cache control.
|
@@ -637,7 +645,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
637
645
|
The tag set may contain at most 10 tags. Tag keys must be between 1 and 128 characters,
|
638
646
|
and tag values must be between 0 and 256 characters.
|
639
647
|
Valid tag key and value characters include: lowercase and uppercase letters, digits (0-9),
|
640
|
-
space (
|
648
|
+
space (' '), plus (+), minus (-), period (.), solidus (/), colon (:), equals (=), underscore (_)
|
641
649
|
|
642
650
|
.. versionadded:: 12.4.0
|
643
651
|
|
@@ -743,7 +751,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
743
751
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
744
752
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
745
753
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
746
|
-
#other-client--per-operation-configuration>`
|
754
|
+
#other-client--per-operation-configuration>`__. This method may make multiple calls to the service and
|
747
755
|
the timeout will apply to each call individually.
|
748
756
|
:returns: Blob-updated property dict (Etag and last modified)
|
749
757
|
:rtype: dict[str, Any]
|
@@ -862,6 +870,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
862
870
|
value that, when present, specifies the version of the blob to download.
|
863
871
|
|
864
872
|
.. versionadded:: 12.4.0
|
873
|
+
|
865
874
|
This keyword argument was introduced in API version '2019-12-12'.
|
866
875
|
|
867
876
|
:keyword bool validate_content:
|
@@ -920,7 +929,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
920
929
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
921
930
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
922
931
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
923
|
-
#other-client--per-operation-configuration>`
|
932
|
+
#other-client--per-operation-configuration>`__. This method may make multiple calls to the service and
|
924
933
|
the timeout will apply to each call individually.
|
925
934
|
multiple calls to the Azure service and the timeout will apply to
|
926
935
|
each call individually.
|
@@ -1076,7 +1085,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1076
1085
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1077
1086
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1078
1087
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1079
|
-
#other-client--per-operation-configuration>`
|
1088
|
+
#other-client--per-operation-configuration>`__.
|
1080
1089
|
:returns: A streaming object (BlobQueryReader)
|
1081
1090
|
:rtype: ~azure.storage.blob.BlobQueryReader
|
1082
1091
|
|
@@ -1159,6 +1168,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1159
1168
|
value that, when present, specifies the version of the blob to delete.
|
1160
1169
|
|
1161
1170
|
.. versionadded:: 12.4.0
|
1171
|
+
|
1162
1172
|
This keyword argument was introduced in API version '2019-12-12'.
|
1163
1173
|
|
1164
1174
|
:keyword lease:
|
@@ -1194,7 +1204,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1194
1204
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1195
1205
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1196
1206
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1197
|
-
#other-client--per-operation-configuration>`
|
1207
|
+
#other-client--per-operation-configuration>`__.
|
1198
1208
|
:rtype: None
|
1199
1209
|
|
1200
1210
|
.. admonition:: Example:
|
@@ -1229,7 +1239,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1229
1239
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1230
1240
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1231
1241
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1232
|
-
#other-client--per-operation-configuration>`
|
1242
|
+
#other-client--per-operation-configuration>`__.
|
1233
1243
|
:rtype: None
|
1234
1244
|
|
1235
1245
|
.. admonition:: Example:
|
@@ -1261,7 +1271,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1261
1271
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1262
1272
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1263
1273
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1264
|
-
#other-client--per-operation-configuration>`
|
1274
|
+
#other-client--per-operation-configuration>`__.
|
1265
1275
|
:returns: boolean
|
1266
1276
|
:rtype: bool
|
1267
1277
|
"""
|
@@ -1296,6 +1306,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1296
1306
|
value that, when present, specifies the version of the blob to get properties.
|
1297
1307
|
|
1298
1308
|
.. versionadded:: 12.4.0
|
1309
|
+
|
1299
1310
|
This keyword argument was introduced in API version '2019-12-12'.
|
1300
1311
|
|
1301
1312
|
:keyword ~datetime.datetime if_modified_since:
|
@@ -1331,7 +1342,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1331
1342
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1332
1343
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1333
1344
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1334
|
-
#other-client--per-operation-configuration>`
|
1345
|
+
#other-client--per-operation-configuration>`__.
|
1335
1346
|
:returns: BlobProperties
|
1336
1347
|
:rtype: ~azure.storage.blob.BlobProperties
|
1337
1348
|
|
@@ -1441,7 +1452,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1441
1452
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1442
1453
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1443
1454
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1444
|
-
#other-client--per-operation-configuration>`
|
1455
|
+
#other-client--per-operation-configuration>`__.
|
1445
1456
|
:returns: Blob-updated property dict (Etag and last modified)
|
1446
1457
|
:rtype: Dict[str, Any]
|
1447
1458
|
"""
|
@@ -1532,7 +1543,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1532
1543
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1533
1544
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1534
1545
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1535
|
-
#other-client--per-operation-configuration>`
|
1546
|
+
#other-client--per-operation-configuration>`__.
|
1536
1547
|
:returns: Blob-updated property dict (Etag and last modified)
|
1537
1548
|
:rtype: Dict[str, Union[str, datetime]]
|
1538
1549
|
"""
|
@@ -1561,7 +1572,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1561
1572
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1562
1573
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1563
1574
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1564
|
-
#other-client--per-operation-configuration>`
|
1575
|
+
#other-client--per-operation-configuration>`__.
|
1565
1576
|
:returns: Key value pairs of blob tags.
|
1566
1577
|
:rtype: Dict[str, str]
|
1567
1578
|
"""
|
@@ -1583,7 +1594,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1583
1594
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1584
1595
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1585
1596
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1586
|
-
#other-client--per-operation-configuration>`
|
1597
|
+
#other-client--per-operation-configuration>`__.
|
1587
1598
|
:returns: Key value pairs of blob tags.
|
1588
1599
|
:rtype: Dict[str, str]
|
1589
1600
|
"""
|
@@ -1605,7 +1616,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1605
1616
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1606
1617
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1607
1618
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1608
|
-
#other-client--per-operation-configuration>`
|
1619
|
+
#other-client--per-operation-configuration>`__.
|
1609
1620
|
:returns: Key value pairs of blob tags.
|
1610
1621
|
:rtype: Dict[str, Union[str, datetime, bool]]
|
1611
1622
|
"""
|
@@ -1707,7 +1718,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1707
1718
|
The tag set may contain at most 10 tags. Tag keys must be between 1 and 128 characters,
|
1708
1719
|
and tag values must be between 0 and 256 characters.
|
1709
1720
|
Valid tag key and value characters include: lowercase and uppercase letters, digits (0-9),
|
1710
|
-
space (
|
1721
|
+
space (' '), plus (+), minus (-), period (.), solidus (/), colon (:), equals (=), underscore (_)
|
1711
1722
|
|
1712
1723
|
.. versionadded:: 12.4.0
|
1713
1724
|
|
@@ -1767,7 +1778,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1767
1778
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1768
1779
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1769
1780
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1770
|
-
#other-client--per-operation-configuration>`
|
1781
|
+
#other-client--per-operation-configuration>`__.
|
1771
1782
|
:returns: Blob-updated property dict (Etag and last modified).
|
1772
1783
|
:rtype: dict[str, Any]
|
1773
1784
|
"""
|
@@ -1849,7 +1860,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1849
1860
|
The tag set may contain at most 10 tags. Tag keys must be between 1 and 128 characters,
|
1850
1861
|
and tag values must be between 0 and 256 characters.
|
1851
1862
|
Valid tag key and value characters include: lowercase and uppercase letters, digits (0-9),
|
1852
|
-
space (
|
1863
|
+
space (' '), plus (+), minus (-), period (.), solidus (/), colon (:), equals (=), underscore (_)
|
1853
1864
|
|
1854
1865
|
.. versionadded:: 12.4.0
|
1855
1866
|
|
@@ -1905,7 +1916,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
1905
1916
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
1906
1917
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
1907
1918
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
1908
|
-
#other-client--per-operation-configuration>`
|
1919
|
+
#other-client--per-operation-configuration>`__.
|
1909
1920
|
:returns: Blob-updated property dict (Etag and last modified).
|
1910
1921
|
:rtype: dict[str, Any]
|
1911
1922
|
"""
|
@@ -2004,7 +2015,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2004
2015
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
2005
2016
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
2006
2017
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
2007
|
-
#other-client--per-operation-configuration>`
|
2018
|
+
#other-client--per-operation-configuration>`__.
|
2008
2019
|
:returns: Blob-updated property dict (Snapshot ID, Etag, and last modified).
|
2009
2020
|
:rtype: dict[str, Any]
|
2010
2021
|
|
@@ -2163,7 +2174,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2163
2174
|
The tag set may contain at most 10 tags. Tag keys must be between 1 and 128 characters,
|
2164
2175
|
and tag values must be between 0 and 256 characters.
|
2165
2176
|
Valid tag key and value characters include: lowercase and uppercase letters, digits (0-9),
|
2166
|
-
space (
|
2177
|
+
space (' '), plus (+), minus (-), period (.), solidus (/), colon (:), equals (=), underscore (_).
|
2167
2178
|
|
2168
2179
|
The (case-sensitive) literal "COPY" can instead be passed to copy tags from the source blob.
|
2169
2180
|
This option is only available when `incremental_copy=False` and `requires_sync=True`.
|
@@ -2235,7 +2246,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2235
2246
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
2236
2247
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
2237
2248
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
2238
|
-
#other-client--per-operation-configuration>`
|
2249
|
+
#other-client--per-operation-configuration>`__.
|
2239
2250
|
:keyword ~azure.storage.blob.PremiumPageBlobTier premium_page_blob_tier:
|
2240
2251
|
A page blob tier value to set the blob to. The tier correlates to the size of the
|
2241
2252
|
blob and number of allowed IOPS. This is only applicable to page blobs on
|
@@ -2382,7 +2393,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2382
2393
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
2383
2394
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
2384
2395
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
2385
|
-
#other-client--per-operation-configuration>`
|
2396
|
+
#other-client--per-operation-configuration>`__.
|
2386
2397
|
:returns: A BlobLeaseClient object.
|
2387
2398
|
:rtype: ~azure.storage.blob.BlobLeaseClient
|
2388
2399
|
|
@@ -2422,18 +2433,20 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2422
2433
|
value that, when present, specifies the version of the blob to download.
|
2423
2434
|
|
2424
2435
|
.. versionadded:: 12.4.0
|
2436
|
+
|
2425
2437
|
This keyword argument was introduced in API version '2019-12-12'.
|
2426
2438
|
:keyword str if_tags_match_condition:
|
2427
2439
|
Specify a SQL where clause on blob tags to operate only on blob with a matching value.
|
2428
2440
|
eg. ``\"\\\"tagname\\\"='my tag'\"``
|
2429
2441
|
|
2430
2442
|
.. versionadded:: 12.4.0
|
2443
|
+
|
2431
2444
|
:keyword int timeout:
|
2432
2445
|
Sets the server-side timeout for the operation in seconds. For more details see
|
2433
2446
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
2434
2447
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
2435
2448
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
2436
|
-
#other-client--per-operation-configuration>`
|
2449
|
+
#other-client--per-operation-configuration>`__.
|
2437
2450
|
:keyword lease:
|
2438
2451
|
Required if the blob has an active lease. Value can be a BlobLeaseClient object
|
2439
2452
|
or the lease ID as a string.
|
@@ -2553,7 +2566,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2553
2566
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
2554
2567
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
2555
2568
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
2556
|
-
#other-client--per-operation-configuration>`
|
2569
|
+
#other-client--per-operation-configuration>`__.
|
2557
2570
|
:returns: Blob property dict.
|
2558
2571
|
:rtype: dict[str, Any]
|
2559
2572
|
"""
|
@@ -2657,7 +2670,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2657
2670
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
2658
2671
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
2659
2672
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
2660
|
-
#other-client--per-operation-configuration>`
|
2673
|
+
#other-client--per-operation-configuration>`__.
|
2661
2674
|
:keyword str source_authorization:
|
2662
2675
|
Authenticate as a service principal using a client secret to access a source blob. Ensure "bearer " is
|
2663
2676
|
the prefix of the source_authorization string.
|
@@ -2710,7 +2723,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2710
2723
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
2711
2724
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
2712
2725
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
2713
|
-
#other-client--per-operation-configuration>`
|
2726
|
+
#other-client--per-operation-configuration>`__.
|
2714
2727
|
:returns: A tuple of two lists - committed and uncommitted blocks
|
2715
2728
|
:rtype: tuple(list(~azure.storage.blob.BlobBlock), list(~azure.storage.blob.BlobBlock))
|
2716
2729
|
"""
|
@@ -2822,7 +2835,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2822
2835
|
The tag set may contain at most 10 tags. Tag keys must be between 1 and 128 characters,
|
2823
2836
|
and tag values must be between 0 and 256 characters.
|
2824
2837
|
Valid tag key and value characters include: lowercase and uppercase letters, digits (0-9),
|
2825
|
-
space (
|
2838
|
+
space (' '), plus (+), minus (-), period (.), solidus (/), colon (:), equals (=), underscore (_)
|
2826
2839
|
|
2827
2840
|
.. versionadded:: 12.4.0
|
2828
2841
|
|
@@ -2893,7 +2906,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2893
2906
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
2894
2907
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
2895
2908
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
2896
|
-
#other-client--per-operation-configuration>`
|
2909
|
+
#other-client--per-operation-configuration>`__.
|
2897
2910
|
:returns: Blob-updated property dict (Etag and last modified).
|
2898
2911
|
:rtype: dict(str, Any)
|
2899
2912
|
"""
|
@@ -2928,7 +2941,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2928
2941
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
2929
2942
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
2930
2943
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
2931
|
-
#other-client--per-operation-configuration>`
|
2944
|
+
#other-client--per-operation-configuration>`__.
|
2932
2945
|
:keyword lease:
|
2933
2946
|
Required if the blob has an active lease. Value can be a BlobLeaseClient object
|
2934
2947
|
or the lease ID as a string.
|
@@ -2980,7 +2993,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
2980
2993
|
The tag set may contain at most 10 tags. Tag keys must be between 1 and 128 characters,
|
2981
2994
|
and tag values must be between 0 and 256 characters.
|
2982
2995
|
Valid tag key and value characters include: lowercase and uppercase letters, digits (0-9),
|
2983
|
-
space (
|
2996
|
+
space (' '), plus (+), minus (-), period (.), solidus (/), colon (:), equals (=), underscore (_)
|
2984
2997
|
:type tags: dict(str, str)
|
2985
2998
|
:keyword str version_id:
|
2986
2999
|
The version id parameter is an opaque DateTime
|
@@ -3004,7 +3017,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
3004
3017
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
3005
3018
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
3006
3019
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
3007
|
-
#other-client--per-operation-configuration>`
|
3020
|
+
#other-client--per-operation-configuration>`__.
|
3008
3021
|
:returns: Blob-updated property dict (Etag and last modified)
|
3009
3022
|
:rtype: Dict[str, Any]
|
3010
3023
|
"""
|
@@ -3052,7 +3065,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
3052
3065
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
3053
3066
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
3054
3067
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
3055
|
-
#other-client--per-operation-configuration>`
|
3068
|
+
#other-client--per-operation-configuration>`__.
|
3056
3069
|
:returns: Key value pairs of blob tags.
|
3057
3070
|
:rtype: Dict[str, str]
|
3058
3071
|
"""
|
@@ -3157,7 +3170,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
3157
3170
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
3158
3171
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
3159
3172
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
3160
|
-
#other-client--per-operation-configuration>`
|
3173
|
+
#other-client--per-operation-configuration>`__.
|
3161
3174
|
:returns:
|
3162
3175
|
A tuple of two lists of page ranges as dictionaries with 'start' and 'end' keys.
|
3163
3176
|
The first element are filled page ranges, the 2nd element is cleared page ranges.
|
@@ -3249,7 +3262,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
3249
3262
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
3250
3263
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
3251
3264
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
3252
|
-
#other-client--per-operation-configuration>`
|
3265
|
+
#other-client--per-operation-configuration>`__.
|
3253
3266
|
:returns: An iterable (auto-paging) of PageRange.
|
3254
3267
|
:rtype: ~azure.core.paging.ItemPaged[~azure.storage.blob.PageRange]
|
3255
3268
|
"""
|
@@ -3332,7 +3345,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
3332
3345
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
3333
3346
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
3334
3347
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
3335
|
-
#other-client--per-operation-configuration>`
|
3348
|
+
#other-client--per-operation-configuration>`__.
|
3336
3349
|
:returns:
|
3337
3350
|
A tuple of two lists of page ranges as dictionaries with 'start' and 'end' keys.
|
3338
3351
|
The first element are filled page ranges, the 2nd element is cleared page ranges.
|
@@ -3409,7 +3422,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
3409
3422
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
3410
3423
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
3411
3424
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
3412
|
-
#other-client--per-operation-configuration>`
|
3425
|
+
#other-client--per-operation-configuration>`__.
|
3413
3426
|
:returns: Blob-updated property dict (Etag and last modified).
|
3414
3427
|
:rtype: dict(str, Any)
|
3415
3428
|
"""
|
@@ -3491,7 +3504,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
3491
3504
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
3492
3505
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
3493
3506
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
3494
|
-
#other-client--per-operation-configuration>`
|
3507
|
+
#other-client--per-operation-configuration>`__.
|
3495
3508
|
:returns: Blob-updated property dict (Etag and last modified).
|
3496
3509
|
:rtype: dict(str, Any)
|
3497
3510
|
"""
|
@@ -3636,7 +3649,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
3636
3649
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
3637
3650
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
3638
3651
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
3639
|
-
#other-client--per-operation-configuration>`
|
3652
|
+
#other-client--per-operation-configuration>`__.
|
3640
3653
|
:returns: Blob-updated property dict (Etag and last modified).
|
3641
3654
|
:rtype: dict(str, Any)
|
3642
3655
|
"""
|
@@ -3812,7 +3825,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
3812
3825
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
3813
3826
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
3814
3827
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
3815
|
-
#other-client--per-operation-configuration>`
|
3828
|
+
#other-client--per-operation-configuration>`__.
|
3816
3829
|
:keyword str source_authorization:
|
3817
3830
|
Authenticate as a service principal using a client secret to access a source blob. Ensure "bearer " is
|
3818
3831
|
the prefix of the source_authorization string.
|
@@ -3930,7 +3943,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
3930
3943
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
3931
3944
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
3932
3945
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
3933
|
-
#other-client--per-operation-configuration>`
|
3946
|
+
#other-client--per-operation-configuration>`__.
|
3934
3947
|
:returns: Blob-updated property dict (Etag and last modified).
|
3935
3948
|
:rtype: dict(str, Any)
|
3936
3949
|
"""
|
@@ -4074,7 +4087,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
4074
4087
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
4075
4088
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
4076
4089
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
4077
|
-
#other-client--per-operation-configuration>`
|
4090
|
+
#other-client--per-operation-configuration>`__.
|
4078
4091
|
:returns: Blob-updated property dict (Etag, last modified, append offset, committed block count).
|
4079
4092
|
:rtype: dict(str, Any)
|
4080
4093
|
"""
|
@@ -4242,7 +4255,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
4242
4255
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
4243
4256
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
4244
4257
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
4245
|
-
#other-client--per-operation-configuration>`
|
4258
|
+
#other-client--per-operation-configuration>`__.
|
4246
4259
|
:keyword str source_authorization:
|
4247
4260
|
Authenticate as a service principal using a client secret to access a source blob. Ensure "bearer " is
|
4248
4261
|
the prefix of the source_authorization string.
|
@@ -4322,7 +4335,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
4322
4335
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
4323
4336
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
4324
4337
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
4325
|
-
#other-client--per-operation-configuration>`
|
4338
|
+
#other-client--per-operation-configuration>`__.
|
4326
4339
|
:returns: Blob-updated property dict (Etag, last modified, append offset, committed block count).
|
4327
4340
|
:rtype: dict(str, Any)
|
4328
4341
|
"""
|
@@ -3,6 +3,7 @@
|
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for
|
4
4
|
# license information.
|
5
5
|
# --------------------------------------------------------------------------
|
6
|
+
# pylint: disable=docstring-keyword-should-match-keyword-only
|
6
7
|
|
7
8
|
import functools
|
8
9
|
import warnings
|
@@ -63,7 +64,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
63
64
|
|
64
65
|
For more optional configuration, please click
|
65
66
|
`here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
66
|
-
#optional-configuration>`
|
67
|
+
#optional-configuration>`__.
|
67
68
|
|
68
69
|
:param str account_url:
|
69
70
|
The URL to the blob storage account. Any other entities included
|
@@ -171,7 +172,11 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
171
172
|
Credentials provided here will take precedence over those in the connection string.
|
172
173
|
If using an instance of AzureNamedKeyCredential, "name" should be the storage account name, and "key"
|
173
174
|
should be the storage account key.
|
174
|
-
:type credential:
|
175
|
+
:type credential:
|
176
|
+
~azure.core.credentials.AzureNamedKeyCredential or
|
177
|
+
~azure.core.credentials.AzureSasCredential or
|
178
|
+
~azure.core.credentials.TokenCredential or
|
179
|
+
str or dict[str, str] or None
|
175
180
|
:keyword str audience: The audience to use when requesting tokens for Azure Active Directory
|
176
181
|
authentication. Only has an effect when credential is of type TokenCredential. The value could be
|
177
182
|
https://storage.azure.com/ (default) or https://<account>.blob.core.windows.net.
|
@@ -211,7 +216,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
211
216
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
212
217
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
213
218
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
214
|
-
#other-client--per-operation-configuration>`
|
219
|
+
#other-client--per-operation-configuration>`__.
|
215
220
|
:returns: The user delegation key.
|
216
221
|
:rtype: ~azure.storage.blob.UserDelegationKey
|
217
222
|
"""
|
@@ -277,7 +282,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
277
282
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
278
283
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
279
284
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
280
|
-
#other-client--per-operation-configuration>`
|
285
|
+
#other-client--per-operation-configuration>`__.
|
281
286
|
:returns: The blob service stats.
|
282
287
|
:rtype: Dict[str, Any]
|
283
288
|
|
@@ -309,7 +314,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
309
314
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
310
315
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
311
316
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
312
|
-
#other-client--per-operation-configuration>`
|
317
|
+
#other-client--per-operation-configuration>`__.
|
313
318
|
:returns: An object containing blob service properties such as
|
314
319
|
analytics logging, hour/minute metrics, cors rules, etc.
|
315
320
|
:rtype: Dict[str, Any]
|
@@ -380,7 +385,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
380
385
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
381
386
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
382
387
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
383
|
-
#other-client--per-operation-configuration>`
|
388
|
+
#other-client--per-operation-configuration>`__.
|
384
389
|
:rtype: None
|
385
390
|
|
386
391
|
.. admonition:: Example:
|
@@ -445,7 +450,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
445
450
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
446
451
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
447
452
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
448
|
-
#other-client--per-operation-configuration>`
|
453
|
+
#other-client--per-operation-configuration>`__.
|
449
454
|
:returns: An iterable (auto-paging) of ContainerProperties.
|
450
455
|
:rtype: ~azure.core.paging.ItemPaged[~azure.storage.blob.ContainerProperties]
|
451
456
|
|
@@ -500,7 +505,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
500
505
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
501
506
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
502
507
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
503
|
-
#other-client--per-operation-configuration>`
|
508
|
+
#other-client--per-operation-configuration>`__.
|
504
509
|
:returns: An iterable (auto-paging) response of BlobProperties.
|
505
510
|
:rtype: ~azure.core.paging.ItemPaged[~azure.storage.blob.FilteredBlob]
|
506
511
|
"""
|
@@ -550,7 +555,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
550
555
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
551
556
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
552
557
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
553
|
-
#other-client--per-operation-configuration>`
|
558
|
+
#other-client--per-operation-configuration>`__.
|
554
559
|
:returns: A container client to interact with the newly created container.
|
555
560
|
:rtype: ~azure.storage.blob.ContainerClient
|
556
561
|
|
@@ -612,7 +617,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
612
617
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
613
618
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
614
619
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
615
|
-
#other-client--per-operation-configuration>`
|
620
|
+
#other-client--per-operation-configuration>`__.
|
616
621
|
|
617
622
|
.. admonition:: Example:
|
618
623
|
|
@@ -651,7 +656,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
651
656
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
652
657
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
653
658
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
654
|
-
#other-client--per-operation-configuration>`
|
659
|
+
#other-client--per-operation-configuration>`__.
|
655
660
|
:returns: A container client for the renamed container.
|
656
661
|
:rtype: ~azure.storage.blob.ContainerClient
|
657
662
|
"""
|
@@ -687,7 +692,7 @@ class BlobServiceClient(StorageAccountHostsMixin, StorageEncryptionMixin):
|
|
687
692
|
https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations.
|
688
693
|
This value is not tracked or validated on the client. To configure client-side network timesouts
|
689
694
|
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
690
|
-
#other-client--per-operation-configuration>`
|
695
|
+
#other-client--per-operation-configuration>`__.
|
691
696
|
:returns: The undeleted ContainerClient.
|
692
697
|
:rtype: ~azure.storage.blob.ContainerClient
|
693
698
|
"""
|