azure-mgmt-storage 21.2.1__py3-none-any.whl → 22.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure/mgmt/storage/_serialization.py +281 -168
- azure/mgmt/storage/_storage_management_client.py +16 -795
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_storage_management_client.py +16 -795
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2016_01_01/__init__.py +9 -3
- azure/mgmt/storage/v2016_01_01/_configuration.py +1 -2
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +3 -3
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/__init__.py +9 -3
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +1 -2
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +3 -3
- azure/mgmt/storage/v2016_01_01/aio/operations/__init__.py +10 -4
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +32 -41
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +4 -9
- azure/mgmt/storage/v2016_01_01/models/__init__.py +43 -32
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +1 -3
- azure/mgmt/storage/v2016_01_01/operations/__init__.py +10 -4
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +31 -38
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +4 -9
- azure/mgmt/storage/v2016_01_01/py.typed +1 -0
- azure/mgmt/storage/v2017_10_01/__init__.py +9 -3
- azure/mgmt/storage/v2017_10_01/_configuration.py +1 -2
- azure/mgmt/storage/v2017_10_01/_storage_management.py +3 -3
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/__init__.py +9 -3
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +1 -2
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +3 -3
- azure/mgmt/storage/v2017_10_01/aio/operations/__init__.py +12 -6
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +4 -9
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +4 -9
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +36 -47
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +4 -9
- azure/mgmt/storage/v2017_10_01/models/__init__.py +69 -58
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +3 -4
- azure/mgmt/storage/v2017_10_01/operations/__init__.py +12 -6
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +4 -9
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +4 -9
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +35 -44
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +4 -9
- azure/mgmt/storage/v2017_10_01/py.typed +1 -0
- azure/mgmt/storage/v2019_06_01/__init__.py +9 -3
- azure/mgmt/storage/v2019_06_01/_configuration.py +1 -2
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +3 -3
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/__init__.py +9 -3
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +1 -2
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +3 -3
- azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py +26 -20
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +29 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +10 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +8 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +10 -22
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +9 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +16 -32
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +9 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +10 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +4 -9
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +10 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +5 -9
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +12 -23
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +9 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +4 -9
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +80 -71
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +12 -23
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +9 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +4 -9
- azure/mgmt/storage/v2019_06_01/models/__init__.py +181 -170
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +12 -13
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +1 -0
- azure/mgmt/storage/v2019_06_01/operations/__init__.py +26 -20
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +28 -48
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +9 -17
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +8 -15
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +10 -22
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +9 -15
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +14 -28
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +8 -14
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +9 -17
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +4 -9
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +9 -17
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +5 -9
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +11 -20
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +9 -15
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +4 -9
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +64 -66
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +11 -20
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +9 -15
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +4 -9
- azure/mgmt/storage/v2019_06_01/py.typed +1 -0
- azure/mgmt/storage/v2023_05_01/__init__.py +9 -3
- azure/mgmt/storage/v2023_05_01/_configuration.py +1 -2
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +3 -3
- azure/mgmt/storage/v2023_05_01/_version.py +1 -1
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +9 -3
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +1 -2
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +3 -3
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +32 -26
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +88 -86
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +10 -18
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +8 -15
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +6 -12
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +10 -22
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +9 -15
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +18 -33
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +14 -26
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +9 -15
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +26 -20
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +10 -18
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +4 -9
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +10 -18
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +5 -9
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +12 -23
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +9 -15
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +4 -9
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +133 -98
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +5 -9
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +5 -9
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +51 -43
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +12 -23
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +9 -15
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +4 -9
- azure/mgmt/storage/v2023_05_01/models/__init__.py +273 -262
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +18 -19
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +2 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +32 -26
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +74 -83
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +9 -17
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +8 -15
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +6 -12
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +10 -22
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +9 -15
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +17 -31
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +13 -23
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +8 -14
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +25 -20
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +9 -17
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +4 -9
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +9 -17
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +5 -9
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +11 -20
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +9 -15
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +4 -9
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +118 -92
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +5 -9
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +5 -9
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +52 -43
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +11 -20
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +9 -15
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +4 -9
- azure/mgmt/storage/v2023_05_01/py.typed +1 -0
- {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.0.0.dist-info}/METADATA +11 -4
- azure_mgmt_storage-22.0.0.dist-info/RECORD +183 -0
- {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.0.0.dist-info}/WHEEL +1 -1
- azure/mgmt/storage/v2015_06_15/__init__.py +0 -26
- azure/mgmt/storage/v2015_06_15/_configuration.py +0 -66
- azure/mgmt/storage/v2015_06_15/_patch.py +0 -32
- azure/mgmt/storage/v2015_06_15/_storage_management.py +0 -115
- azure/mgmt/storage/v2015_06_15/_vendor.py +0 -16
- azure/mgmt/storage/v2015_06_15/_version.py +0 -9
- azure/mgmt/storage/v2015_06_15/aio/__init__.py +0 -23
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +0 -66
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +0 -32
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +0 -118
- azure/mgmt/storage/v2015_06_15/aio/operations/__init__.py +0 -21
- azure/mgmt/storage/v2015_06_15/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +0 -1030
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +0 -135
- azure/mgmt/storage/v2015_06_15/models/__init__.py +0 -55
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +0 -660
- azure/mgmt/storage/v2015_06_15/models/_patch.py +0 -20
- azure/mgmt/storage/v2015_06_15/models/_storage_management_enums.py +0 -59
- azure/mgmt/storage/v2015_06_15/operations/__init__.py +0 -21
- azure/mgmt/storage/v2015_06_15/operations/_patch.py +0 -20
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +0 -1297
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +0 -162
- azure/mgmt/storage/v2016_01_01/_vendor.py +0 -16
- azure/mgmt/storage/v2016_12_01/__init__.py +0 -26
- azure/mgmt/storage/v2016_12_01/_configuration.py +0 -66
- azure/mgmt/storage/v2016_12_01/_patch.py +0 -32
- azure/mgmt/storage/v2016_12_01/_storage_management.py +0 -115
- azure/mgmt/storage/v2016_12_01/_vendor.py +0 -16
- azure/mgmt/storage/v2016_12_01/_version.py +0 -9
- azure/mgmt/storage/v2016_12_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +0 -66
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +0 -118
- azure/mgmt/storage/v2016_12_01/aio/operations/__init__.py +0 -21
- azure/mgmt/storage/v2016_12_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +0 -1310
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +0 -135
- azure/mgmt/storage/v2016_12_01/models/__init__.py +0 -97
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +0 -1210
- azure/mgmt/storage/v2016_12_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2016_12_01/models/_storage_management_enums.py +0 -169
- azure/mgmt/storage/v2016_12_01/operations/__init__.py +0 -21
- azure/mgmt/storage/v2016_12_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +0 -1647
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +0 -162
- azure/mgmt/storage/v2017_06_01/__init__.py +0 -26
- azure/mgmt/storage/v2017_06_01/_configuration.py +0 -66
- azure/mgmt/storage/v2017_06_01/_patch.py +0 -32
- azure/mgmt/storage/v2017_06_01/_storage_management.py +0 -121
- azure/mgmt/storage/v2017_06_01/_vendor.py +0 -16
- azure/mgmt/storage/v2017_06_01/_version.py +0 -9
- azure/mgmt/storage/v2017_06_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +0 -66
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +0 -124
- azure/mgmt/storage/v2017_06_01/aio/operations/__init__.py +0 -25
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2017_06_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +0 -135
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +0 -1310
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +0 -135
- azure/mgmt/storage/v2017_06_01/models/__init__.py +0 -129
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +0 -1843
- azure/mgmt/storage/v2017_06_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2017_06_01/models/_storage_management_enums.py +0 -191
- azure/mgmt/storage/v2017_06_01/operations/__init__.py +0 -25
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2017_06_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +0 -1647
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +0 -162
- azure/mgmt/storage/v2017_10_01/_vendor.py +0 -16
- azure/mgmt/storage/v2018_02_01/__init__.py +0 -26
- azure/mgmt/storage/v2018_02_01/_configuration.py +0 -65
- azure/mgmt/storage/v2018_02_01/_patch.py +0 -32
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +0 -127
- azure/mgmt/storage/v2018_02_01/_vendor.py +0 -16
- azure/mgmt/storage/v2018_02_01/_version.py +0 -9
- azure/mgmt/storage/v2018_02_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +0 -131
- azure/mgmt/storage/v2018_02_01/aio/operations/__init__.py +0 -27
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +0 -1692
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2018_02_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +0 -135
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +0 -1310
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +0 -215
- azure/mgmt/storage/v2018_02_01/models/__init__.py +0 -171
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +0 -2556
- azure/mgmt/storage/v2018_02_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -259
- azure/mgmt/storage/v2018_02_01/operations/__init__.py +0 -27
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +0 -2178
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2018_02_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +0 -1647
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +0 -269
- azure/mgmt/storage/v2018_03_01_preview/__init__.py +0 -26
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +0 -65
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +0 -32
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +0 -146
- azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -16
- azure/mgmt/storage/v2018_03_01_preview/_version.py +0 -9
- azure/mgmt/storage/v2018_03_01_preview/aio/__init__.py +0 -23
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +0 -32
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +0 -148
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +0 -29
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +0 -1721
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +0 -357
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +0 -137
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +0 -138
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +0 -1635
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +0 -221
- azure/mgmt/storage/v2018_03_01_preview/models/__init__.py +0 -181
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +0 -2699
- azure/mgmt/storage/v2018_03_01_preview/models/_patch.py +0 -20
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -265
- azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +0 -29
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +0 -2207
- azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +0 -467
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +0 -158
- azure/mgmt/storage/v2018_03_01_preview/operations/_patch.py +0 -20
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +0 -164
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +0 -2085
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +0 -273
- azure/mgmt/storage/v2018_07_01/__init__.py +0 -26
- azure/mgmt/storage/v2018_07_01/_configuration.py +0 -65
- azure/mgmt/storage/v2018_07_01/_patch.py +0 -32
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +0 -139
- azure/mgmt/storage/v2018_07_01/_vendor.py +0 -16
- azure/mgmt/storage/v2018_07_01/_version.py +0 -9
- azure/mgmt/storage/v2018_07_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +0 -143
- azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -29
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +0 -1692
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +0 -282
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2018_07_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +0 -135
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +0 -1420
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -185
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +0 -2838
- azure/mgmt/storage/v2018_07_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -287
- azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -29
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +0 -2178
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +0 -361
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2018_07_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +0 -1792
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2018_11_01/__init__.py +0 -26
- azure/mgmt/storage/v2018_11_01/_configuration.py +0 -65
- azure/mgmt/storage/v2018_11_01/_patch.py +0 -32
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +0 -146
- azure/mgmt/storage/v2018_11_01/_vendor.py +0 -16
- azure/mgmt/storage/v2018_11_01/_version.py +0 -9
- azure/mgmt/storage/v2018_11_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +0 -150
- azure/mgmt/storage/v2018_11_01/aio/operations/__init__.py +0 -31
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +0 -1696
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +0 -282
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2018_11_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +0 -135
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +0 -1477
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2018_11_01/models/__init__.py +0 -209
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +0 -3194
- azure/mgmt/storage/v2018_11_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -299
- azure/mgmt/storage/v2018_11_01/operations/__init__.py +0 -31
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +0 -2182
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +0 -361
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +0 -459
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2018_11_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +0 -1875
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2019_04_01/__init__.py +0 -26
- azure/mgmt/storage/v2019_04_01/_configuration.py +0 -65
- azure/mgmt/storage/v2019_04_01/_patch.py +0 -32
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +0 -158
- azure/mgmt/storage/v2019_04_01/_vendor.py +0 -16
- azure/mgmt/storage/v2019_04_01/_version.py +0 -9
- azure/mgmt/storage/v2019_04_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +0 -162
- azure/mgmt/storage/v2019_04_01/aio/operations/__init__.py +0 -35
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +0 -1746
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +0 -375
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +0 -341
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +0 -625
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2019_04_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +0 -135
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +0 -1483
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2019_04_01/models/__init__.py +0 -235
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +0 -3799
- azure/mgmt/storage/v2019_04_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -326
- azure/mgmt/storage/v2019_04_01/operations/__init__.py +0 -35
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +0 -2245
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +0 -483
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +0 -450
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +0 -806
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +0 -459
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2019_04_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +0 -1888
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2019_06_01/_vendor.py +0 -16
- azure/mgmt/storage/v2020_08_01_preview/__init__.py +0 -26
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +0 -65
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +0 -32
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +0 -234
- azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -16
- azure/mgmt/storage/v2020_08_01_preview/_version.py +0 -9
- azure/mgmt/storage/v2020_08_01_preview/aio/__init__.py +0 -23
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +0 -32
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +0 -237
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/__init__.py +0 -55
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +0 -1776
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +0 -454
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +0 -382
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +0 -198
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +0 -560
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +0 -348
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +0 -825
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +0 -355
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +0 -445
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +0 -137
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +0 -441
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +0 -119
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +0 -618
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +0 -348
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +0 -138
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +0 -1725
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +0 -416
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +0 -348
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +0 -142
- azure/mgmt/storage/v2020_08_01_preview/models/__init__.py +0 -373
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +0 -6344
- azure/mgmt/storage/v2020_08_01_preview/models/_patch.py +0 -20
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -468
- azure/mgmt/storage/v2020_08_01_preview/operations/__init__.py +0 -55
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +0 -2276
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +0 -599
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +0 -490
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +0 -255
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +0 -700
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +0 -457
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +0 -1072
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +0 -465
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +0 -584
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +0 -158
- azure/mgmt/storage/v2020_08_01_preview/operations/_patch.py +0 -20
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +0 -592
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +0 -155
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +0 -824
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +0 -457
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +0 -165
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +0 -2170
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +0 -582
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +0 -457
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +0 -171
- azure/mgmt/storage/v2021_01_01/__init__.py +0 -26
- azure/mgmt/storage/v2021_01_01/_configuration.py +0 -65
- azure/mgmt/storage/v2021_01_01/_patch.py +0 -32
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +0 -219
- azure/mgmt/storage/v2021_01_01/_vendor.py +0 -16
- azure/mgmt/storage/v2021_01_01/_version.py +0 -9
- azure/mgmt/storage/v2021_01_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +0 -224
- azure/mgmt/storage/v2021_01_01/aio/operations/__init__.py +0 -55
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +0 -1747
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +0 -375
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +0 -194
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +0 -550
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +0 -341
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +0 -810
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +0 -436
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2021_01_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +0 -117
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +0 -608
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +0 -341
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +0 -136
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +0 -1687
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +0 -405
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +0 -341
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2021_01_01/models/__init__.py +0 -381
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +0 -6465
- azure/mgmt/storage/v2021_01_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -483
- azure/mgmt/storage/v2021_01_01/operations/__init__.py +0 -55
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +0 -2246
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +0 -590
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +0 -483
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +0 -250
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +0 -689
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +0 -450
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +0 -1056
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +0 -459
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +0 -575
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2021_01_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +0 -583
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +0 -153
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +0 -814
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +0 -450
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +0 -2124
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +0 -572
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +0 -450
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2021_02_01/__init__.py +0 -26
- azure/mgmt/storage/v2021_02_01/_configuration.py +0 -65
- azure/mgmt/storage/v2021_02_01/_patch.py +0 -32
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +0 -219
- azure/mgmt/storage/v2021_02_01/_vendor.py +0 -16
- azure/mgmt/storage/v2021_02_01/_version.py +0 -9
- azure/mgmt/storage/v2021_02_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +0 -224
- azure/mgmt/storage/v2021_02_01/aio/operations/__init__.py +0 -55
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +0 -1747
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +0 -375
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +0 -194
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +0 -550
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +0 -341
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +0 -810
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +0 -436
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2021_02_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +0 -117
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +0 -608
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +0 -341
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +0 -136
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +0 -1687
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +0 -405
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +0 -341
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2021_02_01/models/__init__.py +0 -389
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +0 -6606
- azure/mgmt/storage/v2021_02_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -489
- azure/mgmt/storage/v2021_02_01/operations/__init__.py +0 -55
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +0 -2246
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +0 -590
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +0 -483
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +0 -250
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +0 -689
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +0 -450
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +0 -1056
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +0 -459
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +0 -575
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2021_02_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +0 -583
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +0 -153
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +0 -814
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +0 -450
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +0 -2124
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +0 -572
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +0 -450
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2021_04_01/__init__.py +0 -26
- azure/mgmt/storage/v2021_04_01/_configuration.py +0 -65
- azure/mgmt/storage/v2021_04_01/_patch.py +0 -32
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +0 -219
- azure/mgmt/storage/v2021_04_01/_vendor.py +0 -16
- azure/mgmt/storage/v2021_04_01/_version.py +0 -9
- azure/mgmt/storage/v2021_04_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +0 -224
- azure/mgmt/storage/v2021_04_01/aio/operations/__init__.py +0 -55
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +0 -1860
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +0 -375
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +0 -194
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +0 -550
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +0 -344
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +0 -1010
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +0 -446
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2021_04_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +0 -117
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +0 -613
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +0 -344
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +0 -136
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +0 -1687
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +0 -410
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +0 -344
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2021_04_01/models/__init__.py +0 -411
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +0 -7083
- azure/mgmt/storage/v2021_04_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -528
- azure/mgmt/storage/v2021_04_01/operations/__init__.py +0 -55
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +0 -2392
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +0 -590
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +0 -483
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +0 -250
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +0 -689
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +0 -453
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +0 -1303
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +0 -459
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +0 -585
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2021_04_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +0 -583
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +0 -153
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +0 -819
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +0 -453
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +0 -2124
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +0 -577
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +0 -453
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2021_06_01/__init__.py +0 -26
- azure/mgmt/storage/v2021_06_01/_configuration.py +0 -65
- azure/mgmt/storage/v2021_06_01/_patch.py +0 -32
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +0 -219
- azure/mgmt/storage/v2021_06_01/_vendor.py +0 -16
- azure/mgmt/storage/v2021_06_01/_version.py +0 -9
- azure/mgmt/storage/v2021_06_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +0 -224
- azure/mgmt/storage/v2021_06_01/aio/operations/__init__.py +0 -55
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +0 -1838
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +0 -362
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +0 -194
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +0 -550
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +0 -331
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +0 -1010
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +0 -446
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2021_06_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +0 -117
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +0 -613
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +0 -331
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +0 -136
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +0 -1898
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +0 -410
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +0 -331
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2021_06_01/models/__init__.py +0 -419
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +0 -7467
- azure/mgmt/storage/v2021_06_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -544
- azure/mgmt/storage/v2021_06_01/operations/__init__.py +0 -55
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +0 -2370
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +0 -590
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +0 -464
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +0 -250
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +0 -689
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +0 -434
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +0 -1303
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +0 -459
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +0 -585
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2021_06_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +0 -583
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +0 -153
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +0 -819
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +0 -434
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +0 -2400
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +0 -577
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +0 -434
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2021_08_01/__init__.py +0 -26
- azure/mgmt/storage/v2021_08_01/_configuration.py +0 -65
- azure/mgmt/storage/v2021_08_01/_patch.py +0 -32
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +0 -225
- azure/mgmt/storage/v2021_08_01/_vendor.py +0 -16
- azure/mgmt/storage/v2021_08_01/_version.py +0 -9
- azure/mgmt/storage/v2021_08_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +0 -230
- azure/mgmt/storage/v2021_08_01/aio/operations/__init__.py +0 -57
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +0 -1838
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +0 -362
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +0 -194
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +0 -550
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +0 -328
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +0 -1003
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +0 -560
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +0 -446
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2021_08_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +0 -117
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +0 -608
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +0 -328
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +0 -136
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +0 -1898
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +0 -405
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +0 -328
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2021_08_01/models/__init__.py +0 -431
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +0 -7738
- azure/mgmt/storage/v2021_08_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -560
- azure/mgmt/storage/v2021_08_01/operations/__init__.py +0 -57
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +0 -2370
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +0 -590
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +0 -464
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +0 -250
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +0 -689
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +0 -431
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +0 -1296
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +0 -758
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +0 -459
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +0 -585
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2021_08_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +0 -583
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +0 -153
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +0 -814
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +0 -431
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +0 -2400
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +0 -572
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +0 -431
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2021_09_01/__init__.py +0 -26
- azure/mgmt/storage/v2021_09_01/_configuration.py +0 -65
- azure/mgmt/storage/v2021_09_01/_patch.py +0 -32
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +0 -225
- azure/mgmt/storage/v2021_09_01/_vendor.py +0 -16
- azure/mgmt/storage/v2021_09_01/_version.py +0 -9
- azure/mgmt/storage/v2021_09_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +0 -32
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +0 -230
- azure/mgmt/storage/v2021_09_01/aio/operations/__init__.py +0 -57
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +0 -1838
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +0 -362
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +0 -194
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +0 -550
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +0 -328
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +0 -1003
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +0 -560
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +0 -446
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2021_09_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +0 -117
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +0 -608
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +0 -328
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +0 -136
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +0 -1898
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +0 -588
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +0 -328
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2021_09_01/models/__init__.py +0 -441
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +0 -8069
- azure/mgmt/storage/v2021_09_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -583
- azure/mgmt/storage/v2021_09_01/operations/__init__.py +0 -57
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +0 -2370
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +0 -587
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +0 -464
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +0 -250
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +0 -689
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +0 -431
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +0 -1296
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +0 -758
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +0 -459
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +0 -585
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2021_09_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +0 -583
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +0 -153
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +0 -814
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +0 -431
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +0 -2400
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +0 -765
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +0 -431
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2022_05_01/__init__.py +0 -26
- azure/mgmt/storage/v2022_05_01/_configuration.py +0 -65
- azure/mgmt/storage/v2022_05_01/_patch.py +0 -20
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +0 -225
- azure/mgmt/storage/v2022_05_01/_vendor.py +0 -16
- azure/mgmt/storage/v2022_05_01/_version.py +0 -9
- azure/mgmt/storage/v2022_05_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2022_05_01/aio/_patch.py +0 -20
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +0 -230
- azure/mgmt/storage/v2022_05_01/aio/operations/__init__.py +0 -57
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +0 -1838
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +0 -362
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +0 -194
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +0 -550
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +0 -328
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +0 -1003
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +0 -560
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +0 -446
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2022_05_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +0 -117
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +0 -608
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +0 -328
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +0 -136
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +0 -1898
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +0 -588
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +0 -328
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2022_05_01/models/__init__.py +0 -441
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +0 -8057
- azure/mgmt/storage/v2022_05_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -584
- azure/mgmt/storage/v2022_05_01/operations/__init__.py +0 -57
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +0 -2370
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +0 -587
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +0 -464
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +0 -250
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +0 -689
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +0 -431
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +0 -1296
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +0 -758
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +0 -459
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +0 -585
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2022_05_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +0 -583
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +0 -153
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +0 -814
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +0 -431
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +0 -2400
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +0 -765
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +0 -431
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2022_09_01/__init__.py +0 -26
- azure/mgmt/storage/v2022_09_01/_configuration.py +0 -65
- azure/mgmt/storage/v2022_09_01/_patch.py +0 -20
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +0 -225
- azure/mgmt/storage/v2022_09_01/_vendor.py +0 -16
- azure/mgmt/storage/v2022_09_01/_version.py +0 -9
- azure/mgmt/storage/v2022_09_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2022_09_01/aio/_patch.py +0 -20
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +0 -230
- azure/mgmt/storage/v2022_09_01/aio/operations/__init__.py +0 -57
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +0 -1838
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +0 -362
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +0 -194
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +0 -568
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +0 -328
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +0 -1003
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +0 -560
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +0 -446
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2022_09_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +0 -117
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +0 -608
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +0 -328
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +0 -136
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +0 -1913
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +0 -588
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +0 -328
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2022_09_01/models/__init__.py +0 -443
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +0 -8093
- azure/mgmt/storage/v2022_09_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -592
- azure/mgmt/storage/v2022_09_01/operations/__init__.py +0 -57
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +0 -2370
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +0 -587
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +0 -464
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +0 -250
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +0 -724
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +0 -431
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +0 -1296
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +0 -758
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +0 -459
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +0 -585
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2022_09_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +0 -583
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +0 -153
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +0 -814
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +0 -431
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +0 -2422
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +0 -765
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +0 -431
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2023_01_01/__init__.py +0 -26
- azure/mgmt/storage/v2023_01_01/_configuration.py +0 -65
- azure/mgmt/storage/v2023_01_01/_patch.py +0 -20
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +0 -225
- azure/mgmt/storage/v2023_01_01/_vendor.py +0 -16
- azure/mgmt/storage/v2023_01_01/_version.py +0 -9
- azure/mgmt/storage/v2023_01_01/aio/__init__.py +0 -23
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +0 -65
- azure/mgmt/storage/v2023_01_01/aio/_patch.py +0 -20
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +0 -230
- azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +0 -57
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +0 -1838
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +0 -362
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +0 -194
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +0 -568
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +0 -328
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +0 -1003
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +0 -560
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +0 -349
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +0 -446
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +0 -135
- azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +0 -20
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +0 -117
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +0 -608
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +0 -328
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +0 -136
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +0 -2187
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +0 -588
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +0 -328
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +0 -139
- azure/mgmt/storage/v2023_01_01/models/__init__.py +0 -461
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +0 -8338
- azure/mgmt/storage/v2023_01_01/models/_patch.py +0 -20
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -626
- azure/mgmt/storage/v2023_01_01/operations/__init__.py +0 -57
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +0 -2398
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +0 -595
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +0 -470
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +0 -250
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +0 -732
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +0 -437
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +0 -1310
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +0 -770
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +0 -465
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +0 -593
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +0 -156
- azure/mgmt/storage/v2023_01_01/operations/_patch.py +0 -20
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +0 -591
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +0 -155
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +0 -824
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +0 -437
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +0 -162
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +0 -2796
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +0 -775
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +0 -437
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +0 -169
- azure/mgmt/storage/v2023_05_01/_vendor.py +0 -16
- azure_mgmt_storage-21.2.1.dist-info/RECORD +0 -979
- {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.0.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.0.0.dist-info}/top_level.txt +0 -0
@@ -1,1792 +0,0 @@
|
|
1
|
-
# pylint: disable=too-many-lines,too-many-statements
|
2
|
-
# coding=utf-8
|
3
|
-
# --------------------------------------------------------------------------
|
4
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
5
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
6
|
-
# Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
-
# --------------------------------------------------------------------------
|
9
|
-
from io import IOBase
|
10
|
-
import sys
|
11
|
-
from typing import Any, Callable, Dict, IO, Iterable, Literal, Optional, Type, TypeVar, Union, cast, overload
|
12
|
-
import urllib.parse
|
13
|
-
|
14
|
-
from azure.core.exceptions import (
|
15
|
-
ClientAuthenticationError,
|
16
|
-
HttpResponseError,
|
17
|
-
ResourceExistsError,
|
18
|
-
ResourceNotFoundError,
|
19
|
-
ResourceNotModifiedError,
|
20
|
-
map_error,
|
21
|
-
)
|
22
|
-
from azure.core.paging import ItemPaged
|
23
|
-
from azure.core.pipeline import PipelineResponse
|
24
|
-
from azure.core.pipeline.transport import HttpResponse
|
25
|
-
from azure.core.polling import LROPoller, NoPolling, PollingMethod
|
26
|
-
from azure.core.rest import HttpRequest
|
27
|
-
from azure.core.tracing.decorator import distributed_trace
|
28
|
-
from azure.core.utils import case_insensitive_dict
|
29
|
-
from azure.mgmt.core.exceptions import ARMErrorFormat
|
30
|
-
from azure.mgmt.core.polling.arm_polling import ARMPolling
|
31
|
-
|
32
|
-
from .. import models as _models
|
33
|
-
from ..._serialization import Serializer
|
34
|
-
from .._vendor import _convert_request
|
35
|
-
|
36
|
-
if sys.version_info >= (3, 9):
|
37
|
-
from collections.abc import MutableMapping
|
38
|
-
else:
|
39
|
-
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
40
|
-
T = TypeVar("T")
|
41
|
-
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
42
|
-
|
43
|
-
_SERIALIZER = Serializer()
|
44
|
-
_SERIALIZER.client_side_validation = False
|
45
|
-
|
46
|
-
|
47
|
-
def build_check_name_availability_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
|
48
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
49
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
50
|
-
|
51
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
52
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
53
|
-
accept = _headers.pop("Accept", "application/json")
|
54
|
-
|
55
|
-
# Construct URL
|
56
|
-
_url = kwargs.pop(
|
57
|
-
"template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
58
|
-
)
|
59
|
-
path_format_arguments = {
|
60
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
61
|
-
}
|
62
|
-
|
63
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
64
|
-
|
65
|
-
# Construct parameters
|
66
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
67
|
-
|
68
|
-
# Construct headers
|
69
|
-
if content_type is not None:
|
70
|
-
_headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str")
|
71
|
-
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
72
|
-
|
73
|
-
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
74
|
-
|
75
|
-
|
76
|
-
def build_create_request(
|
77
|
-
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
78
|
-
) -> HttpRequest:
|
79
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
80
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
81
|
-
|
82
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
83
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
84
|
-
accept = _headers.pop("Accept", "application/json")
|
85
|
-
|
86
|
-
# Construct URL
|
87
|
-
_url = kwargs.pop(
|
88
|
-
"template_url",
|
89
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
90
|
-
) # pylint: disable=line-too-long
|
91
|
-
path_format_arguments = {
|
92
|
-
"resourceGroupName": _SERIALIZER.url(
|
93
|
-
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
94
|
-
),
|
95
|
-
"accountName": _SERIALIZER.url("account_name", account_name, "str", max_length=24, min_length=3),
|
96
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
97
|
-
}
|
98
|
-
|
99
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
100
|
-
|
101
|
-
# Construct parameters
|
102
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
103
|
-
|
104
|
-
# Construct headers
|
105
|
-
if content_type is not None:
|
106
|
-
_headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str")
|
107
|
-
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
108
|
-
|
109
|
-
return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs)
|
110
|
-
|
111
|
-
|
112
|
-
def build_delete_request(
|
113
|
-
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
114
|
-
) -> HttpRequest:
|
115
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
116
|
-
|
117
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
118
|
-
# Construct URL
|
119
|
-
_url = kwargs.pop(
|
120
|
-
"template_url",
|
121
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
122
|
-
) # pylint: disable=line-too-long
|
123
|
-
path_format_arguments = {
|
124
|
-
"resourceGroupName": _SERIALIZER.url(
|
125
|
-
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
126
|
-
),
|
127
|
-
"accountName": _SERIALIZER.url("account_name", account_name, "str", max_length=24, min_length=3),
|
128
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
129
|
-
}
|
130
|
-
|
131
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
132
|
-
|
133
|
-
# Construct parameters
|
134
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
135
|
-
|
136
|
-
return HttpRequest(method="DELETE", url=_url, params=_params, **kwargs)
|
137
|
-
|
138
|
-
|
139
|
-
def build_get_properties_request(
|
140
|
-
resource_group_name: str,
|
141
|
-
account_name: str,
|
142
|
-
subscription_id: str,
|
143
|
-
*,
|
144
|
-
expand: Literal["geoReplicationStats"] = "geoReplicationStats",
|
145
|
-
**kwargs: Any
|
146
|
-
) -> HttpRequest:
|
147
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
148
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
149
|
-
|
150
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
151
|
-
accept = _headers.pop("Accept", "application/json")
|
152
|
-
|
153
|
-
# Construct URL
|
154
|
-
_url = kwargs.pop(
|
155
|
-
"template_url",
|
156
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
157
|
-
) # pylint: disable=line-too-long
|
158
|
-
path_format_arguments = {
|
159
|
-
"resourceGroupName": _SERIALIZER.url(
|
160
|
-
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
161
|
-
),
|
162
|
-
"accountName": _SERIALIZER.url("account_name", account_name, "str", max_length=24, min_length=3),
|
163
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
164
|
-
}
|
165
|
-
|
166
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
167
|
-
|
168
|
-
# Construct parameters
|
169
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
170
|
-
if expand is not None:
|
171
|
-
_params["$expand"] = _SERIALIZER.query("expand", expand, "str")
|
172
|
-
|
173
|
-
# Construct headers
|
174
|
-
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
175
|
-
|
176
|
-
return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs)
|
177
|
-
|
178
|
-
|
179
|
-
def build_update_request(
|
180
|
-
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
181
|
-
) -> HttpRequest:
|
182
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
183
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
184
|
-
|
185
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
186
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
187
|
-
accept = _headers.pop("Accept", "application/json")
|
188
|
-
|
189
|
-
# Construct URL
|
190
|
-
_url = kwargs.pop(
|
191
|
-
"template_url",
|
192
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
193
|
-
) # pylint: disable=line-too-long
|
194
|
-
path_format_arguments = {
|
195
|
-
"resourceGroupName": _SERIALIZER.url(
|
196
|
-
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
197
|
-
),
|
198
|
-
"accountName": _SERIALIZER.url("account_name", account_name, "str", max_length=24, min_length=3),
|
199
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
200
|
-
}
|
201
|
-
|
202
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
203
|
-
|
204
|
-
# Construct parameters
|
205
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
206
|
-
|
207
|
-
# Construct headers
|
208
|
-
if content_type is not None:
|
209
|
-
_headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str")
|
210
|
-
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
211
|
-
|
212
|
-
return HttpRequest(method="PATCH", url=_url, params=_params, headers=_headers, **kwargs)
|
213
|
-
|
214
|
-
|
215
|
-
def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
|
216
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
217
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
218
|
-
|
219
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
220
|
-
accept = _headers.pop("Accept", "application/json")
|
221
|
-
|
222
|
-
# Construct URL
|
223
|
-
_url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts")
|
224
|
-
path_format_arguments = {
|
225
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
226
|
-
}
|
227
|
-
|
228
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
229
|
-
|
230
|
-
# Construct parameters
|
231
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
232
|
-
|
233
|
-
# Construct headers
|
234
|
-
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
235
|
-
|
236
|
-
return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs)
|
237
|
-
|
238
|
-
|
239
|
-
def build_list_by_resource_group_request(resource_group_name: str, subscription_id: str, **kwargs: Any) -> HttpRequest:
|
240
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
241
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
242
|
-
|
243
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
244
|
-
accept = _headers.pop("Accept", "application/json")
|
245
|
-
|
246
|
-
# Construct URL
|
247
|
-
_url = kwargs.pop(
|
248
|
-
"template_url",
|
249
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts",
|
250
|
-
) # pylint: disable=line-too-long
|
251
|
-
path_format_arguments = {
|
252
|
-
"resourceGroupName": _SERIALIZER.url(
|
253
|
-
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
254
|
-
),
|
255
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
256
|
-
}
|
257
|
-
|
258
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
259
|
-
|
260
|
-
# Construct parameters
|
261
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
262
|
-
|
263
|
-
# Construct headers
|
264
|
-
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
265
|
-
|
266
|
-
return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs)
|
267
|
-
|
268
|
-
|
269
|
-
def build_list_keys_request(
|
270
|
-
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
271
|
-
) -> HttpRequest:
|
272
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
273
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
274
|
-
|
275
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
276
|
-
accept = _headers.pop("Accept", "application/json")
|
277
|
-
|
278
|
-
# Construct URL
|
279
|
-
_url = kwargs.pop(
|
280
|
-
"template_url",
|
281
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys",
|
282
|
-
) # pylint: disable=line-too-long
|
283
|
-
path_format_arguments = {
|
284
|
-
"resourceGroupName": _SERIALIZER.url(
|
285
|
-
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
286
|
-
),
|
287
|
-
"accountName": _SERIALIZER.url("account_name", account_name, "str", max_length=24, min_length=3),
|
288
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
289
|
-
}
|
290
|
-
|
291
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
292
|
-
|
293
|
-
# Construct parameters
|
294
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
295
|
-
|
296
|
-
# Construct headers
|
297
|
-
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
298
|
-
|
299
|
-
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
300
|
-
|
301
|
-
|
302
|
-
def build_regenerate_key_request(
|
303
|
-
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
304
|
-
) -> HttpRequest:
|
305
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
306
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
307
|
-
|
308
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
309
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
310
|
-
accept = _headers.pop("Accept", "application/json")
|
311
|
-
|
312
|
-
# Construct URL
|
313
|
-
_url = kwargs.pop(
|
314
|
-
"template_url",
|
315
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey",
|
316
|
-
) # pylint: disable=line-too-long
|
317
|
-
path_format_arguments = {
|
318
|
-
"resourceGroupName": _SERIALIZER.url(
|
319
|
-
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
320
|
-
),
|
321
|
-
"accountName": _SERIALIZER.url("account_name", account_name, "str", max_length=24, min_length=3),
|
322
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
323
|
-
}
|
324
|
-
|
325
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
326
|
-
|
327
|
-
# Construct parameters
|
328
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
329
|
-
|
330
|
-
# Construct headers
|
331
|
-
if content_type is not None:
|
332
|
-
_headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str")
|
333
|
-
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
334
|
-
|
335
|
-
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
336
|
-
|
337
|
-
|
338
|
-
def build_list_account_sas_request(
|
339
|
-
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
340
|
-
) -> HttpRequest:
|
341
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
342
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
343
|
-
|
344
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
345
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
346
|
-
accept = _headers.pop("Accept", "application/json")
|
347
|
-
|
348
|
-
# Construct URL
|
349
|
-
_url = kwargs.pop(
|
350
|
-
"template_url",
|
351
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas",
|
352
|
-
) # pylint: disable=line-too-long
|
353
|
-
path_format_arguments = {
|
354
|
-
"resourceGroupName": _SERIALIZER.url(
|
355
|
-
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
356
|
-
),
|
357
|
-
"accountName": _SERIALIZER.url("account_name", account_name, "str", max_length=24, min_length=3),
|
358
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
359
|
-
}
|
360
|
-
|
361
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
362
|
-
|
363
|
-
# Construct parameters
|
364
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
365
|
-
|
366
|
-
# Construct headers
|
367
|
-
if content_type is not None:
|
368
|
-
_headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str")
|
369
|
-
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
370
|
-
|
371
|
-
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
372
|
-
|
373
|
-
|
374
|
-
def build_list_service_sas_request(
|
375
|
-
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
376
|
-
) -> HttpRequest:
|
377
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
378
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
379
|
-
|
380
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
381
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
382
|
-
accept = _headers.pop("Accept", "application/json")
|
383
|
-
|
384
|
-
# Construct URL
|
385
|
-
_url = kwargs.pop(
|
386
|
-
"template_url",
|
387
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas",
|
388
|
-
) # pylint: disable=line-too-long
|
389
|
-
path_format_arguments = {
|
390
|
-
"resourceGroupName": _SERIALIZER.url(
|
391
|
-
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
392
|
-
),
|
393
|
-
"accountName": _SERIALIZER.url("account_name", account_name, "str", max_length=24, min_length=3),
|
394
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
395
|
-
}
|
396
|
-
|
397
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
398
|
-
|
399
|
-
# Construct parameters
|
400
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
401
|
-
|
402
|
-
# Construct headers
|
403
|
-
if content_type is not None:
|
404
|
-
_headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str")
|
405
|
-
_headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
|
406
|
-
|
407
|
-
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
408
|
-
|
409
|
-
|
410
|
-
def build_failover_request(
|
411
|
-
resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
|
412
|
-
) -> HttpRequest:
|
413
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
414
|
-
|
415
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-07-01"))
|
416
|
-
# Construct URL
|
417
|
-
_url = kwargs.pop(
|
418
|
-
"template_url",
|
419
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover",
|
420
|
-
) # pylint: disable=line-too-long
|
421
|
-
path_format_arguments = {
|
422
|
-
"resourceGroupName": _SERIALIZER.url(
|
423
|
-
"resource_group_name", resource_group_name, "str", max_length=90, min_length=1, pattern=r"^[-\w\._\(\)]+$"
|
424
|
-
),
|
425
|
-
"accountName": _SERIALIZER.url("account_name", account_name, "str", max_length=24, min_length=3),
|
426
|
-
"subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
|
427
|
-
}
|
428
|
-
|
429
|
-
_url: str = _url.format(**path_format_arguments) # type: ignore
|
430
|
-
|
431
|
-
# Construct parameters
|
432
|
-
_params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
|
433
|
-
|
434
|
-
return HttpRequest(method="POST", url=_url, params=_params, **kwargs)
|
435
|
-
|
436
|
-
|
437
|
-
class StorageAccountsOperations:
|
438
|
-
"""
|
439
|
-
.. warning::
|
440
|
-
**DO NOT** instantiate this class directly.
|
441
|
-
|
442
|
-
Instead, you should access the following operations through
|
443
|
-
:class:`~azure.mgmt.storage.v2018_07_01.StorageManagementClient`'s
|
444
|
-
:attr:`storage_accounts` attribute.
|
445
|
-
"""
|
446
|
-
|
447
|
-
models = _models
|
448
|
-
|
449
|
-
def __init__(self, *args, **kwargs):
|
450
|
-
input_args = list(args)
|
451
|
-
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
452
|
-
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
453
|
-
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
454
|
-
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
455
|
-
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
456
|
-
|
457
|
-
@overload
|
458
|
-
def check_name_availability(
|
459
|
-
self,
|
460
|
-
account_name: _models.StorageAccountCheckNameAvailabilityParameters,
|
461
|
-
*,
|
462
|
-
content_type: str = "application/json",
|
463
|
-
**kwargs: Any
|
464
|
-
) -> _models.CheckNameAvailabilityResult:
|
465
|
-
"""Checks that the storage account name is valid and is not already in use.
|
466
|
-
|
467
|
-
:param account_name: The name of the storage account within the specified resource group.
|
468
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
469
|
-
lower-case letters only. Required.
|
470
|
-
:type account_name:
|
471
|
-
~azure.mgmt.storage.v2018_07_01.models.StorageAccountCheckNameAvailabilityParameters
|
472
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
473
|
-
Default value is "application/json".
|
474
|
-
:paramtype content_type: str
|
475
|
-
:return: CheckNameAvailabilityResult or the result of cls(response)
|
476
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.CheckNameAvailabilityResult
|
477
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
478
|
-
"""
|
479
|
-
|
480
|
-
@overload
|
481
|
-
def check_name_availability(
|
482
|
-
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
483
|
-
) -> _models.CheckNameAvailabilityResult:
|
484
|
-
"""Checks that the storage account name is valid and is not already in use.
|
485
|
-
|
486
|
-
:param account_name: The name of the storage account within the specified resource group.
|
487
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
488
|
-
lower-case letters only. Required.
|
489
|
-
:type account_name: IO[bytes]
|
490
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
491
|
-
Default value is "application/json".
|
492
|
-
:paramtype content_type: str
|
493
|
-
:return: CheckNameAvailabilityResult or the result of cls(response)
|
494
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.CheckNameAvailabilityResult
|
495
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
496
|
-
"""
|
497
|
-
|
498
|
-
@distributed_trace
|
499
|
-
def check_name_availability(
|
500
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
501
|
-
) -> _models.CheckNameAvailabilityResult:
|
502
|
-
"""Checks that the storage account name is valid and is not already in use.
|
503
|
-
|
504
|
-
:param account_name: The name of the storage account within the specified resource group.
|
505
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
506
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
507
|
-
IO[bytes] type. Required.
|
508
|
-
:type account_name:
|
509
|
-
~azure.mgmt.storage.v2018_07_01.models.StorageAccountCheckNameAvailabilityParameters or
|
510
|
-
IO[bytes]
|
511
|
-
:return: CheckNameAvailabilityResult or the result of cls(response)
|
512
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.CheckNameAvailabilityResult
|
513
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
514
|
-
"""
|
515
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
516
|
-
401: ClientAuthenticationError,
|
517
|
-
404: ResourceNotFoundError,
|
518
|
-
409: ResourceExistsError,
|
519
|
-
304: ResourceNotModifiedError,
|
520
|
-
}
|
521
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
522
|
-
|
523
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
524
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
525
|
-
|
526
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
527
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
528
|
-
cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
|
529
|
-
|
530
|
-
content_type = content_type or "application/json"
|
531
|
-
_json = None
|
532
|
-
_content = None
|
533
|
-
if isinstance(account_name, (IOBase, bytes)):
|
534
|
-
_content = account_name
|
535
|
-
else:
|
536
|
-
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
537
|
-
|
538
|
-
_request = build_check_name_availability_request(
|
539
|
-
subscription_id=self._config.subscription_id,
|
540
|
-
api_version=api_version,
|
541
|
-
content_type=content_type,
|
542
|
-
json=_json,
|
543
|
-
content=_content,
|
544
|
-
headers=_headers,
|
545
|
-
params=_params,
|
546
|
-
)
|
547
|
-
_request = _convert_request(_request)
|
548
|
-
_request.url = self._client.format_url(_request.url)
|
549
|
-
|
550
|
-
_stream = False
|
551
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
552
|
-
_request, stream=_stream, **kwargs
|
553
|
-
)
|
554
|
-
|
555
|
-
response = pipeline_response.http_response
|
556
|
-
|
557
|
-
if response.status_code not in [200]:
|
558
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
559
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
560
|
-
|
561
|
-
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
562
|
-
|
563
|
-
if cls:
|
564
|
-
return cls(pipeline_response, deserialized, {}) # type: ignore
|
565
|
-
|
566
|
-
return deserialized # type: ignore
|
567
|
-
|
568
|
-
def _create_initial(
|
569
|
-
self,
|
570
|
-
resource_group_name: str,
|
571
|
-
account_name: str,
|
572
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
573
|
-
**kwargs: Any
|
574
|
-
) -> Optional[_models.StorageAccount]:
|
575
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
576
|
-
401: ClientAuthenticationError,
|
577
|
-
404: ResourceNotFoundError,
|
578
|
-
409: ResourceExistsError,
|
579
|
-
304: ResourceNotModifiedError,
|
580
|
-
}
|
581
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
582
|
-
|
583
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
584
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
585
|
-
|
586
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
587
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
588
|
-
cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
|
589
|
-
|
590
|
-
content_type = content_type or "application/json"
|
591
|
-
_json = None
|
592
|
-
_content = None
|
593
|
-
if isinstance(parameters, (IOBase, bytes)):
|
594
|
-
_content = parameters
|
595
|
-
else:
|
596
|
-
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
597
|
-
|
598
|
-
_request = build_create_request(
|
599
|
-
resource_group_name=resource_group_name,
|
600
|
-
account_name=account_name,
|
601
|
-
subscription_id=self._config.subscription_id,
|
602
|
-
api_version=api_version,
|
603
|
-
content_type=content_type,
|
604
|
-
json=_json,
|
605
|
-
content=_content,
|
606
|
-
headers=_headers,
|
607
|
-
params=_params,
|
608
|
-
)
|
609
|
-
_request = _convert_request(_request)
|
610
|
-
_request.url = self._client.format_url(_request.url)
|
611
|
-
|
612
|
-
_stream = False
|
613
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
614
|
-
_request, stream=_stream, **kwargs
|
615
|
-
)
|
616
|
-
|
617
|
-
response = pipeline_response.http_response
|
618
|
-
|
619
|
-
if response.status_code not in [200, 202]:
|
620
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
621
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
622
|
-
|
623
|
-
deserialized = None
|
624
|
-
if response.status_code == 200:
|
625
|
-
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
626
|
-
|
627
|
-
if cls:
|
628
|
-
return cls(pipeline_response, deserialized, {}) # type: ignore
|
629
|
-
|
630
|
-
return deserialized # type: ignore
|
631
|
-
|
632
|
-
@overload
|
633
|
-
def begin_create(
|
634
|
-
self,
|
635
|
-
resource_group_name: str,
|
636
|
-
account_name: str,
|
637
|
-
parameters: _models.StorageAccountCreateParameters,
|
638
|
-
*,
|
639
|
-
content_type: str = "application/json",
|
640
|
-
**kwargs: Any
|
641
|
-
) -> LROPoller[_models.StorageAccount]:
|
642
|
-
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
643
|
-
already created and a subsequent create request is issued with different properties, the
|
644
|
-
account properties will be updated. If an account is already created and a subsequent create or
|
645
|
-
update request is issued with the exact same set of properties, the request will succeed.
|
646
|
-
|
647
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
648
|
-
name is case insensitive. Required.
|
649
|
-
:type resource_group_name: str
|
650
|
-
:param account_name: The name of the storage account within the specified resource group.
|
651
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
652
|
-
lower-case letters only. Required.
|
653
|
-
:type account_name: str
|
654
|
-
:param parameters: The parameters to provide for the created account. Required.
|
655
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountCreateParameters
|
656
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
657
|
-
Default value is "application/json".
|
658
|
-
:paramtype content_type: str
|
659
|
-
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
660
|
-
cls(response)
|
661
|
-
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_07_01.models.StorageAccount]
|
662
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
663
|
-
"""
|
664
|
-
|
665
|
-
@overload
|
666
|
-
def begin_create(
|
667
|
-
self,
|
668
|
-
resource_group_name: str,
|
669
|
-
account_name: str,
|
670
|
-
parameters: IO[bytes],
|
671
|
-
*,
|
672
|
-
content_type: str = "application/json",
|
673
|
-
**kwargs: Any
|
674
|
-
) -> LROPoller[_models.StorageAccount]:
|
675
|
-
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
676
|
-
already created and a subsequent create request is issued with different properties, the
|
677
|
-
account properties will be updated. If an account is already created and a subsequent create or
|
678
|
-
update request is issued with the exact same set of properties, the request will succeed.
|
679
|
-
|
680
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
681
|
-
name is case insensitive. Required.
|
682
|
-
:type resource_group_name: str
|
683
|
-
:param account_name: The name of the storage account within the specified resource group.
|
684
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
685
|
-
lower-case letters only. Required.
|
686
|
-
:type account_name: str
|
687
|
-
:param parameters: The parameters to provide for the created account. Required.
|
688
|
-
:type parameters: IO[bytes]
|
689
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
690
|
-
Default value is "application/json".
|
691
|
-
:paramtype content_type: str
|
692
|
-
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
693
|
-
cls(response)
|
694
|
-
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_07_01.models.StorageAccount]
|
695
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
696
|
-
"""
|
697
|
-
|
698
|
-
@distributed_trace
|
699
|
-
def begin_create(
|
700
|
-
self,
|
701
|
-
resource_group_name: str,
|
702
|
-
account_name: str,
|
703
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
704
|
-
**kwargs: Any
|
705
|
-
) -> LROPoller[_models.StorageAccount]:
|
706
|
-
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
707
|
-
already created and a subsequent create request is issued with different properties, the
|
708
|
-
account properties will be updated. If an account is already created and a subsequent create or
|
709
|
-
update request is issued with the exact same set of properties, the request will succeed.
|
710
|
-
|
711
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
712
|
-
name is case insensitive. Required.
|
713
|
-
:type resource_group_name: str
|
714
|
-
:param account_name: The name of the storage account within the specified resource group.
|
715
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
716
|
-
lower-case letters only. Required.
|
717
|
-
:type account_name: str
|
718
|
-
:param parameters: The parameters to provide for the created account. Is either a
|
719
|
-
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
720
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountCreateParameters or
|
721
|
-
IO[bytes]
|
722
|
-
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
723
|
-
cls(response)
|
724
|
-
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_07_01.models.StorageAccount]
|
725
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
726
|
-
"""
|
727
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
728
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
729
|
-
|
730
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
731
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
732
|
-
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
733
|
-
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
734
|
-
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
|
735
|
-
cont_token: Optional[str] = kwargs.pop("continuation_token", None)
|
736
|
-
if cont_token is None:
|
737
|
-
raw_result = self._create_initial(
|
738
|
-
resource_group_name=resource_group_name,
|
739
|
-
account_name=account_name,
|
740
|
-
parameters=parameters,
|
741
|
-
api_version=api_version,
|
742
|
-
content_type=content_type,
|
743
|
-
cls=lambda x, y, z: x,
|
744
|
-
headers=_headers,
|
745
|
-
params=_params,
|
746
|
-
**kwargs
|
747
|
-
)
|
748
|
-
kwargs.pop("error_map", None)
|
749
|
-
|
750
|
-
def get_long_running_output(pipeline_response):
|
751
|
-
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
752
|
-
if cls:
|
753
|
-
return cls(pipeline_response, deserialized, {}) # type: ignore
|
754
|
-
return deserialized
|
755
|
-
|
756
|
-
if polling is True:
|
757
|
-
polling_method: PollingMethod = cast(PollingMethod, ARMPolling(lro_delay, **kwargs))
|
758
|
-
elif polling is False:
|
759
|
-
polling_method = cast(PollingMethod, NoPolling())
|
760
|
-
else:
|
761
|
-
polling_method = polling
|
762
|
-
if cont_token:
|
763
|
-
return LROPoller[_models.StorageAccount].from_continuation_token(
|
764
|
-
polling_method=polling_method,
|
765
|
-
continuation_token=cont_token,
|
766
|
-
client=self._client,
|
767
|
-
deserialization_callback=get_long_running_output,
|
768
|
-
)
|
769
|
-
return LROPoller[_models.StorageAccount](
|
770
|
-
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
771
|
-
)
|
772
|
-
|
773
|
-
@distributed_trace
|
774
|
-
def delete( # pylint: disable=inconsistent-return-statements
|
775
|
-
self, resource_group_name: str, account_name: str, **kwargs: Any
|
776
|
-
) -> None:
|
777
|
-
"""Deletes a storage account in Microsoft Azure.
|
778
|
-
|
779
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
780
|
-
name is case insensitive. Required.
|
781
|
-
:type resource_group_name: str
|
782
|
-
:param account_name: The name of the storage account within the specified resource group.
|
783
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
784
|
-
lower-case letters only. Required.
|
785
|
-
:type account_name: str
|
786
|
-
:return: None or the result of cls(response)
|
787
|
-
:rtype: None
|
788
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
789
|
-
"""
|
790
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
791
|
-
401: ClientAuthenticationError,
|
792
|
-
404: ResourceNotFoundError,
|
793
|
-
409: ResourceExistsError,
|
794
|
-
304: ResourceNotModifiedError,
|
795
|
-
}
|
796
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
797
|
-
|
798
|
-
_headers = kwargs.pop("headers", {}) or {}
|
799
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
800
|
-
|
801
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
802
|
-
cls: ClsType[None] = kwargs.pop("cls", None)
|
803
|
-
|
804
|
-
_request = build_delete_request(
|
805
|
-
resource_group_name=resource_group_name,
|
806
|
-
account_name=account_name,
|
807
|
-
subscription_id=self._config.subscription_id,
|
808
|
-
api_version=api_version,
|
809
|
-
headers=_headers,
|
810
|
-
params=_params,
|
811
|
-
)
|
812
|
-
_request = _convert_request(_request)
|
813
|
-
_request.url = self._client.format_url(_request.url)
|
814
|
-
|
815
|
-
_stream = False
|
816
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
817
|
-
_request, stream=_stream, **kwargs
|
818
|
-
)
|
819
|
-
|
820
|
-
response = pipeline_response.http_response
|
821
|
-
|
822
|
-
if response.status_code not in [200, 204]:
|
823
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
824
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
825
|
-
|
826
|
-
if cls:
|
827
|
-
return cls(pipeline_response, None, {}) # type: ignore
|
828
|
-
|
829
|
-
@distributed_trace
|
830
|
-
def get_properties(
|
831
|
-
self,
|
832
|
-
resource_group_name: str,
|
833
|
-
account_name: str,
|
834
|
-
expand: Literal["geoReplicationStats"] = "geoReplicationStats",
|
835
|
-
**kwargs: Any
|
836
|
-
) -> _models.StorageAccount:
|
837
|
-
"""Returns the properties for the specified storage account including but not limited to name, SKU
|
838
|
-
name, location, and account status. The ListKeys operation should be used to retrieve storage
|
839
|
-
keys.
|
840
|
-
|
841
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
842
|
-
name is case insensitive. Required.
|
843
|
-
:type resource_group_name: str
|
844
|
-
:param account_name: The name of the storage account within the specified resource group.
|
845
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
846
|
-
lower-case letters only. Required.
|
847
|
-
:type account_name: str
|
848
|
-
:param expand: May be used to expand the properties within account's properties. By default,
|
849
|
-
data is not included when fetching properties. Currently we only support geoReplicationStats.
|
850
|
-
Known values are "geoReplicationStats" and None. Default value is "geoReplicationStats".
|
851
|
-
:type expand: str
|
852
|
-
:return: StorageAccount or the result of cls(response)
|
853
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccount
|
854
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
855
|
-
"""
|
856
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
857
|
-
401: ClientAuthenticationError,
|
858
|
-
404: ResourceNotFoundError,
|
859
|
-
409: ResourceExistsError,
|
860
|
-
304: ResourceNotModifiedError,
|
861
|
-
}
|
862
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
863
|
-
|
864
|
-
_headers = kwargs.pop("headers", {}) or {}
|
865
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
866
|
-
|
867
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
868
|
-
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
869
|
-
|
870
|
-
_request = build_get_properties_request(
|
871
|
-
resource_group_name=resource_group_name,
|
872
|
-
account_name=account_name,
|
873
|
-
subscription_id=self._config.subscription_id,
|
874
|
-
expand=expand,
|
875
|
-
api_version=api_version,
|
876
|
-
headers=_headers,
|
877
|
-
params=_params,
|
878
|
-
)
|
879
|
-
_request = _convert_request(_request)
|
880
|
-
_request.url = self._client.format_url(_request.url)
|
881
|
-
|
882
|
-
_stream = False
|
883
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
884
|
-
_request, stream=_stream, **kwargs
|
885
|
-
)
|
886
|
-
|
887
|
-
response = pipeline_response.http_response
|
888
|
-
|
889
|
-
if response.status_code not in [200]:
|
890
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
891
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
892
|
-
|
893
|
-
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
894
|
-
|
895
|
-
if cls:
|
896
|
-
return cls(pipeline_response, deserialized, {}) # type: ignore
|
897
|
-
|
898
|
-
return deserialized # type: ignore
|
899
|
-
|
900
|
-
@overload
|
901
|
-
def update(
|
902
|
-
self,
|
903
|
-
resource_group_name: str,
|
904
|
-
account_name: str,
|
905
|
-
parameters: _models.StorageAccountUpdateParameters,
|
906
|
-
*,
|
907
|
-
content_type: str = "application/json",
|
908
|
-
**kwargs: Any
|
909
|
-
) -> _models.StorageAccount:
|
910
|
-
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
911
|
-
storage account. It can also be used to map the account to a custom domain. Only one custom
|
912
|
-
domain is supported per storage account; the replacement/change of custom domain is not
|
913
|
-
supported. In order to replace an old custom domain, the old value must be cleared/unregistered
|
914
|
-
before a new value can be set. The update of multiple properties is supported. This call does
|
915
|
-
not change the storage keys for the account. If you want to change the storage account keys,
|
916
|
-
use the regenerate keys operation. The location and name of the storage account cannot be
|
917
|
-
changed after creation.
|
918
|
-
|
919
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
920
|
-
name is case insensitive. Required.
|
921
|
-
:type resource_group_name: str
|
922
|
-
:param account_name: The name of the storage account within the specified resource group.
|
923
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
924
|
-
lower-case letters only. Required.
|
925
|
-
:type account_name: str
|
926
|
-
:param parameters: The parameters to provide for the updated account. Required.
|
927
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountUpdateParameters
|
928
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
929
|
-
Default value is "application/json".
|
930
|
-
:paramtype content_type: str
|
931
|
-
:return: StorageAccount or the result of cls(response)
|
932
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccount
|
933
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
934
|
-
"""
|
935
|
-
|
936
|
-
@overload
|
937
|
-
def update(
|
938
|
-
self,
|
939
|
-
resource_group_name: str,
|
940
|
-
account_name: str,
|
941
|
-
parameters: IO[bytes],
|
942
|
-
*,
|
943
|
-
content_type: str = "application/json",
|
944
|
-
**kwargs: Any
|
945
|
-
) -> _models.StorageAccount:
|
946
|
-
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
947
|
-
storage account. It can also be used to map the account to a custom domain. Only one custom
|
948
|
-
domain is supported per storage account; the replacement/change of custom domain is not
|
949
|
-
supported. In order to replace an old custom domain, the old value must be cleared/unregistered
|
950
|
-
before a new value can be set. The update of multiple properties is supported. This call does
|
951
|
-
not change the storage keys for the account. If you want to change the storage account keys,
|
952
|
-
use the regenerate keys operation. The location and name of the storage account cannot be
|
953
|
-
changed after creation.
|
954
|
-
|
955
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
956
|
-
name is case insensitive. Required.
|
957
|
-
:type resource_group_name: str
|
958
|
-
:param account_name: The name of the storage account within the specified resource group.
|
959
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
960
|
-
lower-case letters only. Required.
|
961
|
-
:type account_name: str
|
962
|
-
:param parameters: The parameters to provide for the updated account. Required.
|
963
|
-
:type parameters: IO[bytes]
|
964
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
965
|
-
Default value is "application/json".
|
966
|
-
:paramtype content_type: str
|
967
|
-
:return: StorageAccount or the result of cls(response)
|
968
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccount
|
969
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
970
|
-
"""
|
971
|
-
|
972
|
-
@distributed_trace
|
973
|
-
def update(
|
974
|
-
self,
|
975
|
-
resource_group_name: str,
|
976
|
-
account_name: str,
|
977
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
978
|
-
**kwargs: Any
|
979
|
-
) -> _models.StorageAccount:
|
980
|
-
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
981
|
-
storage account. It can also be used to map the account to a custom domain. Only one custom
|
982
|
-
domain is supported per storage account; the replacement/change of custom domain is not
|
983
|
-
supported. In order to replace an old custom domain, the old value must be cleared/unregistered
|
984
|
-
before a new value can be set. The update of multiple properties is supported. This call does
|
985
|
-
not change the storage keys for the account. If you want to change the storage account keys,
|
986
|
-
use the regenerate keys operation. The location and name of the storage account cannot be
|
987
|
-
changed after creation.
|
988
|
-
|
989
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
990
|
-
name is case insensitive. Required.
|
991
|
-
:type resource_group_name: str
|
992
|
-
:param account_name: The name of the storage account within the specified resource group.
|
993
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
994
|
-
lower-case letters only. Required.
|
995
|
-
:type account_name: str
|
996
|
-
:param parameters: The parameters to provide for the updated account. Is either a
|
997
|
-
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
998
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountUpdateParameters or
|
999
|
-
IO[bytes]
|
1000
|
-
:return: StorageAccount or the result of cls(response)
|
1001
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccount
|
1002
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1003
|
-
"""
|
1004
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1005
|
-
401: ClientAuthenticationError,
|
1006
|
-
404: ResourceNotFoundError,
|
1007
|
-
409: ResourceExistsError,
|
1008
|
-
304: ResourceNotModifiedError,
|
1009
|
-
}
|
1010
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
1011
|
-
|
1012
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1013
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1014
|
-
|
1015
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1016
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1017
|
-
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
1018
|
-
|
1019
|
-
content_type = content_type or "application/json"
|
1020
|
-
_json = None
|
1021
|
-
_content = None
|
1022
|
-
if isinstance(parameters, (IOBase, bytes)):
|
1023
|
-
_content = parameters
|
1024
|
-
else:
|
1025
|
-
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1026
|
-
|
1027
|
-
_request = build_update_request(
|
1028
|
-
resource_group_name=resource_group_name,
|
1029
|
-
account_name=account_name,
|
1030
|
-
subscription_id=self._config.subscription_id,
|
1031
|
-
api_version=api_version,
|
1032
|
-
content_type=content_type,
|
1033
|
-
json=_json,
|
1034
|
-
content=_content,
|
1035
|
-
headers=_headers,
|
1036
|
-
params=_params,
|
1037
|
-
)
|
1038
|
-
_request = _convert_request(_request)
|
1039
|
-
_request.url = self._client.format_url(_request.url)
|
1040
|
-
|
1041
|
-
_stream = False
|
1042
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1043
|
-
_request, stream=_stream, **kwargs
|
1044
|
-
)
|
1045
|
-
|
1046
|
-
response = pipeline_response.http_response
|
1047
|
-
|
1048
|
-
if response.status_code not in [200]:
|
1049
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
1050
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1051
|
-
|
1052
|
-
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1053
|
-
|
1054
|
-
if cls:
|
1055
|
-
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1056
|
-
|
1057
|
-
return deserialized # type: ignore
|
1058
|
-
|
1059
|
-
@distributed_trace
|
1060
|
-
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1061
|
-
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1062
|
-
returned; use the ListKeys operation for this.
|
1063
|
-
|
1064
|
-
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1065
|
-
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2018_07_01.models.StorageAccount]
|
1066
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1067
|
-
"""
|
1068
|
-
_headers = kwargs.pop("headers", {}) or {}
|
1069
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1070
|
-
|
1071
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1072
|
-
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1073
|
-
|
1074
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1075
|
-
401: ClientAuthenticationError,
|
1076
|
-
404: ResourceNotFoundError,
|
1077
|
-
409: ResourceExistsError,
|
1078
|
-
304: ResourceNotModifiedError,
|
1079
|
-
}
|
1080
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
1081
|
-
|
1082
|
-
def prepare_request(next_link=None):
|
1083
|
-
if not next_link:
|
1084
|
-
|
1085
|
-
_request = build_list_request(
|
1086
|
-
subscription_id=self._config.subscription_id,
|
1087
|
-
api_version=api_version,
|
1088
|
-
headers=_headers,
|
1089
|
-
params=_params,
|
1090
|
-
)
|
1091
|
-
_request = _convert_request(_request)
|
1092
|
-
_request.url = self._client.format_url(_request.url)
|
1093
|
-
|
1094
|
-
else:
|
1095
|
-
# make call to next link with the client's api-version
|
1096
|
-
_parsed_next_link = urllib.parse.urlparse(next_link)
|
1097
|
-
_next_request_params = case_insensitive_dict(
|
1098
|
-
{
|
1099
|
-
key: [urllib.parse.quote(v) for v in value]
|
1100
|
-
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1101
|
-
}
|
1102
|
-
)
|
1103
|
-
_next_request_params["api-version"] = self._api_version
|
1104
|
-
_request = HttpRequest(
|
1105
|
-
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1106
|
-
)
|
1107
|
-
_request = _convert_request(_request)
|
1108
|
-
_request.url = self._client.format_url(_request.url)
|
1109
|
-
_request.method = "GET"
|
1110
|
-
return _request
|
1111
|
-
|
1112
|
-
def extract_data(pipeline_response):
|
1113
|
-
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
1114
|
-
list_of_elem = deserialized.value
|
1115
|
-
if cls:
|
1116
|
-
list_of_elem = cls(list_of_elem) # type: ignore
|
1117
|
-
return None, iter(list_of_elem)
|
1118
|
-
|
1119
|
-
def get_next(next_link=None):
|
1120
|
-
_request = prepare_request(next_link)
|
1121
|
-
|
1122
|
-
_stream = False
|
1123
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1124
|
-
_request, stream=_stream, **kwargs
|
1125
|
-
)
|
1126
|
-
response = pipeline_response.http_response
|
1127
|
-
|
1128
|
-
if response.status_code not in [200]:
|
1129
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
1130
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1131
|
-
|
1132
|
-
return pipeline_response
|
1133
|
-
|
1134
|
-
return ItemPaged(get_next, extract_data)
|
1135
|
-
|
1136
|
-
@distributed_trace
|
1137
|
-
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1138
|
-
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
1139
|
-
are not returned; use the ListKeys operation for this.
|
1140
|
-
|
1141
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1142
|
-
name is case insensitive. Required.
|
1143
|
-
:type resource_group_name: str
|
1144
|
-
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1145
|
-
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2018_07_01.models.StorageAccount]
|
1146
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1147
|
-
"""
|
1148
|
-
_headers = kwargs.pop("headers", {}) or {}
|
1149
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1150
|
-
|
1151
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1152
|
-
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1153
|
-
|
1154
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1155
|
-
401: ClientAuthenticationError,
|
1156
|
-
404: ResourceNotFoundError,
|
1157
|
-
409: ResourceExistsError,
|
1158
|
-
304: ResourceNotModifiedError,
|
1159
|
-
}
|
1160
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
1161
|
-
|
1162
|
-
def prepare_request(next_link=None):
|
1163
|
-
if not next_link:
|
1164
|
-
|
1165
|
-
_request = build_list_by_resource_group_request(
|
1166
|
-
resource_group_name=resource_group_name,
|
1167
|
-
subscription_id=self._config.subscription_id,
|
1168
|
-
api_version=api_version,
|
1169
|
-
headers=_headers,
|
1170
|
-
params=_params,
|
1171
|
-
)
|
1172
|
-
_request = _convert_request(_request)
|
1173
|
-
_request.url = self._client.format_url(_request.url)
|
1174
|
-
|
1175
|
-
else:
|
1176
|
-
# make call to next link with the client's api-version
|
1177
|
-
_parsed_next_link = urllib.parse.urlparse(next_link)
|
1178
|
-
_next_request_params = case_insensitive_dict(
|
1179
|
-
{
|
1180
|
-
key: [urllib.parse.quote(v) for v in value]
|
1181
|
-
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1182
|
-
}
|
1183
|
-
)
|
1184
|
-
_next_request_params["api-version"] = self._api_version
|
1185
|
-
_request = HttpRequest(
|
1186
|
-
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1187
|
-
)
|
1188
|
-
_request = _convert_request(_request)
|
1189
|
-
_request.url = self._client.format_url(_request.url)
|
1190
|
-
_request.method = "GET"
|
1191
|
-
return _request
|
1192
|
-
|
1193
|
-
def extract_data(pipeline_response):
|
1194
|
-
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
1195
|
-
list_of_elem = deserialized.value
|
1196
|
-
if cls:
|
1197
|
-
list_of_elem = cls(list_of_elem) # type: ignore
|
1198
|
-
return None, iter(list_of_elem)
|
1199
|
-
|
1200
|
-
def get_next(next_link=None):
|
1201
|
-
_request = prepare_request(next_link)
|
1202
|
-
|
1203
|
-
_stream = False
|
1204
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1205
|
-
_request, stream=_stream, **kwargs
|
1206
|
-
)
|
1207
|
-
response = pipeline_response.http_response
|
1208
|
-
|
1209
|
-
if response.status_code not in [200]:
|
1210
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
1211
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1212
|
-
|
1213
|
-
return pipeline_response
|
1214
|
-
|
1215
|
-
return ItemPaged(get_next, extract_data)
|
1216
|
-
|
1217
|
-
@distributed_trace
|
1218
|
-
def list_keys(
|
1219
|
-
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1220
|
-
) -> _models.StorageAccountListKeysResult:
|
1221
|
-
"""Lists the access keys for the specified storage account.
|
1222
|
-
|
1223
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1224
|
-
name is case insensitive. Required.
|
1225
|
-
:type resource_group_name: str
|
1226
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1227
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1228
|
-
lower-case letters only. Required.
|
1229
|
-
:type account_name: str
|
1230
|
-
:return: StorageAccountListKeysResult or the result of cls(response)
|
1231
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountListKeysResult
|
1232
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1233
|
-
"""
|
1234
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1235
|
-
401: ClientAuthenticationError,
|
1236
|
-
404: ResourceNotFoundError,
|
1237
|
-
409: ResourceExistsError,
|
1238
|
-
304: ResourceNotModifiedError,
|
1239
|
-
}
|
1240
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
1241
|
-
|
1242
|
-
_headers = kwargs.pop("headers", {}) or {}
|
1243
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1244
|
-
|
1245
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1246
|
-
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1247
|
-
|
1248
|
-
_request = build_list_keys_request(
|
1249
|
-
resource_group_name=resource_group_name,
|
1250
|
-
account_name=account_name,
|
1251
|
-
subscription_id=self._config.subscription_id,
|
1252
|
-
api_version=api_version,
|
1253
|
-
headers=_headers,
|
1254
|
-
params=_params,
|
1255
|
-
)
|
1256
|
-
_request = _convert_request(_request)
|
1257
|
-
_request.url = self._client.format_url(_request.url)
|
1258
|
-
|
1259
|
-
_stream = False
|
1260
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1261
|
-
_request, stream=_stream, **kwargs
|
1262
|
-
)
|
1263
|
-
|
1264
|
-
response = pipeline_response.http_response
|
1265
|
-
|
1266
|
-
if response.status_code not in [200]:
|
1267
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
1268
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1269
|
-
|
1270
|
-
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1271
|
-
|
1272
|
-
if cls:
|
1273
|
-
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1274
|
-
|
1275
|
-
return deserialized # type: ignore
|
1276
|
-
|
1277
|
-
@overload
|
1278
|
-
def regenerate_key(
|
1279
|
-
self,
|
1280
|
-
resource_group_name: str,
|
1281
|
-
account_name: str,
|
1282
|
-
regenerate_key: _models.StorageAccountRegenerateKeyParameters,
|
1283
|
-
*,
|
1284
|
-
content_type: str = "application/json",
|
1285
|
-
**kwargs: Any
|
1286
|
-
) -> _models.StorageAccountListKeysResult:
|
1287
|
-
"""Regenerates one of the access keys for the specified storage account.
|
1288
|
-
|
1289
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1290
|
-
name is case insensitive. Required.
|
1291
|
-
:type resource_group_name: str
|
1292
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1293
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1294
|
-
lower-case letters only. Required.
|
1295
|
-
:type account_name: str
|
1296
|
-
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1297
|
-
Required.
|
1298
|
-
:type regenerate_key:
|
1299
|
-
~azure.mgmt.storage.v2018_07_01.models.StorageAccountRegenerateKeyParameters
|
1300
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1301
|
-
Default value is "application/json".
|
1302
|
-
:paramtype content_type: str
|
1303
|
-
:return: StorageAccountListKeysResult or the result of cls(response)
|
1304
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountListKeysResult
|
1305
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1306
|
-
"""
|
1307
|
-
|
1308
|
-
@overload
|
1309
|
-
def regenerate_key(
|
1310
|
-
self,
|
1311
|
-
resource_group_name: str,
|
1312
|
-
account_name: str,
|
1313
|
-
regenerate_key: IO[bytes],
|
1314
|
-
*,
|
1315
|
-
content_type: str = "application/json",
|
1316
|
-
**kwargs: Any
|
1317
|
-
) -> _models.StorageAccountListKeysResult:
|
1318
|
-
"""Regenerates one of the access keys for the specified storage account.
|
1319
|
-
|
1320
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1321
|
-
name is case insensitive. Required.
|
1322
|
-
:type resource_group_name: str
|
1323
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1324
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1325
|
-
lower-case letters only. Required.
|
1326
|
-
:type account_name: str
|
1327
|
-
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1328
|
-
Required.
|
1329
|
-
:type regenerate_key: IO[bytes]
|
1330
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1331
|
-
Default value is "application/json".
|
1332
|
-
:paramtype content_type: str
|
1333
|
-
:return: StorageAccountListKeysResult or the result of cls(response)
|
1334
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountListKeysResult
|
1335
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1336
|
-
"""
|
1337
|
-
|
1338
|
-
@distributed_trace
|
1339
|
-
def regenerate_key(
|
1340
|
-
self,
|
1341
|
-
resource_group_name: str,
|
1342
|
-
account_name: str,
|
1343
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1344
|
-
**kwargs: Any
|
1345
|
-
) -> _models.StorageAccountListKeysResult:
|
1346
|
-
"""Regenerates one of the access keys for the specified storage account.
|
1347
|
-
|
1348
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1349
|
-
name is case insensitive. Required.
|
1350
|
-
:type resource_group_name: str
|
1351
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1352
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1353
|
-
lower-case letters only. Required.
|
1354
|
-
:type account_name: str
|
1355
|
-
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1356
|
-
Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
|
1357
|
-
:type regenerate_key:
|
1358
|
-
~azure.mgmt.storage.v2018_07_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1359
|
-
:return: StorageAccountListKeysResult or the result of cls(response)
|
1360
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccountListKeysResult
|
1361
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1362
|
-
"""
|
1363
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1364
|
-
401: ClientAuthenticationError,
|
1365
|
-
404: ResourceNotFoundError,
|
1366
|
-
409: ResourceExistsError,
|
1367
|
-
304: ResourceNotModifiedError,
|
1368
|
-
}
|
1369
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
1370
|
-
|
1371
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1372
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1373
|
-
|
1374
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1375
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1376
|
-
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1377
|
-
|
1378
|
-
content_type = content_type or "application/json"
|
1379
|
-
_json = None
|
1380
|
-
_content = None
|
1381
|
-
if isinstance(regenerate_key, (IOBase, bytes)):
|
1382
|
-
_content = regenerate_key
|
1383
|
-
else:
|
1384
|
-
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1385
|
-
|
1386
|
-
_request = build_regenerate_key_request(
|
1387
|
-
resource_group_name=resource_group_name,
|
1388
|
-
account_name=account_name,
|
1389
|
-
subscription_id=self._config.subscription_id,
|
1390
|
-
api_version=api_version,
|
1391
|
-
content_type=content_type,
|
1392
|
-
json=_json,
|
1393
|
-
content=_content,
|
1394
|
-
headers=_headers,
|
1395
|
-
params=_params,
|
1396
|
-
)
|
1397
|
-
_request = _convert_request(_request)
|
1398
|
-
_request.url = self._client.format_url(_request.url)
|
1399
|
-
|
1400
|
-
_stream = False
|
1401
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1402
|
-
_request, stream=_stream, **kwargs
|
1403
|
-
)
|
1404
|
-
|
1405
|
-
response = pipeline_response.http_response
|
1406
|
-
|
1407
|
-
if response.status_code not in [200]:
|
1408
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
1409
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1410
|
-
|
1411
|
-
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1412
|
-
|
1413
|
-
if cls:
|
1414
|
-
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1415
|
-
|
1416
|
-
return deserialized # type: ignore
|
1417
|
-
|
1418
|
-
@overload
|
1419
|
-
def list_account_sas(
|
1420
|
-
self,
|
1421
|
-
resource_group_name: str,
|
1422
|
-
account_name: str,
|
1423
|
-
parameters: _models.AccountSasParameters,
|
1424
|
-
*,
|
1425
|
-
content_type: str = "application/json",
|
1426
|
-
**kwargs: Any
|
1427
|
-
) -> _models.ListAccountSasResponse:
|
1428
|
-
"""List SAS credentials of a storage account.
|
1429
|
-
|
1430
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1431
|
-
name is case insensitive. Required.
|
1432
|
-
:type resource_group_name: str
|
1433
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1434
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1435
|
-
lower-case letters only. Required.
|
1436
|
-
:type account_name: str
|
1437
|
-
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1438
|
-
Required.
|
1439
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.AccountSasParameters
|
1440
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1441
|
-
Default value is "application/json".
|
1442
|
-
:paramtype content_type: str
|
1443
|
-
:return: ListAccountSasResponse or the result of cls(response)
|
1444
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListAccountSasResponse
|
1445
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1446
|
-
"""
|
1447
|
-
|
1448
|
-
@overload
|
1449
|
-
def list_account_sas(
|
1450
|
-
self,
|
1451
|
-
resource_group_name: str,
|
1452
|
-
account_name: str,
|
1453
|
-
parameters: IO[bytes],
|
1454
|
-
*,
|
1455
|
-
content_type: str = "application/json",
|
1456
|
-
**kwargs: Any
|
1457
|
-
) -> _models.ListAccountSasResponse:
|
1458
|
-
"""List SAS credentials of a storage account.
|
1459
|
-
|
1460
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1461
|
-
name is case insensitive. Required.
|
1462
|
-
:type resource_group_name: str
|
1463
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1464
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1465
|
-
lower-case letters only. Required.
|
1466
|
-
:type account_name: str
|
1467
|
-
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1468
|
-
Required.
|
1469
|
-
:type parameters: IO[bytes]
|
1470
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1471
|
-
Default value is "application/json".
|
1472
|
-
:paramtype content_type: str
|
1473
|
-
:return: ListAccountSasResponse or the result of cls(response)
|
1474
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListAccountSasResponse
|
1475
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1476
|
-
"""
|
1477
|
-
|
1478
|
-
@distributed_trace
|
1479
|
-
def list_account_sas(
|
1480
|
-
self,
|
1481
|
-
resource_group_name: str,
|
1482
|
-
account_name: str,
|
1483
|
-
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1484
|
-
**kwargs: Any
|
1485
|
-
) -> _models.ListAccountSasResponse:
|
1486
|
-
"""List SAS credentials of a storage account.
|
1487
|
-
|
1488
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1489
|
-
name is case insensitive. Required.
|
1490
|
-
:type resource_group_name: str
|
1491
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1492
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1493
|
-
lower-case letters only. Required.
|
1494
|
-
:type account_name: str
|
1495
|
-
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1496
|
-
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1497
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.AccountSasParameters or IO[bytes]
|
1498
|
-
:return: ListAccountSasResponse or the result of cls(response)
|
1499
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListAccountSasResponse
|
1500
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1501
|
-
"""
|
1502
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1503
|
-
401: ClientAuthenticationError,
|
1504
|
-
404: ResourceNotFoundError,
|
1505
|
-
409: ResourceExistsError,
|
1506
|
-
304: ResourceNotModifiedError,
|
1507
|
-
}
|
1508
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
1509
|
-
|
1510
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1511
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1512
|
-
|
1513
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1514
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1515
|
-
cls: ClsType[_models.ListAccountSasResponse] = kwargs.pop("cls", None)
|
1516
|
-
|
1517
|
-
content_type = content_type or "application/json"
|
1518
|
-
_json = None
|
1519
|
-
_content = None
|
1520
|
-
if isinstance(parameters, (IOBase, bytes)):
|
1521
|
-
_content = parameters
|
1522
|
-
else:
|
1523
|
-
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1524
|
-
|
1525
|
-
_request = build_list_account_sas_request(
|
1526
|
-
resource_group_name=resource_group_name,
|
1527
|
-
account_name=account_name,
|
1528
|
-
subscription_id=self._config.subscription_id,
|
1529
|
-
api_version=api_version,
|
1530
|
-
content_type=content_type,
|
1531
|
-
json=_json,
|
1532
|
-
content=_content,
|
1533
|
-
headers=_headers,
|
1534
|
-
params=_params,
|
1535
|
-
)
|
1536
|
-
_request = _convert_request(_request)
|
1537
|
-
_request.url = self._client.format_url(_request.url)
|
1538
|
-
|
1539
|
-
_stream = False
|
1540
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1541
|
-
_request, stream=_stream, **kwargs
|
1542
|
-
)
|
1543
|
-
|
1544
|
-
response = pipeline_response.http_response
|
1545
|
-
|
1546
|
-
if response.status_code not in [200]:
|
1547
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
1548
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1549
|
-
|
1550
|
-
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1551
|
-
|
1552
|
-
if cls:
|
1553
|
-
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1554
|
-
|
1555
|
-
return deserialized # type: ignore
|
1556
|
-
|
1557
|
-
@overload
|
1558
|
-
def list_service_sas(
|
1559
|
-
self,
|
1560
|
-
resource_group_name: str,
|
1561
|
-
account_name: str,
|
1562
|
-
parameters: _models.ServiceSasParameters,
|
1563
|
-
*,
|
1564
|
-
content_type: str = "application/json",
|
1565
|
-
**kwargs: Any
|
1566
|
-
) -> _models.ListServiceSasResponse:
|
1567
|
-
"""List service SAS credentials of a specific resource.
|
1568
|
-
|
1569
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1570
|
-
name is case insensitive. Required.
|
1571
|
-
:type resource_group_name: str
|
1572
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1573
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1574
|
-
lower-case letters only. Required.
|
1575
|
-
:type account_name: str
|
1576
|
-
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1577
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.ServiceSasParameters
|
1578
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1579
|
-
Default value is "application/json".
|
1580
|
-
:paramtype content_type: str
|
1581
|
-
:return: ListServiceSasResponse or the result of cls(response)
|
1582
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListServiceSasResponse
|
1583
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1584
|
-
"""
|
1585
|
-
|
1586
|
-
@overload
|
1587
|
-
def list_service_sas(
|
1588
|
-
self,
|
1589
|
-
resource_group_name: str,
|
1590
|
-
account_name: str,
|
1591
|
-
parameters: IO[bytes],
|
1592
|
-
*,
|
1593
|
-
content_type: str = "application/json",
|
1594
|
-
**kwargs: Any
|
1595
|
-
) -> _models.ListServiceSasResponse:
|
1596
|
-
"""List service SAS credentials of a specific resource.
|
1597
|
-
|
1598
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1599
|
-
name is case insensitive. Required.
|
1600
|
-
:type resource_group_name: str
|
1601
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1602
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1603
|
-
lower-case letters only. Required.
|
1604
|
-
:type account_name: str
|
1605
|
-
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1606
|
-
:type parameters: IO[bytes]
|
1607
|
-
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1608
|
-
Default value is "application/json".
|
1609
|
-
:paramtype content_type: str
|
1610
|
-
:return: ListServiceSasResponse or the result of cls(response)
|
1611
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListServiceSasResponse
|
1612
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1613
|
-
"""
|
1614
|
-
|
1615
|
-
@distributed_trace
|
1616
|
-
def list_service_sas(
|
1617
|
-
self,
|
1618
|
-
resource_group_name: str,
|
1619
|
-
account_name: str,
|
1620
|
-
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1621
|
-
**kwargs: Any
|
1622
|
-
) -> _models.ListServiceSasResponse:
|
1623
|
-
"""List service SAS credentials of a specific resource.
|
1624
|
-
|
1625
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1626
|
-
name is case insensitive. Required.
|
1627
|
-
:type resource_group_name: str
|
1628
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1629
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1630
|
-
lower-case letters only. Required.
|
1631
|
-
:type account_name: str
|
1632
|
-
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1633
|
-
ServiceSasParameters type or a IO[bytes] type. Required.
|
1634
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.ServiceSasParameters or IO[bytes]
|
1635
|
-
:return: ListServiceSasResponse or the result of cls(response)
|
1636
|
-
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListServiceSasResponse
|
1637
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1638
|
-
"""
|
1639
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1640
|
-
401: ClientAuthenticationError,
|
1641
|
-
404: ResourceNotFoundError,
|
1642
|
-
409: ResourceExistsError,
|
1643
|
-
304: ResourceNotModifiedError,
|
1644
|
-
}
|
1645
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
1646
|
-
|
1647
|
-
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
1648
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1649
|
-
|
1650
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1651
|
-
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
1652
|
-
cls: ClsType[_models.ListServiceSasResponse] = kwargs.pop("cls", None)
|
1653
|
-
|
1654
|
-
content_type = content_type or "application/json"
|
1655
|
-
_json = None
|
1656
|
-
_content = None
|
1657
|
-
if isinstance(parameters, (IOBase, bytes)):
|
1658
|
-
_content = parameters
|
1659
|
-
else:
|
1660
|
-
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1661
|
-
|
1662
|
-
_request = build_list_service_sas_request(
|
1663
|
-
resource_group_name=resource_group_name,
|
1664
|
-
account_name=account_name,
|
1665
|
-
subscription_id=self._config.subscription_id,
|
1666
|
-
api_version=api_version,
|
1667
|
-
content_type=content_type,
|
1668
|
-
json=_json,
|
1669
|
-
content=_content,
|
1670
|
-
headers=_headers,
|
1671
|
-
params=_params,
|
1672
|
-
)
|
1673
|
-
_request = _convert_request(_request)
|
1674
|
-
_request.url = self._client.format_url(_request.url)
|
1675
|
-
|
1676
|
-
_stream = False
|
1677
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1678
|
-
_request, stream=_stream, **kwargs
|
1679
|
-
)
|
1680
|
-
|
1681
|
-
response = pipeline_response.http_response
|
1682
|
-
|
1683
|
-
if response.status_code not in [200]:
|
1684
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
1685
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1686
|
-
|
1687
|
-
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1688
|
-
|
1689
|
-
if cls:
|
1690
|
-
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1691
|
-
|
1692
|
-
return deserialized # type: ignore
|
1693
|
-
|
1694
|
-
def _failover_initial( # pylint: disable=inconsistent-return-statements
|
1695
|
-
self, resource_group_name: str, account_name: str, **kwargs: Any
|
1696
|
-
) -> None:
|
1697
|
-
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1698
|
-
401: ClientAuthenticationError,
|
1699
|
-
404: ResourceNotFoundError,
|
1700
|
-
409: ResourceExistsError,
|
1701
|
-
304: ResourceNotModifiedError,
|
1702
|
-
}
|
1703
|
-
error_map.update(kwargs.pop("error_map", {}) or {})
|
1704
|
-
|
1705
|
-
_headers = kwargs.pop("headers", {}) or {}
|
1706
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1707
|
-
|
1708
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1709
|
-
cls: ClsType[None] = kwargs.pop("cls", None)
|
1710
|
-
|
1711
|
-
_request = build_failover_request(
|
1712
|
-
resource_group_name=resource_group_name,
|
1713
|
-
account_name=account_name,
|
1714
|
-
subscription_id=self._config.subscription_id,
|
1715
|
-
api_version=api_version,
|
1716
|
-
headers=_headers,
|
1717
|
-
params=_params,
|
1718
|
-
)
|
1719
|
-
_request = _convert_request(_request)
|
1720
|
-
_request.url = self._client.format_url(_request.url)
|
1721
|
-
|
1722
|
-
_stream = False
|
1723
|
-
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1724
|
-
_request, stream=_stream, **kwargs
|
1725
|
-
)
|
1726
|
-
|
1727
|
-
response = pipeline_response.http_response
|
1728
|
-
|
1729
|
-
if response.status_code not in [200, 202]:
|
1730
|
-
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
1731
|
-
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1732
|
-
|
1733
|
-
if cls:
|
1734
|
-
return cls(pipeline_response, None, {}) # type: ignore
|
1735
|
-
|
1736
|
-
@distributed_trace
|
1737
|
-
def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
|
1738
|
-
"""Failover request can be triggered for a storage account in case of availability issues. The
|
1739
|
-
failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS
|
1740
|
-
accounts. The secondary cluster will become primary after failover.
|
1741
|
-
|
1742
|
-
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1743
|
-
name is case insensitive. Required.
|
1744
|
-
:type resource_group_name: str
|
1745
|
-
:param account_name: The name of the storage account within the specified resource group.
|
1746
|
-
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1747
|
-
lower-case letters only. Required.
|
1748
|
-
:type account_name: str
|
1749
|
-
:return: An instance of LROPoller that returns either None or the result of cls(response)
|
1750
|
-
:rtype: ~azure.core.polling.LROPoller[None]
|
1751
|
-
:raises ~azure.core.exceptions.HttpResponseError:
|
1752
|
-
"""
|
1753
|
-
_headers = kwargs.pop("headers", {}) or {}
|
1754
|
-
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
1755
|
-
|
1756
|
-
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1757
|
-
cls: ClsType[None] = kwargs.pop("cls", None)
|
1758
|
-
polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
|
1759
|
-
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
|
1760
|
-
cont_token: Optional[str] = kwargs.pop("continuation_token", None)
|
1761
|
-
if cont_token is None:
|
1762
|
-
raw_result = self._failover_initial( # type: ignore
|
1763
|
-
resource_group_name=resource_group_name,
|
1764
|
-
account_name=account_name,
|
1765
|
-
api_version=api_version,
|
1766
|
-
cls=lambda x, y, z: x,
|
1767
|
-
headers=_headers,
|
1768
|
-
params=_params,
|
1769
|
-
**kwargs
|
1770
|
-
)
|
1771
|
-
kwargs.pop("error_map", None)
|
1772
|
-
|
1773
|
-
def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
|
1774
|
-
if cls:
|
1775
|
-
return cls(pipeline_response, None, {}) # type: ignore
|
1776
|
-
|
1777
|
-
if polling is True:
|
1778
|
-
polling_method: PollingMethod = cast(
|
1779
|
-
PollingMethod, ARMPolling(lro_delay, lro_options={"final-state-via": "location"}, **kwargs)
|
1780
|
-
)
|
1781
|
-
elif polling is False:
|
1782
|
-
polling_method = cast(PollingMethod, NoPolling())
|
1783
|
-
else:
|
1784
|
-
polling_method = polling
|
1785
|
-
if cont_token:
|
1786
|
-
return LROPoller[None].from_continuation_token(
|
1787
|
-
polling_method=polling_method,
|
1788
|
-
continuation_token=cont_token,
|
1789
|
-
client=self._client,
|
1790
|
-
deserialization_callback=get_long_running_output,
|
1791
|
-
)
|
1792
|
-
return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
|