azure-mgmt-storage 22.0.0__py3-none-any.whl → 22.1.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.
Files changed (79) hide show
  1. azure/mgmt/storage/_storage_management_client.py +76 -76
  2. azure/mgmt/storage/_version.py +1 -1
  3. azure/mgmt/storage/aio/_storage_management_client.py +76 -76
  4. azure/mgmt/storage/models.py +1 -1
  5. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  6. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  7. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  8. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/_configuration.py +2 -2
  9. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/_storage_management_client.py +49 -49
  10. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/_version.py +1 -1
  11. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/_configuration.py +2 -2
  12. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/_storage_management_client.py +49 -49
  13. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_blob_containers_operations.py +57 -57
  14. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_blob_inventory_policies_operations.py +17 -17
  15. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_blob_services_operations.py +11 -11
  16. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_deleted_accounts_operations.py +5 -5
  17. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_encryption_scopes_operations.py +18 -18
  18. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_file_services_operations.py +173 -12
  19. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_file_shares_operations.py +27 -27
  20. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_local_users_operations.py +17 -17
  21. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_management_policies_operations.py +15 -15
  22. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_network_security_perimeter_configurations_operations.py +7 -7
  23. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_object_replication_policies_operations.py +12 -12
  24. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_operations.py +3 -3
  25. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_private_endpoint_connections_operations.py +12 -12
  26. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_private_link_resources_operations.py +3 -3
  27. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_queue_operations.py +18 -18
  28. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_queue_services_operations.py +11 -11
  29. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_skus_operations.py +3 -3
  30. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_accounts_operations.py +69 -69
  31. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignment_instances_report_operations.py +3 -3
  32. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignments_instances_report_operations.py +3 -3
  33. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignments_operations.py +21 -21
  34. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_table_operations.py +18 -18
  35. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_table_services_operations.py +11 -11
  36. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_usages_operations.py +3 -3
  37. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/__init__.py +22 -0
  38. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/_models_py3.py +1132 -526
  39. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/_storage_management_client_enums.py +6 -0
  40. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_blob_containers_operations.py +71 -71
  41. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_blob_inventory_policies_operations.py +21 -21
  42. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_blob_services_operations.py +14 -14
  43. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_deleted_accounts_operations.py +7 -7
  44. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_encryption_scopes_operations.py +22 -22
  45. azure/mgmt/storage/v2024_01_01/operations/_file_services_operations.py +669 -0
  46. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_file_shares_operations.py +34 -34
  47. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_local_users_operations.py +23 -23
  48. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_management_policies_operations.py +18 -18
  49. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_network_security_perimeter_configurations_operations.py +10 -10
  50. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_object_replication_policies_operations.py +16 -16
  51. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_operations.py +4 -4
  52. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_private_endpoint_connections_operations.py +16 -16
  53. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_private_link_resources_operations.py +4 -4
  54. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_queue_operations.py +23 -23
  55. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_queue_services_operations.py +14 -14
  56. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_skus_operations.py +4 -4
  57. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_accounts_operations.py +87 -87
  58. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignment_instances_report_operations.py +4 -4
  59. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignments_instances_report_operations.py +4 -4
  60. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignments_operations.py +26 -26
  61. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_table_operations.py +23 -23
  62. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_table_services_operations.py +14 -14
  63. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_usages_operations.py +4 -4
  64. {azure_mgmt_storage-22.0.0.dist-info → azure_mgmt_storage-22.1.0.dist-info}/METADATA +31 -1
  65. {azure_mgmt_storage-22.0.0.dist-info → azure_mgmt_storage-22.1.0.dist-info}/RECORD +78 -78
  66. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +0 -431
  67. /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/__init__.py +0 -0
  68. /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/_patch.py +0 -0
  69. /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/__init__.py +0 -0
  70. /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/_patch.py +0 -0
  71. /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/__init__.py +0 -0
  72. /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_patch.py +0 -0
  73. /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/_patch.py +0 -0
  74. /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/__init__.py +0 -0
  75. /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_patch.py +0 -0
  76. /azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/py.typed +0 -0
  77. {azure_mgmt_storage-22.0.0.dist-info → azure_mgmt_storage-22.1.0.dist-info}/LICENSE +0 -0
  78. {azure_mgmt_storage-22.0.0.dist-info → azure_mgmt_storage-22.1.0.dist-info}/WHEEL +0 -0
  79. {azure_mgmt_storage-22.0.0.dist-info → azure_mgmt_storage-22.1.0.dist-info}/top_level.txt +0 -0
@@ -41,7 +41,7 @@ def build_list_request(resource_group_name: str, account_name: str, subscription
41
41
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
42
42
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
43
43
 
44
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01"))
44
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
45
45
  accept = _headers.pop("Accept", "application/json")
46
46
 
47
47
  # Construct URL
@@ -76,7 +76,7 @@ def build_set_service_properties_request(
76
76
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
77
77
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
78
78
 
79
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01"))
79
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
80
80
  queue_service_name: Literal["default"] = kwargs.pop("queue_service_name", "default")
81
81
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
82
82
  accept = _headers.pop("Accept", "application/json")
@@ -116,7 +116,7 @@ def build_get_service_properties_request(
116
116
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
117
117
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
118
118
 
119
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01"))
119
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
120
120
  queue_service_name: Literal["default"] = kwargs.pop("queue_service_name", "default")
121
121
  accept = _headers.pop("Accept", "application/json")
122
122
 
@@ -153,7 +153,7 @@ class QueueServicesOperations:
153
153
  **DO NOT** instantiate this class directly.
154
154
 
155
155
  Instead, you should access the following operations through
156
- :class:`~azure.mgmt.storage.v2023_05_01.StorageManagementClient`'s
156
+ :class:`~azure.mgmt.storage.v2024_01_01.StorageManagementClient`'s
157
157
  :attr:`queue_services` attribute.
158
158
  """
159
159
 
@@ -179,7 +179,7 @@ class QueueServicesOperations:
179
179
  lower-case letters only. Required.
180
180
  :type account_name: str
181
181
  :return: ListQueueServices or the result of cls(response)
182
- :rtype: ~azure.mgmt.storage.v2023_05_01.models.ListQueueServices
182
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.ListQueueServices
183
183
  :raises ~azure.core.exceptions.HttpResponseError:
184
184
  """
185
185
  error_map: MutableMapping = {
@@ -193,7 +193,7 @@ class QueueServicesOperations:
193
193
  _headers = kwargs.pop("headers", {}) or {}
194
194
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
195
195
 
196
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-05-01"))
196
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
197
197
  cls: ClsType[_models.ListQueueServices] = kwargs.pop("cls", None)
198
198
 
199
199
  _request = build_list_request(
@@ -246,12 +246,12 @@ class QueueServicesOperations:
246
246
  :type account_name: str
247
247
  :param parameters: The properties of a storage account’s Queue service, only properties for
248
248
  Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. Required.
249
- :type parameters: ~azure.mgmt.storage.v2023_05_01.models.QueueServiceProperties
249
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.QueueServiceProperties
250
250
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
251
251
  Default value is "application/json".
252
252
  :paramtype content_type: str
253
253
  :return: QueueServiceProperties or the result of cls(response)
254
- :rtype: ~azure.mgmt.storage.v2023_05_01.models.QueueServiceProperties
254
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.QueueServiceProperties
255
255
  :raises ~azure.core.exceptions.HttpResponseError:
256
256
  """
257
257
 
@@ -282,7 +282,7 @@ class QueueServicesOperations:
282
282
  Default value is "application/json".
283
283
  :paramtype content_type: str
284
284
  :return: QueueServiceProperties or the result of cls(response)
285
- :rtype: ~azure.mgmt.storage.v2023_05_01.models.QueueServiceProperties
285
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.QueueServiceProperties
286
286
  :raises ~azure.core.exceptions.HttpResponseError:
287
287
  """
288
288
 
@@ -307,9 +307,9 @@ class QueueServicesOperations:
307
307
  :param parameters: The properties of a storage account’s Queue service, only properties for
308
308
  Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. Is either a
309
309
  QueueServiceProperties type or a IO[bytes] type. Required.
310
- :type parameters: ~azure.mgmt.storage.v2023_05_01.models.QueueServiceProperties or IO[bytes]
310
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.QueueServiceProperties or IO[bytes]
311
311
  :return: QueueServiceProperties or the result of cls(response)
312
- :rtype: ~azure.mgmt.storage.v2023_05_01.models.QueueServiceProperties
312
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.QueueServiceProperties
313
313
  :raises ~azure.core.exceptions.HttpResponseError:
314
314
  """
315
315
  error_map: MutableMapping = {
@@ -323,7 +323,7 @@ class QueueServicesOperations:
323
323
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
324
324
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
325
325
 
326
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-05-01"))
326
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
327
327
  queue_service_name: Literal["default"] = kwargs.pop("queue_service_name", "default")
328
328
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
329
329
  cls: ClsType[_models.QueueServiceProperties] = kwargs.pop("cls", None)
@@ -383,7 +383,7 @@ class QueueServicesOperations:
383
383
  lower-case letters only. Required.
384
384
  :type account_name: str
385
385
  :return: QueueServiceProperties or the result of cls(response)
386
- :rtype: ~azure.mgmt.storage.v2023_05_01.models.QueueServiceProperties
386
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.QueueServiceProperties
387
387
  :raises ~azure.core.exceptions.HttpResponseError:
388
388
  """
389
389
  error_map: MutableMapping = {
@@ -397,7 +397,7 @@ class QueueServicesOperations:
397
397
  _headers = kwargs.pop("headers", {}) or {}
398
398
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
399
399
 
400
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-05-01"))
400
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
401
401
  queue_service_name: Literal["default"] = kwargs.pop("queue_service_name", "default")
402
402
  cls: ClsType[_models.QueueServiceProperties] = kwargs.pop("cls", None)
403
403
 
@@ -42,7 +42,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
42
42
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
43
43
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
44
44
 
45
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-05-01"))
45
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
46
46
  accept = _headers.pop("Accept", "application/json")
47
47
 
48
48
  # Construct URL
@@ -68,7 +68,7 @@ class SkusOperations:
68
68
  **DO NOT** instantiate this class directly.
69
69
 
70
70
  Instead, you should access the following operations through
71
- :class:`~azure.mgmt.storage.v2023_05_01.StorageManagementClient`'s
71
+ :class:`~azure.mgmt.storage.v2024_01_01.StorageManagementClient`'s
72
72
  :attr:`skus` attribute.
73
73
  """
74
74
 
@@ -87,13 +87,13 @@ class SkusOperations:
87
87
  """Lists the available SKUs supported by Microsoft.Storage for given subscription.
88
88
 
89
89
  :return: An iterator like instance of either SkuInformation or the result of cls(response)
90
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2023_05_01.models.SkuInformation]
90
+ :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2024_01_01.models.SkuInformation]
91
91
  :raises ~azure.core.exceptions.HttpResponseError:
92
92
  """
93
93
  _headers = kwargs.pop("headers", {}) or {}
94
94
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
95
95
 
96
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-05-01"))
96
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
97
97
  cls: ClsType[_models.StorageSkuListResult] = kwargs.pop("cls", None)
98
98
 
99
99
  error_map: MutableMapping = {