azure-storage-blob 12.25.1__py3-none-any.whl → 12.27.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.
Files changed (67) hide show
  1. azure/storage/blob/__init__.py +3 -2
  2. azure/storage/blob/_blob_client.py +94 -41
  3. azure/storage/blob/_blob_client_helpers.py +19 -4
  4. azure/storage/blob/_blob_service_client.py +16 -13
  5. azure/storage/blob/_container_client.py +25 -22
  6. azure/storage/blob/_deserialize.py +1 -1
  7. azure/storage/blob/_download.py +7 -7
  8. azure/storage/blob/_encryption.py +177 -184
  9. azure/storage/blob/_generated/_azure_blob_storage.py +3 -2
  10. azure/storage/blob/_generated/_configuration.py +2 -2
  11. azure/storage/blob/_generated/_utils/__init__.py +6 -0
  12. azure/storage/blob/_generated/{_serialization.py → _utils/serialization.py} +7 -25
  13. azure/storage/blob/_generated/aio/_azure_blob_storage.py +3 -2
  14. azure/storage/blob/_generated/aio/_configuration.py +2 -2
  15. azure/storage/blob/_generated/aio/operations/_append_blob_operations.py +11 -14
  16. azure/storage/blob/_generated/aio/operations/_blob_operations.py +40 -64
  17. azure/storage/blob/_generated/aio/operations/_block_blob_operations.py +18 -20
  18. azure/storage/blob/_generated/aio/operations/_container_operations.py +21 -43
  19. azure/storage/blob/_generated/aio/operations/_page_blob_operations.py +18 -27
  20. azure/storage/blob/_generated/aio/operations/_service_operations.py +11 -22
  21. azure/storage/blob/_generated/models/__init__.py +2 -0
  22. azure/storage/blob/_generated/models/_azure_blob_storage_enums.py +6 -0
  23. azure/storage/blob/_generated/models/_models_py3.py +30 -9
  24. azure/storage/blob/_generated/operations/_append_blob_operations.py +19 -20
  25. azure/storage/blob/_generated/operations/_blob_operations.py +68 -89
  26. azure/storage/blob/_generated/operations/_block_blob_operations.py +31 -27
  27. azure/storage/blob/_generated/operations/_container_operations.py +40 -62
  28. azure/storage/blob/_generated/operations/_page_blob_operations.py +31 -37
  29. azure/storage/blob/_generated/operations/_service_operations.py +20 -32
  30. azure/storage/blob/_lease.py +1 -0
  31. azure/storage/blob/_list_blobs_helper.py +1 -1
  32. azure/storage/blob/_quick_query_helper.py +20 -24
  33. azure/storage/blob/_serialize.py +2 -0
  34. azure/storage/blob/_shared/__init__.py +7 -7
  35. azure/storage/blob/_shared/authentication.py +49 -32
  36. azure/storage/blob/_shared/avro/avro_io.py +44 -42
  37. azure/storage/blob/_shared/avro/avro_io_async.py +42 -41
  38. azure/storage/blob/_shared/avro/datafile.py +24 -21
  39. azure/storage/blob/_shared/avro/datafile_async.py +15 -15
  40. azure/storage/blob/_shared/avro/schema.py +196 -217
  41. azure/storage/blob/_shared/base_client.py +82 -59
  42. azure/storage/blob/_shared/base_client_async.py +58 -51
  43. azure/storage/blob/_shared/constants.py +1 -1
  44. azure/storage/blob/_shared/models.py +94 -92
  45. azure/storage/blob/_shared/parser.py +3 -3
  46. azure/storage/blob/_shared/policies.py +186 -147
  47. azure/storage/blob/_shared/policies_async.py +53 -65
  48. azure/storage/blob/_shared/request_handlers.py +50 -45
  49. azure/storage/blob/_shared/response_handlers.py +54 -45
  50. azure/storage/blob/_shared/shared_access_signature.py +67 -71
  51. azure/storage/blob/_shared/uploads.py +56 -49
  52. azure/storage/blob/_shared/uploads_async.py +70 -58
  53. azure/storage/blob/_shared_access_signature.py +3 -1
  54. azure/storage/blob/_version.py +1 -1
  55. azure/storage/blob/aio/__init__.py +3 -2
  56. azure/storage/blob/aio/_blob_client_async.py +241 -44
  57. azure/storage/blob/aio/_blob_service_client_async.py +13 -11
  58. azure/storage/blob/aio/_container_client_async.py +28 -25
  59. azure/storage/blob/aio/_download_async.py +7 -7
  60. azure/storage/blob/aio/_lease_async.py +1 -0
  61. azure/storage/blob/aio/_quick_query_helper_async.py +194 -0
  62. {azure_storage_blob-12.25.1.dist-info → azure_storage_blob-12.27.0b1.dist-info}/METADATA +4 -5
  63. azure_storage_blob-12.27.0b1.dist-info/RECORD +86 -0
  64. azure_storage_blob-12.25.1.dist-info/RECORD +0 -84
  65. {azure_storage_blob-12.25.1.dist-info → azure_storage_blob-12.27.0b1.dist-info}/LICENSE +0 -0
  66. {azure_storage_blob-12.25.1.dist-info → azure_storage_blob-12.27.0b1.dist-info}/WHEEL +0 -0
  67. {azure_storage_blob-12.25.1.dist-info → azure_storage_blob-12.27.0b1.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=line-too-long,useless-suppression,too-many-lines
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6,8 +6,8 @@
6
6
  # Code generated by Microsoft (R) AutoRest Code Generator.
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
+ from collections.abc import MutableMapping
9
10
  import datetime
10
- import sys
11
11
  from typing import Any, Callable, Dict, IO, Iterator, List, Literal, Optional, TypeVar, Union
12
12
 
13
13
  from azure.core import PipelineClient
@@ -28,12 +28,8 @@ from azure.core.utils import case_insensitive_dict
28
28
 
29
29
  from .. import models as _models
30
30
  from .._configuration import AzureBlobStorageConfiguration
31
- from .._serialization import Deserializer, Serializer
31
+ from .._utils.serialization import Deserializer, Serializer
32
32
 
33
- if sys.version_info >= (3, 9):
34
- from collections.abc import MutableMapping
35
- else:
36
- from typing import MutableMapping # type: ignore
37
33
  T = TypeVar("T")
38
34
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
39
35
 
@@ -56,7 +52,7 @@ def build_create_request(
56
52
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
57
53
 
58
54
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
59
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
55
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
60
56
  accept = _headers.pop("Accept", "application/xml")
61
57
 
62
58
  # Construct URL
@@ -105,7 +101,7 @@ def build_get_properties_request(
105
101
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
106
102
 
107
103
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
108
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
104
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
109
105
  accept = _headers.pop("Accept", "application/xml")
110
106
 
111
107
  # Construct URL
@@ -146,7 +142,7 @@ def build_delete_request(
146
142
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
147
143
 
148
144
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
149
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
145
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
150
146
  accept = _headers.pop("Accept", "application/xml")
151
147
 
152
148
  # Construct URL
@@ -192,7 +188,7 @@ def build_set_metadata_request(
192
188
 
193
189
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
194
190
  comp: Literal["metadata"] = kwargs.pop("comp", _params.pop("comp", "metadata"))
195
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
191
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
196
192
  accept = _headers.pop("Accept", "application/xml")
197
193
 
198
194
  # Construct URL
@@ -237,7 +233,7 @@ def build_get_access_policy_request(
237
233
 
238
234
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
239
235
  comp: Literal["acl"] = kwargs.pop("comp", _params.pop("comp", "acl"))
240
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
236
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
241
237
  accept = _headers.pop("Accept", "application/xml")
242
238
 
243
239
  # Construct URL
@@ -283,7 +279,7 @@ def build_set_access_policy_request(
283
279
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
284
280
  comp: Literal["acl"] = kwargs.pop("comp", _params.pop("comp", "acl"))
285
281
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
286
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
282
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
287
283
  accept = _headers.pop("Accept", "application/xml")
288
284
 
289
285
  # Construct URL
@@ -333,7 +329,7 @@ def build_restore_request(
333
329
 
334
330
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
335
331
  comp: Literal["undelete"] = kwargs.pop("comp", _params.pop("comp", "undelete"))
336
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
332
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
337
333
  accept = _headers.pop("Accept", "application/xml")
338
334
 
339
335
  # Construct URL
@@ -381,7 +377,7 @@ def build_rename_request(
381
377
 
382
378
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
383
379
  comp: Literal["rename"] = kwargs.pop("comp", _params.pop("comp", "rename"))
384
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
380
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
385
381
  accept = _headers.pop("Accept", "application/xml")
386
382
 
387
383
  # Construct URL
@@ -425,7 +421,7 @@ def build_submit_batch_request(
425
421
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
426
422
  comp: Literal["batch"] = kwargs.pop("comp", _params.pop("comp", "batch"))
427
423
  multipart_content_type: Optional[str] = kwargs.pop("multipart_content_type", _headers.pop("Content-Type", None))
428
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
424
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
429
425
  accept = _headers.pop("Accept", "application/xml")
430
426
 
431
427
  # Construct URL
@@ -470,7 +466,7 @@ def build_filter_blobs_request(
470
466
 
471
467
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
472
468
  comp: Literal["blobs"] = kwargs.pop("comp", _params.pop("comp", "blobs"))
473
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
469
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
474
470
  accept = _headers.pop("Accept", "application/xml")
475
471
 
476
472
  # Construct URL
@@ -521,7 +517,7 @@ def build_acquire_lease_request(
521
517
  comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
522
518
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
523
519
  action: Literal["acquire"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "acquire"))
524
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
520
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
525
521
  accept = _headers.pop("Accept", "application/xml")
526
522
 
527
523
  # Construct URL
@@ -572,7 +568,7 @@ def build_release_lease_request(
572
568
  comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
573
569
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
574
570
  action: Literal["release"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "release"))
575
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
571
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
576
572
  accept = _headers.pop("Accept", "application/xml")
577
573
 
578
574
  # Construct URL
@@ -620,7 +616,7 @@ def build_renew_lease_request(
620
616
  comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
621
617
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
622
618
  action: Literal["renew"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "renew"))
623
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
619
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
624
620
  accept = _headers.pop("Accept", "application/xml")
625
621
 
626
622
  # Construct URL
@@ -668,7 +664,7 @@ def build_break_lease_request(
668
664
  comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
669
665
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
670
666
  action: Literal["break"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "break"))
671
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
667
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
672
668
  accept = _headers.pop("Accept", "application/xml")
673
669
 
674
670
  # Construct URL
@@ -718,7 +714,7 @@ def build_change_lease_request(
718
714
  comp: Literal["lease"] = kwargs.pop("comp", _params.pop("comp", "lease"))
719
715
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
720
716
  action: Literal["change"] = kwargs.pop("action", _headers.pop("x-ms-lease-action", "change"))
721
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
717
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
722
718
  accept = _headers.pop("Accept", "application/xml")
723
719
 
724
720
  # Construct URL
@@ -767,7 +763,7 @@ def build_list_blob_flat_segment_request(
767
763
 
768
764
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
769
765
  comp: Literal["list"] = kwargs.pop("comp", _params.pop("comp", "list"))
770
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
766
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
771
767
  accept = _headers.pop("Accept", "application/xml")
772
768
 
773
769
  # Construct URL
@@ -818,7 +814,7 @@ def build_list_blob_hierarchy_segment_request( # pylint: disable=name-too-long
818
814
 
819
815
  restype: Literal["container"] = kwargs.pop("restype", _params.pop("restype", "container"))
820
816
  comp: Literal["list"] = kwargs.pop("comp", _params.pop("comp", "list"))
821
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
817
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
822
818
  accept = _headers.pop("Accept", "application/xml")
823
819
 
824
820
  # Construct URL
@@ -861,7 +857,7 @@ def build_get_account_info_request(
861
857
 
862
858
  restype: Literal["account"] = kwargs.pop("restype", _params.pop("restype", "account"))
863
859
  comp: Literal["properties"] = kwargs.pop("comp", _params.pop("comp", "properties"))
864
- version: Literal["2025-01-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-01-05"))
860
+ version: Literal["2025-11-05"] = kwargs.pop("version", _headers.pop("x-ms-version", "2025-11-05"))
865
861
  accept = _headers.pop("Accept", "application/xml")
866
862
 
867
863
  # Construct URL
@@ -899,7 +895,7 @@ class ContainerOperations:
899
895
 
900
896
  models = _models
901
897
 
902
- def __init__(self, *args, **kwargs):
898
+ def __init__(self, *args, **kwargs) -> None:
903
899
  input_args = list(args)
904
900
  self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
905
901
  self._config: AzureBlobStorageConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
@@ -916,13 +912,12 @@ class ContainerOperations:
916
912
  container_cpk_scope_info: Optional[_models.ContainerCpkScopeInfo] = None,
917
913
  **kwargs: Any
918
914
  ) -> None:
919
- # pylint: disable=line-too-long
920
915
  """creates a new container under the specified account. If the container with the same name
921
916
  already exists, the operation fails.
922
917
 
923
918
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
924
919
  :code:`<a
925
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
920
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
926
921
  Timeouts for Blob Service Operations.</a>`. Default value is None.
927
922
  :type timeout: int
928
923
  :param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
@@ -1014,13 +1009,12 @@ class ContainerOperations:
1014
1009
  lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
1015
1010
  **kwargs: Any
1016
1011
  ) -> None:
1017
- # pylint: disable=line-too-long
1018
1012
  """returns all user-defined metadata and system properties for the specified container. The data
1019
1013
  returned does not include the container's list of blobs.
1020
1014
 
1021
1015
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1022
1016
  :code:`<a
1023
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1017
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1024
1018
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1025
1019
  :type timeout: int
1026
1020
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1117,13 +1111,12 @@ class ContainerOperations:
1117
1111
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
1118
1112
  **kwargs: Any
1119
1113
  ) -> None:
1120
- # pylint: disable=line-too-long
1121
1114
  """operation marks the specified container for deletion. The container and any blobs contained
1122
1115
  within it are later deleted during garbage collection.
1123
1116
 
1124
1117
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1125
1118
  :code:`<a
1126
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1119
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1127
1120
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1128
1121
  :type timeout: int
1129
1122
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1208,12 +1201,11 @@ class ContainerOperations:
1208
1201
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
1209
1202
  **kwargs: Any
1210
1203
  ) -> None:
1211
- # pylint: disable=line-too-long
1212
1204
  """operation sets one or more user-defined name-value pairs for the specified container.
1213
1205
 
1214
1206
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1215
1207
  :code:`<a
1216
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1208
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1217
1209
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1218
1210
  :type timeout: int
1219
1211
  :param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
@@ -1306,13 +1298,12 @@ class ContainerOperations:
1306
1298
  lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
1307
1299
  **kwargs: Any
1308
1300
  ) -> List[_models.SignedIdentifier]:
1309
- # pylint: disable=line-too-long
1310
1301
  """gets the permissions for the specified container. The permissions indicate whether container
1311
1302
  data may be accessed publicly.
1312
1303
 
1313
1304
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1314
1305
  :code:`<a
1315
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1306
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1316
1307
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1317
1308
  :type timeout: int
1318
1309
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1400,13 +1391,12 @@ class ContainerOperations:
1400
1391
  container_acl: Optional[List[_models.SignedIdentifier]] = None,
1401
1392
  **kwargs: Any
1402
1393
  ) -> None:
1403
- # pylint: disable=line-too-long
1404
1394
  """sets the permissions for the specified container. The permissions indicate whether blobs in a
1405
1395
  container may be accessed publicly.
1406
1396
 
1407
1397
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1408
1398
  :code:`<a
1409
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1399
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1410
1400
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1411
1401
  :type timeout: int
1412
1402
  :param access: Specifies whether data in the container may be accessed publicly and the level
@@ -1510,12 +1500,11 @@ class ContainerOperations:
1510
1500
  deleted_container_version: Optional[str] = None,
1511
1501
  **kwargs: Any
1512
1502
  ) -> None:
1513
- # pylint: disable=line-too-long
1514
1503
  """Restores a previously-deleted container.
1515
1504
 
1516
1505
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1517
1506
  :code:`<a
1518
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1507
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1519
1508
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1520
1509
  :type timeout: int
1521
1510
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1593,7 +1582,6 @@ class ContainerOperations:
1593
1582
  source_lease_id: Optional[str] = None,
1594
1583
  **kwargs: Any
1595
1584
  ) -> None:
1596
- # pylint: disable=line-too-long
1597
1585
  """Renames an existing container.
1598
1586
 
1599
1587
  :param source_container_name: Required. Specifies the name of the container to rename.
@@ -1601,7 +1589,7 @@ class ContainerOperations:
1601
1589
  :type source_container_name: str
1602
1590
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1603
1591
  :code:`<a
1604
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1592
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1605
1593
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1606
1594
  :type timeout: int
1607
1595
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1676,7 +1664,6 @@ class ContainerOperations:
1676
1664
  request_id_parameter: Optional[str] = None,
1677
1665
  **kwargs: Any
1678
1666
  ) -> Iterator[bytes]:
1679
- # pylint: disable=line-too-long
1680
1667
  """The Batch operation allows multiple API calls to be embedded into a single HTTP request.
1681
1668
 
1682
1669
  :param content_length: The length of the request. Required.
@@ -1685,7 +1672,7 @@ class ContainerOperations:
1685
1672
  :type body: IO[bytes]
1686
1673
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1687
1674
  :code:`<a
1688
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1675
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1689
1676
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1690
1677
  :type timeout: int
1691
1678
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1771,13 +1758,12 @@ class ContainerOperations:
1771
1758
  include: Optional[List[Union[str, _models.FilterBlobsIncludeItem]]] = None,
1772
1759
  **kwargs: Any
1773
1760
  ) -> _models.FilterBlobSegment:
1774
- # pylint: disable=line-too-long
1775
1761
  """The Filter Blobs operation enables callers to list blobs in a container whose tags match a
1776
1762
  given search expression. Filter blobs searches within the given container.
1777
1763
 
1778
1764
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1779
1765
  :code:`<a
1780
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1766
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1781
1767
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1782
1768
  :type timeout: int
1783
1769
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1876,13 +1862,12 @@ class ContainerOperations:
1876
1862
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
1877
1863
  **kwargs: Any
1878
1864
  ) -> None:
1879
- # pylint: disable=line-too-long
1880
1865
  """[Update] establishes and manages a lock on a container for delete operations. The lock duration
1881
1866
  can be 15 to 60 seconds, or can be infinite.
1882
1867
 
1883
1868
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1884
1869
  :code:`<a
1885
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1870
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1886
1871
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1887
1872
  :type timeout: int
1888
1873
  :param duration: Specifies the duration of the lease, in seconds, or negative one (-1) for a
@@ -1977,7 +1962,6 @@ class ContainerOperations:
1977
1962
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
1978
1963
  **kwargs: Any
1979
1964
  ) -> None:
1980
- # pylint: disable=line-too-long
1981
1965
  """[Update] establishes and manages a lock on a container for delete operations. The lock duration
1982
1966
  can be 15 to 60 seconds, or can be infinite.
1983
1967
 
@@ -1985,7 +1969,7 @@ class ContainerOperations:
1985
1969
  :type lease_id: str
1986
1970
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1987
1971
  :code:`<a
1988
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1972
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1989
1973
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1990
1974
  :type timeout: int
1991
1975
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -2070,7 +2054,6 @@ class ContainerOperations:
2070
2054
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
2071
2055
  **kwargs: Any
2072
2056
  ) -> None:
2073
- # pylint: disable=line-too-long
2074
2057
  """[Update] establishes and manages a lock on a container for delete operations. The lock duration
2075
2058
  can be 15 to 60 seconds, or can be infinite.
2076
2059
 
@@ -2078,7 +2061,7 @@ class ContainerOperations:
2078
2061
  :type lease_id: str
2079
2062
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
2080
2063
  :code:`<a
2081
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
2064
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
2082
2065
  Timeouts for Blob Service Operations.</a>`. Default value is None.
2083
2066
  :type timeout: int
2084
2067
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -2164,13 +2147,12 @@ class ContainerOperations:
2164
2147
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
2165
2148
  **kwargs: Any
2166
2149
  ) -> None:
2167
- # pylint: disable=line-too-long
2168
2150
  """[Update] establishes and manages a lock on a container for delete operations. The lock duration
2169
2151
  can be 15 to 60 seconds, or can be infinite.
2170
2152
 
2171
2153
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
2172
2154
  :code:`<a
2173
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
2155
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
2174
2156
  Timeouts for Blob Service Operations.</a>`. Default value is None.
2175
2157
  :type timeout: int
2176
2158
  :param break_period: For a break operation, proposed duration the lease should continue before
@@ -2265,7 +2247,6 @@ class ContainerOperations:
2265
2247
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
2266
2248
  **kwargs: Any
2267
2249
  ) -> None:
2268
- # pylint: disable=line-too-long
2269
2250
  """[Update] establishes and manages a lock on a container for delete operations. The lock duration
2270
2251
  can be 15 to 60 seconds, or can be infinite.
2271
2252
 
@@ -2277,7 +2258,7 @@ class ContainerOperations:
2277
2258
  :type proposed_lease_id: str
2278
2259
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
2279
2260
  :code:`<a
2280
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
2261
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
2281
2262
  Timeouts for Blob Service Operations.</a>`. Default value is None.
2282
2263
  :type timeout: int
2283
2264
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -2366,7 +2347,6 @@ class ContainerOperations:
2366
2347
  request_id_parameter: Optional[str] = None,
2367
2348
  **kwargs: Any
2368
2349
  ) -> _models.ListBlobsFlatSegmentResponse:
2369
- # pylint: disable=line-too-long
2370
2350
  """[Update] The List Blobs operation returns a list of the blobs under the specified container.
2371
2351
 
2372
2352
  :param prefix: Filters the results to return only containers whose name begins with the
@@ -2391,7 +2371,7 @@ class ContainerOperations:
2391
2371
  :type include: list[str or ~azure.storage.blob.models.ListBlobsIncludeItem]
2392
2372
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
2393
2373
  :code:`<a
2394
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
2374
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
2395
2375
  Timeouts for Blob Service Operations.</a>`. Default value is None.
2396
2376
  :type timeout: int
2397
2377
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -2473,7 +2453,6 @@ class ContainerOperations:
2473
2453
  request_id_parameter: Optional[str] = None,
2474
2454
  **kwargs: Any
2475
2455
  ) -> _models.ListBlobsHierarchySegmentResponse:
2476
- # pylint: disable=line-too-long
2477
2456
  """[Update] The List Blobs operation returns a list of the blobs under the specified container.
2478
2457
 
2479
2458
  :param delimiter: When the request includes this parameter, the operation returns a BlobPrefix
@@ -2503,7 +2482,7 @@ class ContainerOperations:
2503
2482
  :type include: list[str or ~azure.storage.blob.models.ListBlobsIncludeItem]
2504
2483
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
2505
2484
  :code:`<a
2506
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
2485
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
2507
2486
  Timeouts for Blob Service Operations.</a>`. Default value is None.
2508
2487
  :type timeout: int
2509
2488
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -2578,12 +2557,11 @@ class ContainerOperations:
2578
2557
  def get_account_info( # pylint: disable=inconsistent-return-statements
2579
2558
  self, timeout: Optional[int] = None, request_id_parameter: Optional[str] = None, **kwargs: Any
2580
2559
  ) -> None:
2581
- # pylint: disable=line-too-long
2582
2560
  """Returns the sku name and account kind.
2583
2561
 
2584
2562
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
2585
2563
  :code:`<a
2586
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
2564
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
2587
2565
  Timeouts for Blob Service Operations.</a>`. Default value is None.
2588
2566
  :type timeout: int
2589
2567
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character