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, Literal, Optional, TypeVar, Union
12
12
 
13
13
  from azure.core import AsyncPipelineClient
@@ -25,7 +25,7 @@ from azure.core.tracing.decorator_async import distributed_trace_async
25
25
  from azure.core.utils import case_insensitive_dict
26
26
 
27
27
  from ... import models as _models
28
- from ..._serialization import Deserializer, Serializer
28
+ from ..._utils.serialization import Deserializer, Serializer
29
29
  from ...operations._block_blob_operations import (
30
30
  build_commit_block_list_request,
31
31
  build_get_block_list_request,
@@ -36,10 +36,6 @@ from ...operations._block_blob_operations import (
36
36
  )
37
37
  from .._configuration import AzureBlobStorageConfiguration
38
38
 
39
- if sys.version_info >= (3, 9):
40
- from collections.abc import MutableMapping
41
- else:
42
- from typing import MutableMapping # type: ignore
43
39
  T = TypeVar("T")
44
40
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
45
41
 
@@ -87,7 +83,6 @@ class BlockBlobOperations:
87
83
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
88
84
  **kwargs: Any
89
85
  ) -> None:
90
- # pylint: disable=line-too-long
91
86
  """The Upload Block Blob operation updates the content of an existing block blob. Updating an
92
87
  existing block blob overwrites any existing metadata on the blob. Partial updates are not
93
88
  supported with Put Blob; the content of the existing blob is overwritten with the content of
@@ -100,7 +95,7 @@ class BlockBlobOperations:
100
95
  :type body: IO[bytes]
101
96
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
102
97
  :code:`<a
103
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
98
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
104
99
  Timeouts for Blob Service Operations.</a>`. Default value is None.
105
100
  :type timeout: int
106
101
  :param transactional_content_md5: Specify the transactional md5 for the body, to be validated
@@ -305,6 +300,7 @@ class BlockBlobOperations:
305
300
  copy_source_blob_properties: Optional[bool] = None,
306
301
  copy_source_authorization: Optional[str] = None,
307
302
  copy_source_tags: Optional[Union[str, _models.BlobCopySourceTags]] = None,
303
+ file_request_intent: Optional[Union[str, _models.FileShareTokenIntent]] = None,
308
304
  blob_http_headers: Optional[_models.BlobHTTPHeaders] = None,
309
305
  lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
310
306
  cpk_info: Optional[_models.CpkInfo] = None,
@@ -313,7 +309,6 @@ class BlockBlobOperations:
313
309
  source_modified_access_conditions: Optional[_models.SourceModifiedAccessConditions] = None,
314
310
  **kwargs: Any
315
311
  ) -> None:
316
- # pylint: disable=line-too-long
317
312
  """The Put Blob from URL operation creates a new Block Blob where the contents of the blob are
318
313
  read from a given URL. This API is supported beginning with the 2020-04-08 version. Partial
319
314
  updates are not supported with Put Blob from URL; the content of an existing blob is
@@ -329,7 +324,7 @@ class BlockBlobOperations:
329
324
  :type copy_source: str
330
325
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
331
326
  :code:`<a
332
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
327
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
333
328
  Timeouts for Blob Service Operations.</a>`. Default value is None.
334
329
  :type timeout: int
335
330
  :param transactional_content_md5: Specify the transactional md5 for the body, to be validated
@@ -367,6 +362,8 @@ class BlockBlobOperations:
367
362
  copied or replaced with the tags specified by x-ms-tags. Known values are: "REPLACE" and
368
363
  "COPY". Default value is None.
369
364
  :type copy_source_tags: str or ~azure.storage.blob.models.BlobCopySourceTags
365
+ :param file_request_intent: Valid value is backup. "backup" Default value is None.
366
+ :type file_request_intent: str or ~azure.storage.blob.models.FileShareTokenIntent
370
367
  :param blob_http_headers: Parameter group. Default value is None.
371
368
  :type blob_http_headers: ~azure.storage.blob.models.BlobHTTPHeaders
372
369
  :param lease_access_conditions: Parameter group. Default value is None.
@@ -482,6 +479,7 @@ class BlockBlobOperations:
482
479
  copy_source_blob_properties=copy_source_blob_properties,
483
480
  copy_source_authorization=copy_source_authorization,
484
481
  copy_source_tags=copy_source_tags,
482
+ file_request_intent=file_request_intent,
485
483
  blob_type=blob_type,
486
484
  version=self._config.version,
487
485
  headers=_headers,
@@ -542,7 +540,6 @@ class BlockBlobOperations:
542
540
  cpk_scope_info: Optional[_models.CpkScopeInfo] = None,
543
541
  **kwargs: Any
544
542
  ) -> None:
545
- # pylint: disable=line-too-long
546
543
  """The Stage Block operation creates a new block to be committed as part of a blob.
547
544
 
548
545
  :param block_id: A valid Base64 string value that identifies the block. Prior to encoding, the
@@ -561,7 +558,7 @@ class BlockBlobOperations:
561
558
  :type transactional_content_crc64: bytes
562
559
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
563
560
  :code:`<a
564
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
561
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
565
562
  Timeouts for Blob Service Operations.</a>`. Default value is None.
566
563
  :type timeout: int
567
564
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -690,13 +687,13 @@ class BlockBlobOperations:
690
687
  timeout: Optional[int] = None,
691
688
  request_id_parameter: Optional[str] = None,
692
689
  copy_source_authorization: Optional[str] = None,
690
+ file_request_intent: Optional[Union[str, _models.FileShareTokenIntent]] = None,
693
691
  cpk_info: Optional[_models.CpkInfo] = None,
694
692
  cpk_scope_info: Optional[_models.CpkScopeInfo] = None,
695
693
  lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
696
694
  source_modified_access_conditions: Optional[_models.SourceModifiedAccessConditions] = None,
697
695
  **kwargs: Any
698
696
  ) -> None:
699
- # pylint: disable=line-too-long
700
697
  """The Stage Block operation creates a new block to be committed as part of a blob where the
701
698
  contents are read from a URL.
702
699
 
@@ -718,7 +715,7 @@ class BlockBlobOperations:
718
715
  :type source_contentcrc64: bytes
719
716
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
720
717
  :code:`<a
721
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
718
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
722
719
  Timeouts for Blob Service Operations.</a>`. Default value is None.
723
720
  :type timeout: int
724
721
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -728,6 +725,8 @@ class BlockBlobOperations:
728
725
  :param copy_source_authorization: Only Bearer type is supported. Credentials should be a valid
729
726
  OAuth access token to copy source. Default value is None.
730
727
  :type copy_source_authorization: str
728
+ :param file_request_intent: Valid value is backup. "backup" Default value is None.
729
+ :type file_request_intent: str or ~azure.storage.blob.models.FileShareTokenIntent
731
730
  :param cpk_info: Parameter group. Default value is None.
732
731
  :type cpk_info: ~azure.storage.blob.models.CpkInfo
733
732
  :param cpk_scope_info: Parameter group. Default value is None.
@@ -798,6 +797,7 @@ class BlockBlobOperations:
798
797
  source_if_none_match=_source_if_none_match,
799
798
  request_id_parameter=request_id_parameter,
800
799
  copy_source_authorization=copy_source_authorization,
800
+ file_request_intent=file_request_intent,
801
801
  comp=comp,
802
802
  version=self._config.version,
803
803
  headers=_headers,
@@ -862,7 +862,6 @@ class BlockBlobOperations:
862
862
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
863
863
  **kwargs: Any
864
864
  ) -> None:
865
- # pylint: disable=line-too-long
866
865
  """The Commit Block List operation writes a blob by specifying the list of block IDs that make up
867
866
  the blob. In order to be written as part of a blob, a block must have been successfully written
868
867
  to the server in a prior Put Block operation. You can call Put Block List to update a blob by
@@ -875,7 +874,7 @@ class BlockBlobOperations:
875
874
  :type blocks: ~azure.storage.blob.models.BlockLookupList
876
875
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
877
876
  :code:`<a
878
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
877
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
879
878
  Timeouts for Blob Service Operations.</a>`. Default value is None.
880
879
  :type timeout: int
881
880
  :param transactional_content_md5: Specify the transactional md5 for the body, to be validated
@@ -1066,14 +1065,13 @@ class BlockBlobOperations:
1066
1065
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
1067
1066
  **kwargs: Any
1068
1067
  ) -> _models.BlockList:
1069
- # pylint: disable=line-too-long
1070
1068
  """The Get Block List operation retrieves the list of blocks that have been uploaded as part of a
1071
1069
  block blob.
1072
1070
 
1073
1071
  :param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
1074
1072
  specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
1075
1073
  see :code:`<a
1076
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
1074
+ href="https://learn.microsoft.com/rest/api/storageservices/creating-a-snapshot-of-a-blob">Creating
1077
1075
  a Snapshot of a Blob.</a>`. Default value is None.
1078
1076
  :type snapshot: str
1079
1077
  :param list_type: Specifies whether to return the list of committed blocks, the list of
@@ -1082,7 +1080,7 @@ class BlockBlobOperations:
1082
1080
  :type list_type: str or ~azure.storage.blob.models.BlockListType
1083
1081
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1084
1082
  :code:`<a
1085
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1083
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1086
1084
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1087
1085
  :type timeout: int
1088
1086
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -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,7 +6,7 @@
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
- import sys
9
+ from collections.abc import MutableMapping
10
10
  from typing import Any, AsyncIterator, Callable, Dict, IO, List, Literal, Optional, TypeVar, Union
11
11
 
12
12
  from azure.core import AsyncPipelineClient
@@ -26,7 +26,7 @@ from azure.core.tracing.decorator_async import distributed_trace_async
26
26
  from azure.core.utils import case_insensitive_dict
27
27
 
28
28
  from ... import models as _models
29
- from ..._serialization import Deserializer, Serializer
29
+ from ..._utils.serialization import Deserializer, Serializer
30
30
  from ...operations._container_operations import (
31
31
  build_acquire_lease_request,
32
32
  build_break_lease_request,
@@ -49,10 +49,6 @@ from ...operations._container_operations import (
49
49
  )
50
50
  from .._configuration import AzureBlobStorageConfiguration
51
51
 
52
- if sys.version_info >= (3, 9):
53
- from collections.abc import MutableMapping
54
- else:
55
- from typing import MutableMapping # type: ignore
56
52
  T = TypeVar("T")
57
53
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
58
54
 
@@ -86,13 +82,12 @@ class ContainerOperations:
86
82
  container_cpk_scope_info: Optional[_models.ContainerCpkScopeInfo] = None,
87
83
  **kwargs: Any
88
84
  ) -> None:
89
- # pylint: disable=line-too-long
90
85
  """creates a new container under the specified account. If the container with the same name
91
86
  already exists, the operation fails.
92
87
 
93
88
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
94
89
  :code:`<a
95
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
90
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
96
91
  Timeouts for Blob Service Operations.</a>`. Default value is None.
97
92
  :type timeout: int
98
93
  :param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
@@ -184,13 +179,12 @@ class ContainerOperations:
184
179
  lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
185
180
  **kwargs: Any
186
181
  ) -> None:
187
- # pylint: disable=line-too-long
188
182
  """returns all user-defined metadata and system properties for the specified container. The data
189
183
  returned does not include the container's list of blobs.
190
184
 
191
185
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
192
186
  :code:`<a
193
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
187
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
194
188
  Timeouts for Blob Service Operations.</a>`. Default value is None.
195
189
  :type timeout: int
196
190
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -287,13 +281,12 @@ class ContainerOperations:
287
281
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
288
282
  **kwargs: Any
289
283
  ) -> None:
290
- # pylint: disable=line-too-long
291
284
  """operation marks the specified container for deletion. The container and any blobs contained
292
285
  within it are later deleted during garbage collection.
293
286
 
294
287
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
295
288
  :code:`<a
296
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
289
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
297
290
  Timeouts for Blob Service Operations.</a>`. Default value is None.
298
291
  :type timeout: int
299
292
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -378,12 +371,11 @@ class ContainerOperations:
378
371
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
379
372
  **kwargs: Any
380
373
  ) -> None:
381
- # pylint: disable=line-too-long
382
374
  """operation sets one or more user-defined name-value pairs for the specified container.
383
375
 
384
376
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
385
377
  :code:`<a
386
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
378
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
387
379
  Timeouts for Blob Service Operations.</a>`. Default value is None.
388
380
  :type timeout: int
389
381
  :param metadata: Optional. Specifies a user-defined name-value pair associated with the blob.
@@ -476,13 +468,12 @@ class ContainerOperations:
476
468
  lease_access_conditions: Optional[_models.LeaseAccessConditions] = None,
477
469
  **kwargs: Any
478
470
  ) -> List[_models.SignedIdentifier]:
479
- # pylint: disable=line-too-long
480
471
  """gets the permissions for the specified container. The permissions indicate whether container
481
472
  data may be accessed publicly.
482
473
 
483
474
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
484
475
  :code:`<a
485
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
476
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
486
477
  Timeouts for Blob Service Operations.</a>`. Default value is None.
487
478
  :type timeout: int
488
479
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -570,13 +561,12 @@ class ContainerOperations:
570
561
  container_acl: Optional[List[_models.SignedIdentifier]] = None,
571
562
  **kwargs: Any
572
563
  ) -> None:
573
- # pylint: disable=line-too-long
574
564
  """sets the permissions for the specified container. The permissions indicate whether blobs in a
575
565
  container may be accessed publicly.
576
566
 
577
567
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
578
568
  :code:`<a
579
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
569
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
580
570
  Timeouts for Blob Service Operations.</a>`. Default value is None.
581
571
  :type timeout: int
582
572
  :param access: Specifies whether data in the container may be accessed publicly and the level
@@ -680,12 +670,11 @@ class ContainerOperations:
680
670
  deleted_container_version: Optional[str] = None,
681
671
  **kwargs: Any
682
672
  ) -> None:
683
- # pylint: disable=line-too-long
684
673
  """Restores a previously-deleted container.
685
674
 
686
675
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
687
676
  :code:`<a
688
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
677
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
689
678
  Timeouts for Blob Service Operations.</a>`. Default value is None.
690
679
  :type timeout: int
691
680
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -763,7 +752,6 @@ class ContainerOperations:
763
752
  source_lease_id: Optional[str] = None,
764
753
  **kwargs: Any
765
754
  ) -> None:
766
- # pylint: disable=line-too-long
767
755
  """Renames an existing container.
768
756
 
769
757
  :param source_container_name: Required. Specifies the name of the container to rename.
@@ -771,7 +759,7 @@ class ContainerOperations:
771
759
  :type source_container_name: str
772
760
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
773
761
  :code:`<a
774
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
762
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
775
763
  Timeouts for Blob Service Operations.</a>`. Default value is None.
776
764
  :type timeout: int
777
765
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -846,7 +834,6 @@ class ContainerOperations:
846
834
  request_id_parameter: Optional[str] = None,
847
835
  **kwargs: Any
848
836
  ) -> AsyncIterator[bytes]:
849
- # pylint: disable=line-too-long
850
837
  """The Batch operation allows multiple API calls to be embedded into a single HTTP request.
851
838
 
852
839
  :param content_length: The length of the request. Required.
@@ -855,7 +842,7 @@ class ContainerOperations:
855
842
  :type body: IO[bytes]
856
843
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
857
844
  :code:`<a
858
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
845
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
859
846
  Timeouts for Blob Service Operations.</a>`. Default value is None.
860
847
  :type timeout: int
861
848
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -941,13 +928,12 @@ class ContainerOperations:
941
928
  include: Optional[List[Union[str, _models.FilterBlobsIncludeItem]]] = None,
942
929
  **kwargs: Any
943
930
  ) -> _models.FilterBlobSegment:
944
- # pylint: disable=line-too-long
945
931
  """The Filter Blobs operation enables callers to list blobs in a container whose tags match a
946
932
  given search expression. Filter blobs searches within the given container.
947
933
 
948
934
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
949
935
  :code:`<a
950
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
936
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
951
937
  Timeouts for Blob Service Operations.</a>`. Default value is None.
952
938
  :type timeout: int
953
939
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1046,13 +1032,12 @@ class ContainerOperations:
1046
1032
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
1047
1033
  **kwargs: Any
1048
1034
  ) -> None:
1049
- # pylint: disable=line-too-long
1050
1035
  """[Update] establishes and manages a lock on a container for delete operations. The lock duration
1051
1036
  can be 15 to 60 seconds, or can be infinite.
1052
1037
 
1053
1038
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1054
1039
  :code:`<a
1055
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1040
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1056
1041
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1057
1042
  :type timeout: int
1058
1043
  :param duration: Specifies the duration of the lease, in seconds, or negative one (-1) for a
@@ -1147,7 +1132,6 @@ class ContainerOperations:
1147
1132
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
1148
1133
  **kwargs: Any
1149
1134
  ) -> None:
1150
- # pylint: disable=line-too-long
1151
1135
  """[Update] establishes and manages a lock on a container for delete operations. The lock duration
1152
1136
  can be 15 to 60 seconds, or can be infinite.
1153
1137
 
@@ -1155,7 +1139,7 @@ class ContainerOperations:
1155
1139
  :type lease_id: str
1156
1140
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1157
1141
  :code:`<a
1158
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1142
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1159
1143
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1160
1144
  :type timeout: int
1161
1145
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1240,7 +1224,6 @@ class ContainerOperations:
1240
1224
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
1241
1225
  **kwargs: Any
1242
1226
  ) -> None:
1243
- # pylint: disable=line-too-long
1244
1227
  """[Update] establishes and manages a lock on a container for delete operations. The lock duration
1245
1228
  can be 15 to 60 seconds, or can be infinite.
1246
1229
 
@@ -1248,7 +1231,7 @@ class ContainerOperations:
1248
1231
  :type lease_id: str
1249
1232
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1250
1233
  :code:`<a
1251
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1234
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1252
1235
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1253
1236
  :type timeout: int
1254
1237
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1334,13 +1317,12 @@ class ContainerOperations:
1334
1317
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
1335
1318
  **kwargs: Any
1336
1319
  ) -> None:
1337
- # pylint: disable=line-too-long
1338
1320
  """[Update] establishes and manages a lock on a container for delete operations. The lock duration
1339
1321
  can be 15 to 60 seconds, or can be infinite.
1340
1322
 
1341
1323
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1342
1324
  :code:`<a
1343
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1325
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1344
1326
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1345
1327
  :type timeout: int
1346
1328
  :param break_period: For a break operation, proposed duration the lease should continue before
@@ -1435,7 +1417,6 @@ class ContainerOperations:
1435
1417
  modified_access_conditions: Optional[_models.ModifiedAccessConditions] = None,
1436
1418
  **kwargs: Any
1437
1419
  ) -> None:
1438
- # pylint: disable=line-too-long
1439
1420
  """[Update] establishes and manages a lock on a container for delete operations. The lock duration
1440
1421
  can be 15 to 60 seconds, or can be infinite.
1441
1422
 
@@ -1447,7 +1428,7 @@ class ContainerOperations:
1447
1428
  :type proposed_lease_id: str
1448
1429
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1449
1430
  :code:`<a
1450
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1431
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1451
1432
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1452
1433
  :type timeout: int
1453
1434
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1536,7 +1517,6 @@ class ContainerOperations:
1536
1517
  request_id_parameter: Optional[str] = None,
1537
1518
  **kwargs: Any
1538
1519
  ) -> _models.ListBlobsFlatSegmentResponse:
1539
- # pylint: disable=line-too-long
1540
1520
  """[Update] The List Blobs operation returns a list of the blobs under the specified container.
1541
1521
 
1542
1522
  :param prefix: Filters the results to return only containers whose name begins with the
@@ -1561,7 +1541,7 @@ class ContainerOperations:
1561
1541
  :type include: list[str or ~azure.storage.blob.models.ListBlobsIncludeItem]
1562
1542
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1563
1543
  :code:`<a
1564
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1544
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1565
1545
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1566
1546
  :type timeout: int
1567
1547
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1643,7 +1623,6 @@ class ContainerOperations:
1643
1623
  request_id_parameter: Optional[str] = None,
1644
1624
  **kwargs: Any
1645
1625
  ) -> _models.ListBlobsHierarchySegmentResponse:
1646
- # pylint: disable=line-too-long
1647
1626
  """[Update] The List Blobs operation returns a list of the blobs under the specified container.
1648
1627
 
1649
1628
  :param delimiter: When the request includes this parameter, the operation returns a BlobPrefix
@@ -1673,7 +1652,7 @@ class ContainerOperations:
1673
1652
  :type include: list[str or ~azure.storage.blob.models.ListBlobsIncludeItem]
1674
1653
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1675
1654
  :code:`<a
1676
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1655
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1677
1656
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1678
1657
  :type timeout: int
1679
1658
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1748,12 +1727,11 @@ class ContainerOperations:
1748
1727
  async def get_account_info(
1749
1728
  self, timeout: Optional[int] = None, request_id_parameter: Optional[str] = None, **kwargs: Any
1750
1729
  ) -> None:
1751
- # pylint: disable=line-too-long
1752
1730
  """Returns the sku name and account kind.
1753
1731
 
1754
1732
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1755
1733
  :code:`<a
1756
- href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1734
+ href="https://learn.microsoft.com/rest/api/storageservices/setting-timeouts-for-blob-service-operations">Setting
1757
1735
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1758
1736
  :type timeout: int
1759
1737
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character