azure-mgmt-storage 22.2.0__tar.gz → 23.0.0__tar.gz

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 (209) hide show
  1. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/CHANGELOG.md +6 -0
  2. {azure_mgmt_storage-22.2.0/azure_mgmt_storage.egg-info → azure_mgmt_storage-23.0.0}/PKG-INFO +11 -6
  3. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/README.md +2 -2
  4. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/_meta.json +3 -3
  5. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/aio/operations → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/_patch.py +5 -4
  6. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/_storage_management_client.py +62 -76
  7. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/_version.py → azure_mgmt_storage-23.0.0/azure/mgmt/storage/_utils/__init__.py +0 -3
  8. azure_mgmt_storage-22.2.0/azure/mgmt/storage/_serialization.py → azure_mgmt_storage-23.0.0/azure/mgmt/storage/_utils/serialization.py +46 -131
  9. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/azure/mgmt/storage/_version.py +1 -1
  10. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/models → azure_mgmt_storage-23.0.0/azure/mgmt/storage/aio}/_patch.py +5 -4
  11. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/_storage_management_client.py +64 -77
  12. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/__init__.py +1 -0
  13. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_blob_containers_operations.py +66 -69
  14. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_blob_inventory_policies_operations.py +26 -34
  15. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_blob_services_operations.py +20 -22
  16. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_deleted_accounts_operations.py +14 -17
  17. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_encryption_scopes_operations.py +27 -30
  18. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_file_services_operations.py +24 -27
  19. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_file_shares_operations.py +36 -39
  20. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_local_users_operations.py +26 -29
  21. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_management_policies_operations.py +23 -30
  22. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_network_security_perimeter_configurations_operations.py +16 -19
  23. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_object_replication_policies_operations.py +21 -23
  24. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_operations.py +12 -15
  25. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage/aio}/operations/_patch.py +5 -4
  26. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_private_endpoint_connections_operations.py +21 -23
  27. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_private_link_resources_operations.py +11 -13
  28. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_queue_operations.py +27 -30
  29. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_queue_services_operations.py +19 -21
  30. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_skus_operations.py +12 -15
  31. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_storage_accounts_operations.py +80 -95
  32. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_storage_task_assignment_instances_report_operations.py +13 -15
  33. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_storage_task_assignments_instances_report_operations.py +13 -15
  34. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_storage_task_assignments_operations.py +30 -39
  35. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_table_operations.py +27 -29
  36. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_table_services_operations.py +19 -21
  37. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/operations/_usages_operations.py +12 -14
  38. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/models/_models_py3.py +855 -910
  39. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/aio/operations → azure_mgmt_storage-23.0.0/azure/mgmt/storage/models}/_patch.py +5 -4
  40. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/__init__.py +1 -0
  41. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_blob_containers_operations.py +81 -84
  42. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_blob_inventory_policies_operations.py +31 -39
  43. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_blob_services_operations.py +24 -27
  44. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_deleted_accounts_operations.py +16 -18
  45. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_encryption_scopes_operations.py +32 -34
  46. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_file_services_operations.py +30 -32
  47. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_file_shares_operations.py +44 -47
  48. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_local_users_operations.py +33 -35
  49. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_management_policies_operations.py +27 -34
  50. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_network_security_perimeter_configurations_operations.py +20 -22
  51. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_object_replication_policies_operations.py +26 -29
  52. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_operations.py +12 -15
  53. azure_mgmt_storage-23.0.0/azure/mgmt/storage/operations/_patch.py +21 -0
  54. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_private_endpoint_connections_operations.py +26 -29
  55. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_private_link_resources_operations.py +13 -15
  56. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_queue_operations.py +33 -35
  57. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_queue_services_operations.py +23 -25
  58. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_skus_operations.py +12 -15
  59. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_storage_accounts_operations.py +97 -105
  60. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_storage_task_assignment_instances_report_operations.py +14 -18
  61. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_storage_task_assignments_instances_report_operations.py +14 -18
  62. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_storage_task_assignments_operations.py +36 -47
  63. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_table_operations.py +33 -35
  64. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_table_services_operations.py +23 -25
  65. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/operations/_usages_operations.py +13 -16
  66. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0/azure_mgmt_storage.egg-info}/PKG-INFO +11 -6
  67. azure_mgmt_storage-23.0.0/azure_mgmt_storage.egg-info/SOURCES.txt +95 -0
  68. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/azure_mgmt_storage.egg-info/requires.txt +1 -1
  69. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/setup.py +2 -3
  70. azure_mgmt_storage-22.2.0/azure/mgmt/storage/__init__.py +0 -20
  71. azure_mgmt_storage-22.2.0/azure/mgmt/storage/_configuration.py +0 -66
  72. azure_mgmt_storage-22.2.0/azure/mgmt/storage/_storage_management_client.py +0 -557
  73. azure_mgmt_storage-22.2.0/azure/mgmt/storage/aio/__init__.py +0 -10
  74. azure_mgmt_storage-22.2.0/azure/mgmt/storage/aio/_configuration.py +0 -66
  75. azure_mgmt_storage-22.2.0/azure/mgmt/storage/aio/_storage_management_client.py +0 -557
  76. azure_mgmt_storage-22.2.0/azure/mgmt/storage/models.py +0 -8
  77. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/_configuration.py +0 -65
  78. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/_patch.py +0 -32
  79. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/_storage_management_client.py +0 -117
  80. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/_version.py +0 -9
  81. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/aio/_configuration.py +0 -65
  82. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/aio/_patch.py +0 -32
  83. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +0 -120
  84. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/aio/operations/__init__.py +0 -27
  85. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +0 -1023
  86. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +0 -130
  87. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/models/__init__.py +0 -88
  88. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/models/_models_py3.py +0 -829
  89. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/models/_storage_management_client_enums.py +0 -99
  90. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/operations/__init__.py +0 -27
  91. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +0 -1278
  92. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +0 -157
  93. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01/py.typed +0 -1
  94. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/__init__.py +0 -32
  95. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/_configuration.py +0 -65
  96. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/_patch.py +0 -32
  97. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/_storage_management.py +0 -121
  98. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/_version.py +0 -9
  99. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/aio/__init__.py +0 -29
  100. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/aio/_configuration.py +0 -65
  101. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/aio/_patch.py +0 -32
  102. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +0 -124
  103. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/aio/operations/__init__.py +0 -31
  104. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +0 -130
  105. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +0 -1299
  106. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +0 -130
  107. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/models/__init__.py +0 -140
  108. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/models/_models_py3.py +0 -1851
  109. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/models/_patch.py +0 -20
  110. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/models/_storage_management_enums.py +0 -192
  111. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/operations/__init__.py +0 -31
  112. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/operations/_operations.py +0 -151
  113. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/operations/_patch.py +0 -20
  114. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +0 -157
  115. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +0 -1638
  116. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +0 -157
  117. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2017_10_01/py.typed +0 -1
  118. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/__init__.py +0 -32
  119. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/_configuration.py +0 -64
  120. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/_patch.py +0 -32
  121. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/_storage_management_client.py +0 -213
  122. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/_version.py +0 -9
  123. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/__init__.py +0 -29
  124. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/_configuration.py +0 -64
  125. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/_patch.py +0 -32
  126. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +0 -217
  127. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py +0 -59
  128. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +0 -1725
  129. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +0 -437
  130. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +0 -368
  131. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +0 -538
  132. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +0 -335
  133. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +0 -771
  134. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +0 -428
  135. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +0 -130
  136. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_patch.py +0 -20
  137. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +0 -113
  138. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +0 -335
  139. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +0 -131
  140. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +0 -1696
  141. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +0 -394
  142. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +0 -335
  143. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +0 -134
  144. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/models/__init__.py +0 -364
  145. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/models/_models_py3.py +0 -6038
  146. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/models/_patch.py +0 -20
  147. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -456
  148. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/__init__.py +0 -59
  149. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +0 -2226
  150. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +0 -582
  151. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +0 -476
  152. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +0 -677
  153. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +0 -444
  154. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +0 -1000
  155. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +0 -453
  156. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +0 -567
  157. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_operations.py +0 -151
  158. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_patch.py +0 -20
  159. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +0 -575
  160. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +0 -149
  161. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +0 -805
  162. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +0 -444
  163. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +0 -157
  164. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +0 -2122
  165. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +0 -563
  166. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +0 -444
  167. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +0 -164
  168. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2019_06_01/py.typed +0 -1
  169. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/__init__.py +0 -32
  170. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/_patch.py +0 -20
  171. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/aio/__init__.py +0 -29
  172. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/aio/_patch.py +0 -20
  173. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/aio/operations/_management_policies_operations.py +0 -343
  174. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/aio/operations/_operations.py +0 -130
  175. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/aio/operations/_patch.py +0 -20
  176. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/aio/operations/_private_endpoint_connections_operations.py +0 -424
  177. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/aio/operations/_queue_operations.py +0 -597
  178. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/models/_patch.py +0 -20
  179. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/operations/_patch.py +0 -20
  180. azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01/py.typed +0 -1
  181. azure_mgmt_storage-22.2.0/azure_mgmt_storage.egg-info/SOURCES.txt +0 -205
  182. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/LICENSE +0 -0
  183. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/MANIFEST.in +0 -0
  184. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/azure/__init__.py +0 -0
  185. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/azure/mgmt/__init__.py +0 -0
  186. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/__init__.py +0 -0
  187. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/_configuration.py +0 -0
  188. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2016_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/__init__.py +0 -0
  189. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/aio/_configuration.py +0 -0
  190. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/models/__init__.py +0 -0
  191. {azure_mgmt_storage-22.2.0/azure/mgmt/storage/v2024_01_01 → azure_mgmt_storage-23.0.0/azure/mgmt/storage}/models/_storage_management_client_enums.py +0 -0
  192. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/azure/mgmt/storage/py.typed +0 -0
  193. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/azure_mgmt_storage.egg-info/dependency_links.txt +0 -0
  194. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/azure_mgmt_storage.egg-info/not-zip-safe +0 -0
  195. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/azure_mgmt_storage.egg-info/top_level.txt +0 -0
  196. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/pyproject.toml +0 -0
  197. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/setup.cfg +0 -0
  198. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/_aio_testcase.py +0 -0
  199. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/conftest.py +0 -0
  200. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/disable_test_cli_mgmt_storage.py +0 -0
  201. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/disable_test_cli_mgmt_storage_async.py +0 -0
  202. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/test_storage_management_deleted_accounts_operations_async_test.py +0 -0
  203. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/test_storage_management_deleted_accounts_operations_test.py +0 -0
  204. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/test_storage_management_operations_async_test.py +0 -0
  205. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/test_storage_management_operations_test.py +0 -0
  206. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/test_storage_management_skus_operations_async_test.py +0 -0
  207. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/test_storage_management_skus_operations_test.py +0 -0
  208. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/test_storage_management_storage_accounts_operations_async_test.py +0 -0
  209. {azure_mgmt_storage-22.2.0 → azure_mgmt_storage-23.0.0}/tests/test_storage_management_storage_accounts_operations_test.py +0 -0
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ## 23.0.0 (2025-05-15)
4
+
5
+ ### Breaking Changes
6
+
7
+ - This package now only targets the latest Api-Version available on Azure and removes APIs of other Api-Version. After this change, the package can have much smaller size. If your application requires a specific and non-latest Api-Version, it's recommended to pin this package to the previous released version; If your application always only use latest Api-Version, please ignore this change.
8
+
3
9
  ## 22.2.0 (2025-04-21)
4
10
 
5
11
  ### Features Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: azure-mgmt-storage
3
- Version: 22.2.0
3
+ Version: 23.0.0
4
4
  Summary: Microsoft Azure Storage Management Client Library for Python
5
5
  Home-page: https://github.com/Azure/azure-sdk-for-python
6
6
  Author: Microsoft Corporation
@@ -11,24 +11,23 @@ Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Programming Language :: Python
12
12
  Classifier: Programming Language :: Python :: 3 :: Only
13
13
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.8
15
14
  Classifier: Programming Language :: Python :: 3.9
16
15
  Classifier: Programming Language :: Python :: 3.10
17
16
  Classifier: Programming Language :: Python :: 3.11
18
17
  Classifier: Programming Language :: Python :: 3.12
19
18
  Classifier: License :: OSI Approved :: MIT License
20
- Requires-Python: >=3.8
19
+ Requires-Python: >=3.9
21
20
  Description-Content-Type: text/markdown
22
21
  License-File: LICENSE
23
22
  Requires-Dist: isodate>=0.6.1
24
23
  Requires-Dist: typing-extensions>=4.6.0
25
24
  Requires-Dist: azure-common>=1.1
26
- Requires-Dist: azure-mgmt-core>=1.3.2
25
+ Requires-Dist: azure-mgmt-core>=1.5.0
27
26
 
28
27
  # Microsoft Azure SDK for Python
29
28
 
30
29
  This is the Microsoft Azure Storage Management Client Library.
31
- This package has been tested with Python 3.8+.
30
+ This package has been tested with Python 3.9+.
32
31
  For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
33
32
 
34
33
  ## _Disclaimer_
@@ -39,7 +38,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
39
38
 
40
39
  ### Prerequisites
41
40
 
42
- - Python 3.8+ is required to use this package.
41
+ - Python 3.9+ is required to use this package.
43
42
  - [Azure subscription](https://azure.microsoft.com/free/)
44
43
 
45
44
  ### Install the package
@@ -90,6 +89,12 @@ section of the project.
90
89
 
91
90
  # Release History
92
91
 
92
+ ## 23.0.0 (2025-05-15)
93
+
94
+ ### Breaking Changes
95
+
96
+ - This package now only targets the latest Api-Version available on Azure and removes APIs of other Api-Version. After this change, the package can have much smaller size. If your application requires a specific and non-latest Api-Version, it's recommended to pin this package to the previous released version; If your application always only use latest Api-Version, please ignore this change.
97
+
93
98
  ## 22.2.0 (2025-04-21)
94
99
 
95
100
  ### Features Added
@@ -1,7 +1,7 @@
1
1
  # Microsoft Azure SDK for Python
2
2
 
3
3
  This is the Microsoft Azure Storage Management Client Library.
4
- This package has been tested with Python 3.8+.
4
+ This package has been tested with Python 3.9+.
5
5
  For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
6
6
 
7
7
  ## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
12
12
 
13
13
  ### Prerequisites
14
14
 
15
- - Python 3.8+ is required to use this package.
15
+ - Python 3.9+ is required to use this package.
16
16
  - [Azure subscription](https://azure.microsoft.com/free/)
17
17
 
18
18
  ### Install the package
@@ -1,12 +1,12 @@
1
1
  {
2
- "commit": "2ddcc49aa62928eff65f3864a88832fb4959166c",
2
+ "commit": "03dc846ecc0adf0ec99ba3aca01676df7fa58dc5",
3
3
  "repository_url": "https://github.com/Azure/azure-rest-api-specs",
4
4
  "autorest": "3.10.2",
5
5
  "use": [
6
- "@autorest/python@6.27.4",
6
+ "@autorest/python@6.34.1",
7
7
  "@autorest/modelerfour@4.27.0"
8
8
  ],
9
- "autorest_command": "autorest specification/storage/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.27.4 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
9
+ "autorest_command": "autorest specification/storage/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.34.1 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
10
10
  "readme": "specification/storage/resource-manager/readme.md",
11
11
  "package-2023-01": "2023-07-20 11:56:40 -0700 3e6b4ddca225530c27273d0f816466a905c0151b Microsoft.Storage/stable/2023-01-01/table.json",
12
12
  "package-2022-09": "2022-11-13 19:43:16 -0800 da0cfefaa0e6c237e1e3819f1cb2e11d7606878d Microsoft.Storage/stable/2022-09-01/table.json",
@@ -1,7 +1,8 @@
1
- # ------------------------------------
2
- # Copyright (c) Microsoft Corporation.
3
- # Licensed under the MIT License.
4
- # ------------------------------------
1
+ # coding=utf-8
2
+ # --------------------------------------------------------------------------
3
+ # Copyright (c) Microsoft Corporation. All rights reserved.
4
+ # Licensed under the MIT License. See License.txt in the project root for license information.
5
+ # --------------------------------------------------------------------------
5
6
  """Customize generated code here.
6
7
 
7
8
  Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
@@ -7,17 +7,19 @@
7
7
  # --------------------------------------------------------------------------
8
8
 
9
9
  from copy import deepcopy
10
- from typing import Any, TYPE_CHECKING
10
+ from typing import Any, Optional, TYPE_CHECKING, cast
11
11
  from typing_extensions import Self
12
12
 
13
13
  from azure.core.pipeline import policies
14
14
  from azure.core.rest import HttpRequest, HttpResponse
15
+ from azure.core.settings import settings
15
16
  from azure.mgmt.core import ARMPipelineClient
16
17
  from azure.mgmt.core.policies import ARMAutoResourceProviderRegistrationPolicy
18
+ from azure.mgmt.core.tools import get_arm_endpoints
17
19
 
18
20
  from . import models as _models
19
- from .._serialization import Deserializer, Serializer
20
21
  from ._configuration import StorageManagementClientConfiguration
22
+ from ._utils.serialization import Deserializer, Serializer
21
23
  from .operations import (
22
24
  BlobContainersOperations,
23
25
  BlobInventoryPoliciesOperations,
@@ -53,71 +55,67 @@ class StorageManagementClient: # pylint: disable=too-many-instance-attributes
53
55
  """The Azure Storage Management API.
54
56
 
55
57
  :ivar blob_services: BlobServicesOperations operations
56
- :vartype blob_services: azure.mgmt.storage.v2024_01_01.operations.BlobServicesOperations
58
+ :vartype blob_services: azure.mgmt.storage.operations.BlobServicesOperations
57
59
  :ivar blob_containers: BlobContainersOperations operations
58
- :vartype blob_containers: azure.mgmt.storage.v2024_01_01.operations.BlobContainersOperations
60
+ :vartype blob_containers: azure.mgmt.storage.operations.BlobContainersOperations
59
61
  :ivar file_services: FileServicesOperations operations
60
- :vartype file_services: azure.mgmt.storage.v2024_01_01.operations.FileServicesOperations
62
+ :vartype file_services: azure.mgmt.storage.operations.FileServicesOperations
61
63
  :ivar file_shares: FileSharesOperations operations
62
- :vartype file_shares: azure.mgmt.storage.v2024_01_01.operations.FileSharesOperations
64
+ :vartype file_shares: azure.mgmt.storage.operations.FileSharesOperations
63
65
  :ivar queue_services: QueueServicesOperations operations
64
- :vartype queue_services: azure.mgmt.storage.v2024_01_01.operations.QueueServicesOperations
66
+ :vartype queue_services: azure.mgmt.storage.operations.QueueServicesOperations
65
67
  :ivar queue: QueueOperations operations
66
- :vartype queue: azure.mgmt.storage.v2024_01_01.operations.QueueOperations
68
+ :vartype queue: azure.mgmt.storage.operations.QueueOperations
67
69
  :ivar operations: Operations operations
68
- :vartype operations: azure.mgmt.storage.v2024_01_01.operations.Operations
70
+ :vartype operations: azure.mgmt.storage.operations.Operations
69
71
  :ivar skus: SkusOperations operations
70
- :vartype skus: azure.mgmt.storage.v2024_01_01.operations.SkusOperations
72
+ :vartype skus: azure.mgmt.storage.operations.SkusOperations
71
73
  :ivar storage_accounts: StorageAccountsOperations operations
72
- :vartype storage_accounts: azure.mgmt.storage.v2024_01_01.operations.StorageAccountsOperations
74
+ :vartype storage_accounts: azure.mgmt.storage.operations.StorageAccountsOperations
73
75
  :ivar deleted_accounts: DeletedAccountsOperations operations
74
- :vartype deleted_accounts: azure.mgmt.storage.v2024_01_01.operations.DeletedAccountsOperations
76
+ :vartype deleted_accounts: azure.mgmt.storage.operations.DeletedAccountsOperations
75
77
  :ivar usages: UsagesOperations operations
76
- :vartype usages: azure.mgmt.storage.v2024_01_01.operations.UsagesOperations
78
+ :vartype usages: azure.mgmt.storage.operations.UsagesOperations
77
79
  :ivar management_policies: ManagementPoliciesOperations operations
78
- :vartype management_policies:
79
- azure.mgmt.storage.v2024_01_01.operations.ManagementPoliciesOperations
80
+ :vartype management_policies: azure.mgmt.storage.operations.ManagementPoliciesOperations
80
81
  :ivar blob_inventory_policies: BlobInventoryPoliciesOperations operations
81
- :vartype blob_inventory_policies:
82
- azure.mgmt.storage.v2024_01_01.operations.BlobInventoryPoliciesOperations
82
+ :vartype blob_inventory_policies: azure.mgmt.storage.operations.BlobInventoryPoliciesOperations
83
83
  :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
84
84
  :vartype private_endpoint_connections:
85
- azure.mgmt.storage.v2024_01_01.operations.PrivateEndpointConnectionsOperations
85
+ azure.mgmt.storage.operations.PrivateEndpointConnectionsOperations
86
86
  :ivar private_link_resources: PrivateLinkResourcesOperations operations
87
- :vartype private_link_resources:
88
- azure.mgmt.storage.v2024_01_01.operations.PrivateLinkResourcesOperations
87
+ :vartype private_link_resources: azure.mgmt.storage.operations.PrivateLinkResourcesOperations
89
88
  :ivar object_replication_policies: ObjectReplicationPoliciesOperations operations
90
89
  :vartype object_replication_policies:
91
- azure.mgmt.storage.v2024_01_01.operations.ObjectReplicationPoliciesOperations
90
+ azure.mgmt.storage.operations.ObjectReplicationPoliciesOperations
92
91
  :ivar local_users: LocalUsersOperations operations
93
- :vartype local_users: azure.mgmt.storage.v2024_01_01.operations.LocalUsersOperations
92
+ :vartype local_users: azure.mgmt.storage.operations.LocalUsersOperations
94
93
  :ivar encryption_scopes: EncryptionScopesOperations operations
95
- :vartype encryption_scopes:
96
- azure.mgmt.storage.v2024_01_01.operations.EncryptionScopesOperations
94
+ :vartype encryption_scopes: azure.mgmt.storage.operations.EncryptionScopesOperations
97
95
  :ivar table_services: TableServicesOperations operations
98
- :vartype table_services: azure.mgmt.storage.v2024_01_01.operations.TableServicesOperations
96
+ :vartype table_services: azure.mgmt.storage.operations.TableServicesOperations
99
97
  :ivar table: TableOperations operations
100
- :vartype table: azure.mgmt.storage.v2024_01_01.operations.TableOperations
98
+ :vartype table: azure.mgmt.storage.operations.TableOperations
101
99
  :ivar network_security_perimeter_configurations:
102
100
  NetworkSecurityPerimeterConfigurationsOperations operations
103
101
  :vartype network_security_perimeter_configurations:
104
- azure.mgmt.storage.v2024_01_01.operations.NetworkSecurityPerimeterConfigurationsOperations
102
+ azure.mgmt.storage.operations.NetworkSecurityPerimeterConfigurationsOperations
105
103
  :ivar storage_task_assignments: StorageTaskAssignmentsOperations operations
106
104
  :vartype storage_task_assignments:
107
- azure.mgmt.storage.v2024_01_01.operations.StorageTaskAssignmentsOperations
105
+ azure.mgmt.storage.operations.StorageTaskAssignmentsOperations
108
106
  :ivar storage_task_assignments_instances_report:
109
107
  StorageTaskAssignmentsInstancesReportOperations operations
110
108
  :vartype storage_task_assignments_instances_report:
111
- azure.mgmt.storage.v2024_01_01.operations.StorageTaskAssignmentsInstancesReportOperations
109
+ azure.mgmt.storage.operations.StorageTaskAssignmentsInstancesReportOperations
112
110
  :ivar storage_task_assignment_instances_report: StorageTaskAssignmentInstancesReportOperations
113
111
  operations
114
112
  :vartype storage_task_assignment_instances_report:
115
- azure.mgmt.storage.v2024_01_01.operations.StorageTaskAssignmentInstancesReportOperations
113
+ azure.mgmt.storage.operations.StorageTaskAssignmentInstancesReportOperations
116
114
  :param credential: Credential needed for the client to connect to Azure. Required.
117
115
  :type credential: ~azure.core.credentials.TokenCredential
118
116
  :param subscription_id: The ID of the target subscription. Required.
119
117
  :type subscription_id: str
120
- :param base_url: Service URL. Default value is "https://management.azure.com".
118
+ :param base_url: Service URL. Default value is None.
121
119
  :type base_url: str
122
120
  :keyword api_version: Api Version. Default value is "2024-01-01". Note that overriding this
123
121
  default value may result in unsupported behavior.
@@ -127,15 +125,17 @@ class StorageManagementClient: # pylint: disable=too-many-instance-attributes
127
125
  """
128
126
 
129
127
  def __init__(
130
- self,
131
- credential: "TokenCredential",
132
- subscription_id: str,
133
- base_url: str = "https://management.azure.com",
134
- **kwargs: Any
128
+ self, credential: "TokenCredential", subscription_id: str, base_url: Optional[str] = None, **kwargs: Any
135
129
  ) -> None:
130
+ _cloud = kwargs.pop("cloud_setting", None) or settings.current.azure_cloud # type: ignore
131
+ _endpoints = get_arm_endpoints(_cloud)
132
+ if not base_url:
133
+ base_url = _endpoints["resource_manager"]
134
+ credential_scopes = kwargs.pop("credential_scopes", _endpoints["credential_scopes"])
136
135
  self._config = StorageManagementClientConfiguration(
137
- credential=credential, subscription_id=subscription_id, **kwargs
136
+ credential=credential, subscription_id=subscription_id, credential_scopes=credential_scopes, **kwargs
138
137
  )
138
+
139
139
  _policies = kwargs.pop("policies", None)
140
140
  if _policies is None:
141
141
  _policies = [
@@ -154,73 +154,59 @@ class StorageManagementClient: # pylint: disable=too-many-instance-attributes
154
154
  policies.SensitiveHeaderCleanupPolicy(**kwargs) if self._config.redirect_policy else None,
155
155
  self._config.http_logging_policy,
156
156
  ]
157
- self._client: ARMPipelineClient = ARMPipelineClient(base_url=base_url, policies=_policies, **kwargs)
157
+ self._client: ARMPipelineClient = ARMPipelineClient(base_url=cast(str, base_url), policies=_policies, **kwargs)
158
158
 
159
159
  client_models = {k: v for k, v in _models.__dict__.items() if isinstance(v, type)}
160
160
  self._serialize = Serializer(client_models)
161
161
  self._deserialize = Deserializer(client_models)
162
162
  self._serialize.client_side_validation = False
163
- self.blob_services = BlobServicesOperations(
164
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
165
- )
166
- self.blob_containers = BlobContainersOperations(
167
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
168
- )
169
- self.file_services = FileServicesOperations(
170
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
171
- )
172
- self.file_shares = FileSharesOperations(
173
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
174
- )
175
- self.queue_services = QueueServicesOperations(
176
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
177
- )
178
- self.queue = QueueOperations(self._client, self._config, self._serialize, self._deserialize, "2024-01-01")
179
- self.operations = Operations(self._client, self._config, self._serialize, self._deserialize, "2024-01-01")
180
- self.skus = SkusOperations(self._client, self._config, self._serialize, self._deserialize, "2024-01-01")
163
+ self.blob_services = BlobServicesOperations(self._client, self._config, self._serialize, self._deserialize)
164
+ self.blob_containers = BlobContainersOperations(self._client, self._config, self._serialize, self._deserialize)
165
+ self.file_services = FileServicesOperations(self._client, self._config, self._serialize, self._deserialize)
166
+ self.file_shares = FileSharesOperations(self._client, self._config, self._serialize, self._deserialize)
167
+ self.queue_services = QueueServicesOperations(self._client, self._config, self._serialize, self._deserialize)
168
+ self.queue = QueueOperations(self._client, self._config, self._serialize, self._deserialize)
169
+ self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
170
+ self.skus = SkusOperations(self._client, self._config, self._serialize, self._deserialize)
181
171
  self.storage_accounts = StorageAccountsOperations(
182
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
172
+ self._client, self._config, self._serialize, self._deserialize
183
173
  )
184
174
  self.deleted_accounts = DeletedAccountsOperations(
185
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
175
+ self._client, self._config, self._serialize, self._deserialize
186
176
  )
187
- self.usages = UsagesOperations(self._client, self._config, self._serialize, self._deserialize, "2024-01-01")
177
+ self.usages = UsagesOperations(self._client, self._config, self._serialize, self._deserialize)
188
178
  self.management_policies = ManagementPoliciesOperations(
189
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
179
+ self._client, self._config, self._serialize, self._deserialize
190
180
  )
191
181
  self.blob_inventory_policies = BlobInventoryPoliciesOperations(
192
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
182
+ self._client, self._config, self._serialize, self._deserialize
193
183
  )
194
184
  self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
195
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
185
+ self._client, self._config, self._serialize, self._deserialize
196
186
  )
197
187
  self.private_link_resources = PrivateLinkResourcesOperations(
198
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
188
+ self._client, self._config, self._serialize, self._deserialize
199
189
  )
200
190
  self.object_replication_policies = ObjectReplicationPoliciesOperations(
201
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
202
- )
203
- self.local_users = LocalUsersOperations(
204
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
191
+ self._client, self._config, self._serialize, self._deserialize
205
192
  )
193
+ self.local_users = LocalUsersOperations(self._client, self._config, self._serialize, self._deserialize)
206
194
  self.encryption_scopes = EncryptionScopesOperations(
207
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
208
- )
209
- self.table_services = TableServicesOperations(
210
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
195
+ self._client, self._config, self._serialize, self._deserialize
211
196
  )
212
- self.table = TableOperations(self._client, self._config, self._serialize, self._deserialize, "2024-01-01")
197
+ self.table_services = TableServicesOperations(self._client, self._config, self._serialize, self._deserialize)
198
+ self.table = TableOperations(self._client, self._config, self._serialize, self._deserialize)
213
199
  self.network_security_perimeter_configurations = NetworkSecurityPerimeterConfigurationsOperations(
214
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
200
+ self._client, self._config, self._serialize, self._deserialize
215
201
  )
216
202
  self.storage_task_assignments = StorageTaskAssignmentsOperations(
217
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
203
+ self._client, self._config, self._serialize, self._deserialize
218
204
  )
219
205
  self.storage_task_assignments_instances_report = StorageTaskAssignmentsInstancesReportOperations(
220
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
206
+ self._client, self._config, self._serialize, self._deserialize
221
207
  )
222
208
  self.storage_task_assignment_instances_report = StorageTaskAssignmentInstancesReportOperations(
223
- self._client, self._config, self._serialize, self._deserialize, "2024-01-01"
209
+ self._client, self._config, self._serialize, self._deserialize
224
210
  )
225
211
 
226
212
  def _send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:
@@ -1,9 +1,6 @@
1
- # coding=utf-8
2
1
  # --------------------------------------------------------------------------
3
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
4
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
5
4
  # Code generated by Microsoft (R) AutoRest Code Generator.
6
5
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
6
  # --------------------------------------------------------------------------
8
-
9
- VERSION = "22.2.0"