azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.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/_configuration.py +2 -3
- azure/mgmt/storage/_serialization.py +41 -49
- azure/mgmt/storage/_storage_management_client.py +142 -2
- azure/mgmt/storage/_version.py +1 -1
- azure/mgmt/storage/aio/_configuration.py +2 -3
- azure/mgmt/storage/aio/_storage_management_client.py +142 -2
- azure/mgmt/storage/models.py +1 -1
- azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
- azure/mgmt/storage/v2015_06_15/_version.py +1 -1
- azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
- azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
- azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2016_01_01/_version.py +1 -1
- azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
- azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
- azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2016_12_01/_version.py +1 -1
- azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
- azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_06_01/_version.py +1 -1
- azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
- azure/mgmt/storage/v2017_10_01/_version.py +1 -1
- azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
- azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
- azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_02_01/_version.py +1 -1
- azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
- azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
- azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
- azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
- azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
- azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
- azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
- azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_07_01/_version.py +1 -1
- azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
- azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
- azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
- azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
- azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2018_11_01/_version.py +1 -1
- azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
- azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
- azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
- azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
- azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
- azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
- azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_04_01/_version.py +1 -1
- azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
- azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
- azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
- azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
- azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2019_06_01/_version.py +1 -1
- azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
- azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
- azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
- azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
- azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
- azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
- azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_01_01/_version.py +1 -1
- azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
- azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_02_01/_version.py +1 -1
- azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
- azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
- azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
- azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
- azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_04_01/_version.py +1 -1
- azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
- azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
- azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
- azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
- azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
- azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_06_01/_version.py +1 -1
- azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
- azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_08_01/_version.py +1 -1
- azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
- azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
- azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2021_09_01/_version.py +1 -1
- azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
- azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_05_01/_version.py +1 -1
- azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2022_09_01/_version.py +1 -1
- azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
- azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
- azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
- azure/mgmt/storage/v2023_01_01/_version.py +1 -1
- azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
- azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
- azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
- azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
- azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
- azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
- azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
- azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
- azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
- azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
- azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
- azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
- azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
- azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
- azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
- azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
- azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
- azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
- azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
- azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
- azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
- azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
- azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
- azure/mgmt/storage/v2023_05_01/_version.py +9 -0
- azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
- azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
- azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
- azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
- azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
- azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
- azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
- azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
- azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
- azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
- azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
- azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
- azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
- azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
- azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
- azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
- azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
- azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
- azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
- azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
- azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
- {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,446 @@
|
|
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, AsyncIterable, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
|
12
|
+
import urllib.parse
|
13
|
+
|
14
|
+
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
15
|
+
from azure.core.exceptions import (
|
16
|
+
ClientAuthenticationError,
|
17
|
+
HttpResponseError,
|
18
|
+
ResourceExistsError,
|
19
|
+
ResourceNotFoundError,
|
20
|
+
ResourceNotModifiedError,
|
21
|
+
map_error,
|
22
|
+
)
|
23
|
+
from azure.core.pipeline import PipelineResponse
|
24
|
+
from azure.core.pipeline.transport import AsyncHttpResponse
|
25
|
+
from azure.core.rest import HttpRequest
|
26
|
+
from azure.core.tracing.decorator import distributed_trace
|
27
|
+
from azure.core.tracing.decorator_async import distributed_trace_async
|
28
|
+
from azure.core.utils import case_insensitive_dict
|
29
|
+
from azure.mgmt.core.exceptions import ARMErrorFormat
|
30
|
+
|
31
|
+
from ... import models as _models
|
32
|
+
from ..._vendor import _convert_request
|
33
|
+
from ...operations._object_replication_policies_operations import (
|
34
|
+
build_create_or_update_request,
|
35
|
+
build_delete_request,
|
36
|
+
build_get_request,
|
37
|
+
build_list_request,
|
38
|
+
)
|
39
|
+
|
40
|
+
if sys.version_info >= (3, 9):
|
41
|
+
from collections.abc import MutableMapping
|
42
|
+
else:
|
43
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
44
|
+
T = TypeVar("T")
|
45
|
+
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
46
|
+
|
47
|
+
|
48
|
+
class ObjectReplicationPoliciesOperations:
|
49
|
+
"""
|
50
|
+
.. warning::
|
51
|
+
**DO NOT** instantiate this class directly.
|
52
|
+
|
53
|
+
Instead, you should access the following operations through
|
54
|
+
:class:`~azure.mgmt.storage.v2023_05_01.aio.StorageManagementClient`'s
|
55
|
+
:attr:`object_replication_policies` attribute.
|
56
|
+
"""
|
57
|
+
|
58
|
+
models = _models
|
59
|
+
|
60
|
+
def __init__(self, *args, **kwargs) -> None:
|
61
|
+
input_args = list(args)
|
62
|
+
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
63
|
+
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
64
|
+
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
65
|
+
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
66
|
+
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
67
|
+
|
68
|
+
@distributed_trace
|
69
|
+
def list(
|
70
|
+
self, resource_group_name: str, account_name: str, **kwargs: Any
|
71
|
+
) -> AsyncIterable["_models.ObjectReplicationPolicy"]:
|
72
|
+
"""List the object replication policies associated with the storage account.
|
73
|
+
|
74
|
+
:param resource_group_name: The name of the resource group within the user's subscription. The
|
75
|
+
name is case insensitive. Required.
|
76
|
+
:type resource_group_name: str
|
77
|
+
:param account_name: The name of the storage account within the specified resource group.
|
78
|
+
Storage account names must be between 3 and 24 characters in length and use numbers and
|
79
|
+
lower-case letters only. Required.
|
80
|
+
:type account_name: str
|
81
|
+
:return: An iterator like instance of either ObjectReplicationPolicy or the result of
|
82
|
+
cls(response)
|
83
|
+
:rtype:
|
84
|
+
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2023_05_01.models.ObjectReplicationPolicy]
|
85
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
86
|
+
"""
|
87
|
+
_headers = kwargs.pop("headers", {}) or {}
|
88
|
+
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
89
|
+
|
90
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-05-01"))
|
91
|
+
cls: ClsType[_models.ObjectReplicationPolicies] = kwargs.pop("cls", None)
|
92
|
+
|
93
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
94
|
+
401: ClientAuthenticationError,
|
95
|
+
404: ResourceNotFoundError,
|
96
|
+
409: ResourceExistsError,
|
97
|
+
304: ResourceNotModifiedError,
|
98
|
+
}
|
99
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
100
|
+
|
101
|
+
def prepare_request(next_link=None):
|
102
|
+
if not next_link:
|
103
|
+
|
104
|
+
_request = build_list_request(
|
105
|
+
resource_group_name=resource_group_name,
|
106
|
+
account_name=account_name,
|
107
|
+
subscription_id=self._config.subscription_id,
|
108
|
+
api_version=api_version,
|
109
|
+
headers=_headers,
|
110
|
+
params=_params,
|
111
|
+
)
|
112
|
+
_request = _convert_request(_request)
|
113
|
+
_request.url = self._client.format_url(_request.url)
|
114
|
+
|
115
|
+
else:
|
116
|
+
# make call to next link with the client's api-version
|
117
|
+
_parsed_next_link = urllib.parse.urlparse(next_link)
|
118
|
+
_next_request_params = case_insensitive_dict(
|
119
|
+
{
|
120
|
+
key: [urllib.parse.quote(v) for v in value]
|
121
|
+
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
122
|
+
}
|
123
|
+
)
|
124
|
+
_next_request_params["api-version"] = self._api_version
|
125
|
+
_request = HttpRequest(
|
126
|
+
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
127
|
+
)
|
128
|
+
_request = _convert_request(_request)
|
129
|
+
_request.url = self._client.format_url(_request.url)
|
130
|
+
_request.method = "GET"
|
131
|
+
return _request
|
132
|
+
|
133
|
+
async def extract_data(pipeline_response):
|
134
|
+
deserialized = self._deserialize("ObjectReplicationPolicies", pipeline_response)
|
135
|
+
list_of_elem = deserialized.value
|
136
|
+
if cls:
|
137
|
+
list_of_elem = cls(list_of_elem) # type: ignore
|
138
|
+
return None, AsyncList(list_of_elem)
|
139
|
+
|
140
|
+
async def get_next(next_link=None):
|
141
|
+
_request = prepare_request(next_link)
|
142
|
+
|
143
|
+
_stream = False
|
144
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
145
|
+
_request, stream=_stream, **kwargs
|
146
|
+
)
|
147
|
+
response = pipeline_response.http_response
|
148
|
+
|
149
|
+
if response.status_code not in [200]:
|
150
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
151
|
+
error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
|
152
|
+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
|
153
|
+
|
154
|
+
return pipeline_response
|
155
|
+
|
156
|
+
return AsyncItemPaged(get_next, extract_data)
|
157
|
+
|
158
|
+
@distributed_trace_async
|
159
|
+
async def get(
|
160
|
+
self, resource_group_name: str, account_name: str, object_replication_policy_id: str, **kwargs: Any
|
161
|
+
) -> _models.ObjectReplicationPolicy:
|
162
|
+
"""Get the object replication policy of the storage account by policy ID.
|
163
|
+
|
164
|
+
:param resource_group_name: The name of the resource group within the user's subscription. The
|
165
|
+
name is case insensitive. Required.
|
166
|
+
:type resource_group_name: str
|
167
|
+
:param account_name: The name of the storage account within the specified resource group.
|
168
|
+
Storage account names must be between 3 and 24 characters in length and use numbers and
|
169
|
+
lower-case letters only. Required.
|
170
|
+
:type account_name: str
|
171
|
+
:param object_replication_policy_id: For the destination account, provide the value 'default'.
|
172
|
+
Configure the policy on the destination account first. For the source account, provide the
|
173
|
+
value of the policy ID that is returned when you download the policy that was defined on the
|
174
|
+
destination account. The policy is downloaded as a JSON file. Required.
|
175
|
+
:type object_replication_policy_id: str
|
176
|
+
:return: ObjectReplicationPolicy or the result of cls(response)
|
177
|
+
:rtype: ~azure.mgmt.storage.v2023_05_01.models.ObjectReplicationPolicy
|
178
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
179
|
+
"""
|
180
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
181
|
+
401: ClientAuthenticationError,
|
182
|
+
404: ResourceNotFoundError,
|
183
|
+
409: ResourceExistsError,
|
184
|
+
304: ResourceNotModifiedError,
|
185
|
+
}
|
186
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
187
|
+
|
188
|
+
_headers = kwargs.pop("headers", {}) or {}
|
189
|
+
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
190
|
+
|
191
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-05-01"))
|
192
|
+
cls: ClsType[_models.ObjectReplicationPolicy] = kwargs.pop("cls", None)
|
193
|
+
|
194
|
+
_request = build_get_request(
|
195
|
+
resource_group_name=resource_group_name,
|
196
|
+
account_name=account_name,
|
197
|
+
object_replication_policy_id=object_replication_policy_id,
|
198
|
+
subscription_id=self._config.subscription_id,
|
199
|
+
api_version=api_version,
|
200
|
+
headers=_headers,
|
201
|
+
params=_params,
|
202
|
+
)
|
203
|
+
_request = _convert_request(_request)
|
204
|
+
_request.url = self._client.format_url(_request.url)
|
205
|
+
|
206
|
+
_stream = False
|
207
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
208
|
+
_request, stream=_stream, **kwargs
|
209
|
+
)
|
210
|
+
|
211
|
+
response = pipeline_response.http_response
|
212
|
+
|
213
|
+
if response.status_code not in [200]:
|
214
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
215
|
+
error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
|
216
|
+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
|
217
|
+
|
218
|
+
deserialized = self._deserialize("ObjectReplicationPolicy", pipeline_response)
|
219
|
+
|
220
|
+
if cls:
|
221
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
222
|
+
|
223
|
+
return deserialized # type: ignore
|
224
|
+
|
225
|
+
@overload
|
226
|
+
async def create_or_update(
|
227
|
+
self,
|
228
|
+
resource_group_name: str,
|
229
|
+
account_name: str,
|
230
|
+
object_replication_policy_id: str,
|
231
|
+
properties: _models.ObjectReplicationPolicy,
|
232
|
+
*,
|
233
|
+
content_type: str = "application/json",
|
234
|
+
**kwargs: Any
|
235
|
+
) -> _models.ObjectReplicationPolicy:
|
236
|
+
"""Create or update the object replication policy of the storage account.
|
237
|
+
|
238
|
+
:param resource_group_name: The name of the resource group within the user's subscription. The
|
239
|
+
name is case insensitive. Required.
|
240
|
+
:type resource_group_name: str
|
241
|
+
:param account_name: The name of the storage account within the specified resource group.
|
242
|
+
Storage account names must be between 3 and 24 characters in length and use numbers and
|
243
|
+
lower-case letters only. Required.
|
244
|
+
:type account_name: str
|
245
|
+
:param object_replication_policy_id: For the destination account, provide the value 'default'.
|
246
|
+
Configure the policy on the destination account first. For the source account, provide the
|
247
|
+
value of the policy ID that is returned when you download the policy that was defined on the
|
248
|
+
destination account. The policy is downloaded as a JSON file. Required.
|
249
|
+
:type object_replication_policy_id: str
|
250
|
+
:param properties: The object replication policy set to a storage account. A unique policy ID
|
251
|
+
will be created if absent. Required.
|
252
|
+
:type properties: ~azure.mgmt.storage.v2023_05_01.models.ObjectReplicationPolicy
|
253
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
254
|
+
Default value is "application/json".
|
255
|
+
:paramtype content_type: str
|
256
|
+
:return: ObjectReplicationPolicy or the result of cls(response)
|
257
|
+
:rtype: ~azure.mgmt.storage.v2023_05_01.models.ObjectReplicationPolicy
|
258
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
259
|
+
"""
|
260
|
+
|
261
|
+
@overload
|
262
|
+
async def create_or_update(
|
263
|
+
self,
|
264
|
+
resource_group_name: str,
|
265
|
+
account_name: str,
|
266
|
+
object_replication_policy_id: str,
|
267
|
+
properties: IO[bytes],
|
268
|
+
*,
|
269
|
+
content_type: str = "application/json",
|
270
|
+
**kwargs: Any
|
271
|
+
) -> _models.ObjectReplicationPolicy:
|
272
|
+
"""Create or update the object replication policy of the storage account.
|
273
|
+
|
274
|
+
:param resource_group_name: The name of the resource group within the user's subscription. The
|
275
|
+
name is case insensitive. Required.
|
276
|
+
:type resource_group_name: str
|
277
|
+
:param account_name: The name of the storage account within the specified resource group.
|
278
|
+
Storage account names must be between 3 and 24 characters in length and use numbers and
|
279
|
+
lower-case letters only. Required.
|
280
|
+
:type account_name: str
|
281
|
+
:param object_replication_policy_id: For the destination account, provide the value 'default'.
|
282
|
+
Configure the policy on the destination account first. For the source account, provide the
|
283
|
+
value of the policy ID that is returned when you download the policy that was defined on the
|
284
|
+
destination account. The policy is downloaded as a JSON file. Required.
|
285
|
+
:type object_replication_policy_id: str
|
286
|
+
:param properties: The object replication policy set to a storage account. A unique policy ID
|
287
|
+
will be created if absent. Required.
|
288
|
+
:type properties: IO[bytes]
|
289
|
+
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
290
|
+
Default value is "application/json".
|
291
|
+
:paramtype content_type: str
|
292
|
+
:return: ObjectReplicationPolicy or the result of cls(response)
|
293
|
+
:rtype: ~azure.mgmt.storage.v2023_05_01.models.ObjectReplicationPolicy
|
294
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
295
|
+
"""
|
296
|
+
|
297
|
+
@distributed_trace_async
|
298
|
+
async def create_or_update(
|
299
|
+
self,
|
300
|
+
resource_group_name: str,
|
301
|
+
account_name: str,
|
302
|
+
object_replication_policy_id: str,
|
303
|
+
properties: Union[_models.ObjectReplicationPolicy, IO[bytes]],
|
304
|
+
**kwargs: Any
|
305
|
+
) -> _models.ObjectReplicationPolicy:
|
306
|
+
"""Create or update the object replication policy of the storage account.
|
307
|
+
|
308
|
+
:param resource_group_name: The name of the resource group within the user's subscription. The
|
309
|
+
name is case insensitive. Required.
|
310
|
+
:type resource_group_name: str
|
311
|
+
:param account_name: The name of the storage account within the specified resource group.
|
312
|
+
Storage account names must be between 3 and 24 characters in length and use numbers and
|
313
|
+
lower-case letters only. Required.
|
314
|
+
:type account_name: str
|
315
|
+
:param object_replication_policy_id: For the destination account, provide the value 'default'.
|
316
|
+
Configure the policy on the destination account first. For the source account, provide the
|
317
|
+
value of the policy ID that is returned when you download the policy that was defined on the
|
318
|
+
destination account. The policy is downloaded as a JSON file. Required.
|
319
|
+
:type object_replication_policy_id: str
|
320
|
+
:param properties: The object replication policy set to a storage account. A unique policy ID
|
321
|
+
will be created if absent. Is either a ObjectReplicationPolicy type or a IO[bytes] type.
|
322
|
+
Required.
|
323
|
+
:type properties: ~azure.mgmt.storage.v2023_05_01.models.ObjectReplicationPolicy or IO[bytes]
|
324
|
+
:return: ObjectReplicationPolicy or the result of cls(response)
|
325
|
+
:rtype: ~azure.mgmt.storage.v2023_05_01.models.ObjectReplicationPolicy
|
326
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
327
|
+
"""
|
328
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
329
|
+
401: ClientAuthenticationError,
|
330
|
+
404: ResourceNotFoundError,
|
331
|
+
409: ResourceExistsError,
|
332
|
+
304: ResourceNotModifiedError,
|
333
|
+
}
|
334
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
335
|
+
|
336
|
+
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
|
337
|
+
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
338
|
+
|
339
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-05-01"))
|
340
|
+
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
|
341
|
+
cls: ClsType[_models.ObjectReplicationPolicy] = kwargs.pop("cls", None)
|
342
|
+
|
343
|
+
content_type = content_type or "application/json"
|
344
|
+
_json = None
|
345
|
+
_content = None
|
346
|
+
if isinstance(properties, (IOBase, bytes)):
|
347
|
+
_content = properties
|
348
|
+
else:
|
349
|
+
_json = self._serialize.body(properties, "ObjectReplicationPolicy")
|
350
|
+
|
351
|
+
_request = build_create_or_update_request(
|
352
|
+
resource_group_name=resource_group_name,
|
353
|
+
account_name=account_name,
|
354
|
+
object_replication_policy_id=object_replication_policy_id,
|
355
|
+
subscription_id=self._config.subscription_id,
|
356
|
+
api_version=api_version,
|
357
|
+
content_type=content_type,
|
358
|
+
json=_json,
|
359
|
+
content=_content,
|
360
|
+
headers=_headers,
|
361
|
+
params=_params,
|
362
|
+
)
|
363
|
+
_request = _convert_request(_request)
|
364
|
+
_request.url = self._client.format_url(_request.url)
|
365
|
+
|
366
|
+
_stream = False
|
367
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
368
|
+
_request, stream=_stream, **kwargs
|
369
|
+
)
|
370
|
+
|
371
|
+
response = pipeline_response.http_response
|
372
|
+
|
373
|
+
if response.status_code not in [200]:
|
374
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
375
|
+
error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
|
376
|
+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
|
377
|
+
|
378
|
+
deserialized = self._deserialize("ObjectReplicationPolicy", pipeline_response)
|
379
|
+
|
380
|
+
if cls:
|
381
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
382
|
+
|
383
|
+
return deserialized # type: ignore
|
384
|
+
|
385
|
+
@distributed_trace_async
|
386
|
+
async def delete( # pylint: disable=inconsistent-return-statements
|
387
|
+
self, resource_group_name: str, account_name: str, object_replication_policy_id: str, **kwargs: Any
|
388
|
+
) -> None:
|
389
|
+
"""Deletes the object replication policy associated with the specified storage account.
|
390
|
+
|
391
|
+
:param resource_group_name: The name of the resource group within the user's subscription. The
|
392
|
+
name is case insensitive. Required.
|
393
|
+
:type resource_group_name: str
|
394
|
+
:param account_name: The name of the storage account within the specified resource group.
|
395
|
+
Storage account names must be between 3 and 24 characters in length and use numbers and
|
396
|
+
lower-case letters only. Required.
|
397
|
+
:type account_name: str
|
398
|
+
:param object_replication_policy_id: For the destination account, provide the value 'default'.
|
399
|
+
Configure the policy on the destination account first. For the source account, provide the
|
400
|
+
value of the policy ID that is returned when you download the policy that was defined on the
|
401
|
+
destination account. The policy is downloaded as a JSON file. Required.
|
402
|
+
:type object_replication_policy_id: str
|
403
|
+
:return: None or the result of cls(response)
|
404
|
+
:rtype: None
|
405
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
406
|
+
"""
|
407
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
408
|
+
401: ClientAuthenticationError,
|
409
|
+
404: ResourceNotFoundError,
|
410
|
+
409: ResourceExistsError,
|
411
|
+
304: ResourceNotModifiedError,
|
412
|
+
}
|
413
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
414
|
+
|
415
|
+
_headers = kwargs.pop("headers", {}) or {}
|
416
|
+
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
417
|
+
|
418
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-05-01"))
|
419
|
+
cls: ClsType[None] = kwargs.pop("cls", None)
|
420
|
+
|
421
|
+
_request = build_delete_request(
|
422
|
+
resource_group_name=resource_group_name,
|
423
|
+
account_name=account_name,
|
424
|
+
object_replication_policy_id=object_replication_policy_id,
|
425
|
+
subscription_id=self._config.subscription_id,
|
426
|
+
api_version=api_version,
|
427
|
+
headers=_headers,
|
428
|
+
params=_params,
|
429
|
+
)
|
430
|
+
_request = _convert_request(_request)
|
431
|
+
_request.url = self._client.format_url(_request.url)
|
432
|
+
|
433
|
+
_stream = False
|
434
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
435
|
+
_request, stream=_stream, **kwargs
|
436
|
+
)
|
437
|
+
|
438
|
+
response = pipeline_response.http_response
|
439
|
+
|
440
|
+
if response.status_code not in [200, 204]:
|
441
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
442
|
+
error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
|
443
|
+
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
|
444
|
+
|
445
|
+
if cls:
|
446
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
@@ -0,0 +1,135 @@
|
|
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
|
+
import sys
|
10
|
+
from typing import Any, AsyncIterable, Callable, Dict, Optional, Type, TypeVar
|
11
|
+
import urllib.parse
|
12
|
+
|
13
|
+
from azure.core.async_paging import AsyncItemPaged, AsyncList
|
14
|
+
from azure.core.exceptions import (
|
15
|
+
ClientAuthenticationError,
|
16
|
+
HttpResponseError,
|
17
|
+
ResourceExistsError,
|
18
|
+
ResourceNotFoundError,
|
19
|
+
ResourceNotModifiedError,
|
20
|
+
map_error,
|
21
|
+
)
|
22
|
+
from azure.core.pipeline import PipelineResponse
|
23
|
+
from azure.core.pipeline.transport import AsyncHttpResponse
|
24
|
+
from azure.core.rest import HttpRequest
|
25
|
+
from azure.core.tracing.decorator import distributed_trace
|
26
|
+
from azure.core.utils import case_insensitive_dict
|
27
|
+
from azure.mgmt.core.exceptions import ARMErrorFormat
|
28
|
+
|
29
|
+
from ... import models as _models
|
30
|
+
from ..._vendor import _convert_request
|
31
|
+
from ...operations._operations import build_list_request
|
32
|
+
|
33
|
+
if sys.version_info >= (3, 9):
|
34
|
+
from collections.abc import MutableMapping
|
35
|
+
else:
|
36
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
37
|
+
T = TypeVar("T")
|
38
|
+
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
39
|
+
|
40
|
+
|
41
|
+
class Operations:
|
42
|
+
"""
|
43
|
+
.. warning::
|
44
|
+
**DO NOT** instantiate this class directly.
|
45
|
+
|
46
|
+
Instead, you should access the following operations through
|
47
|
+
:class:`~azure.mgmt.storage.v2023_05_01.aio.StorageManagementClient`'s
|
48
|
+
:attr:`operations` attribute.
|
49
|
+
"""
|
50
|
+
|
51
|
+
models = _models
|
52
|
+
|
53
|
+
def __init__(self, *args, **kwargs) -> None:
|
54
|
+
input_args = list(args)
|
55
|
+
self._client = input_args.pop(0) if input_args else kwargs.pop("client")
|
56
|
+
self._config = input_args.pop(0) if input_args else kwargs.pop("config")
|
57
|
+
self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
|
58
|
+
self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
|
59
|
+
self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
|
60
|
+
|
61
|
+
@distributed_trace
|
62
|
+
def list(self, **kwargs: Any) -> AsyncIterable["_models.Operation"]:
|
63
|
+
"""Lists all of the available Storage Rest API operations.
|
64
|
+
|
65
|
+
:return: An iterator like instance of either Operation or the result of cls(response)
|
66
|
+
:rtype:
|
67
|
+
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2023_05_01.models.Operation]
|
68
|
+
:raises ~azure.core.exceptions.HttpResponseError:
|
69
|
+
"""
|
70
|
+
_headers = kwargs.pop("headers", {}) or {}
|
71
|
+
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})
|
72
|
+
|
73
|
+
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-05-01"))
|
74
|
+
cls: ClsType[_models.OperationListResult] = kwargs.pop("cls", None)
|
75
|
+
|
76
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
77
|
+
401: ClientAuthenticationError,
|
78
|
+
404: ResourceNotFoundError,
|
79
|
+
409: ResourceExistsError,
|
80
|
+
304: ResourceNotModifiedError,
|
81
|
+
}
|
82
|
+
error_map.update(kwargs.pop("error_map", {}) or {})
|
83
|
+
|
84
|
+
def prepare_request(next_link=None):
|
85
|
+
if not next_link:
|
86
|
+
|
87
|
+
_request = build_list_request(
|
88
|
+
api_version=api_version,
|
89
|
+
headers=_headers,
|
90
|
+
params=_params,
|
91
|
+
)
|
92
|
+
_request = _convert_request(_request)
|
93
|
+
_request.url = self._client.format_url(_request.url)
|
94
|
+
|
95
|
+
else:
|
96
|
+
# make call to next link with the client's api-version
|
97
|
+
_parsed_next_link = urllib.parse.urlparse(next_link)
|
98
|
+
_next_request_params = case_insensitive_dict(
|
99
|
+
{
|
100
|
+
key: [urllib.parse.quote(v) for v in value]
|
101
|
+
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
102
|
+
}
|
103
|
+
)
|
104
|
+
_next_request_params["api-version"] = self._api_version
|
105
|
+
_request = HttpRequest(
|
106
|
+
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
107
|
+
)
|
108
|
+
_request = _convert_request(_request)
|
109
|
+
_request.url = self._client.format_url(_request.url)
|
110
|
+
_request.method = "GET"
|
111
|
+
return _request
|
112
|
+
|
113
|
+
async def extract_data(pipeline_response):
|
114
|
+
deserialized = self._deserialize("OperationListResult", pipeline_response)
|
115
|
+
list_of_elem = deserialized.value
|
116
|
+
if cls:
|
117
|
+
list_of_elem = cls(list_of_elem) # type: ignore
|
118
|
+
return None, AsyncList(list_of_elem)
|
119
|
+
|
120
|
+
async def get_next(next_link=None):
|
121
|
+
_request = prepare_request(next_link)
|
122
|
+
|
123
|
+
_stream = False
|
124
|
+
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
125
|
+
_request, stream=_stream, **kwargs
|
126
|
+
)
|
127
|
+
response = pipeline_response.http_response
|
128
|
+
|
129
|
+
if response.status_code not in [200]:
|
130
|
+
map_error(status_code=response.status_code, response=response, error_map=error_map)
|
131
|
+
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
132
|
+
|
133
|
+
return pipeline_response
|
134
|
+
|
135
|
+
return AsyncItemPaged(get_next, extract_data)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# ------------------------------------
|
2
|
+
# Copyright (c) Microsoft Corporation.
|
3
|
+
# Licensed under the MIT License.
|
4
|
+
# ------------------------------------
|
5
|
+
"""Customize generated code here.
|
6
|
+
|
7
|
+
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
|
8
|
+
"""
|
9
|
+
from typing import List
|
10
|
+
|
11
|
+
__all__: List[str] = [] # Add all objects you want publicly available to users at this package level
|
12
|
+
|
13
|
+
|
14
|
+
def patch_sdk():
|
15
|
+
"""Do not remove from this file.
|
16
|
+
|
17
|
+
`patch_sdk` is a last resort escape hatch that allows you to do customizations
|
18
|
+
you can't accomplish using the techniques described in
|
19
|
+
https://aka.ms/azsdk/python/dpcodegen/python/customize
|
20
|
+
"""
|