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
@@ -1,4 +1,4 @@
|
|
1
|
-
# pylint: disable=too-many-lines
|
1
|
+
# pylint: disable=too-many-lines,too-many-statements
|
2
2
|
# coding=utf-8
|
3
3
|
# --------------------------------------------------------------------------
|
4
4
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
@@ -7,7 +7,8 @@
|
|
7
7
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
# --------------------------------------------------------------------------
|
9
9
|
from io import IOBase
|
10
|
-
|
10
|
+
import sys
|
11
|
+
from typing import Any, Callable, Dict, IO, Iterable, Optional, Type, TypeVar, Union, cast, overload
|
11
12
|
import urllib.parse
|
12
13
|
|
13
14
|
from azure.core.exceptions import (
|
@@ -32,6 +33,10 @@ from .. import models as _models
|
|
32
33
|
from ..._serialization import Serializer
|
33
34
|
from .._vendor import _convert_request
|
34
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
|
35
40
|
T = TypeVar("T")
|
36
41
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
37
42
|
|
@@ -433,7 +438,7 @@ def build_get_management_policies_request(
|
|
433
438
|
return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs)
|
434
439
|
|
435
440
|
|
436
|
-
def build_create_or_update_management_policies_request(
|
441
|
+
def build_create_or_update_management_policies_request( # pylint: disable=name-too-long
|
437
442
|
resource_group_name: str,
|
438
443
|
account_name: str,
|
439
444
|
management_policy_name: Union[str, _models.ManagementPolicyName],
|
@@ -544,7 +549,6 @@ class StorageAccountsOperations:
|
|
544
549
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
545
550
|
Default value is "application/json".
|
546
551
|
:paramtype content_type: str
|
547
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
548
552
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
549
553
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.CheckNameAvailabilityResult
|
550
554
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -552,18 +556,17 @@ class StorageAccountsOperations:
|
|
552
556
|
|
553
557
|
@overload
|
554
558
|
def check_name_availability(
|
555
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
559
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
556
560
|
) -> _models.CheckNameAvailabilityResult:
|
557
561
|
"""Checks that the storage account name is valid and is not already in use.
|
558
562
|
|
559
563
|
:param account_name: The name of the storage account within the specified resource group.
|
560
564
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
561
565
|
lower-case letters only. Required.
|
562
|
-
:type account_name: IO
|
566
|
+
:type account_name: IO[bytes]
|
563
567
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
564
568
|
Default value is "application/json".
|
565
569
|
:paramtype content_type: str
|
566
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
567
570
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
568
571
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.CheckNameAvailabilityResult
|
569
572
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -571,26 +574,22 @@ class StorageAccountsOperations:
|
|
571
574
|
|
572
575
|
@distributed_trace
|
573
576
|
def check_name_availability(
|
574
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
577
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
575
578
|
) -> _models.CheckNameAvailabilityResult:
|
576
579
|
"""Checks that the storage account name is valid and is not already in use.
|
577
580
|
|
578
581
|
:param account_name: The name of the storage account within the specified resource group.
|
579
582
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
580
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
581
|
-
type. Required.
|
583
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
584
|
+
IO[bytes] type. Required.
|
582
585
|
:type account_name:
|
583
586
|
~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCheckNameAvailabilityParameters or
|
584
|
-
IO
|
585
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
586
|
-
Default value is None.
|
587
|
-
:paramtype content_type: str
|
588
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
587
|
+
IO[bytes]
|
589
588
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
590
589
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.CheckNameAvailabilityResult
|
591
590
|
:raises ~azure.core.exceptions.HttpResponseError:
|
592
591
|
"""
|
593
|
-
error_map = {
|
592
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
594
593
|
401: ClientAuthenticationError,
|
595
594
|
404: ResourceNotFoundError,
|
596
595
|
409: ResourceExistsError,
|
@@ -615,22 +614,21 @@ class StorageAccountsOperations:
|
|
615
614
|
else:
|
616
615
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
617
616
|
|
618
|
-
|
617
|
+
_request = build_check_name_availability_request(
|
619
618
|
subscription_id=self._config.subscription_id,
|
620
619
|
api_version=api_version,
|
621
620
|
content_type=content_type,
|
622
621
|
json=_json,
|
623
622
|
content=_content,
|
624
|
-
template_url=self.check_name_availability.metadata["url"],
|
625
623
|
headers=_headers,
|
626
624
|
params=_params,
|
627
625
|
)
|
628
|
-
|
629
|
-
|
626
|
+
_request = _convert_request(_request)
|
627
|
+
_request.url = self._client.format_url(_request.url)
|
630
628
|
|
631
629
|
_stream = False
|
632
630
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
633
|
-
|
631
|
+
_request, stream=_stream, **kwargs
|
634
632
|
)
|
635
633
|
|
636
634
|
response = pipeline_response.http_response
|
@@ -642,22 +640,18 @@ class StorageAccountsOperations:
|
|
642
640
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
643
641
|
|
644
642
|
if cls:
|
645
|
-
return cls(pipeline_response, deserialized, {})
|
646
|
-
|
647
|
-
return deserialized
|
643
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
648
644
|
|
649
|
-
|
650
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
651
|
-
}
|
645
|
+
return deserialized # type: ignore
|
652
646
|
|
653
647
|
def _create_initial(
|
654
648
|
self,
|
655
649
|
resource_group_name: str,
|
656
650
|
account_name: str,
|
657
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
651
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
658
652
|
**kwargs: Any
|
659
653
|
) -> Optional[_models.StorageAccount]:
|
660
|
-
error_map = {
|
654
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
661
655
|
401: ClientAuthenticationError,
|
662
656
|
404: ResourceNotFoundError,
|
663
657
|
409: ResourceExistsError,
|
@@ -682,7 +676,7 @@ class StorageAccountsOperations:
|
|
682
676
|
else:
|
683
677
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
684
678
|
|
685
|
-
|
679
|
+
_request = build_create_request(
|
686
680
|
resource_group_name=resource_group_name,
|
687
681
|
account_name=account_name,
|
688
682
|
subscription_id=self._config.subscription_id,
|
@@ -690,16 +684,15 @@ class StorageAccountsOperations:
|
|
690
684
|
content_type=content_type,
|
691
685
|
json=_json,
|
692
686
|
content=_content,
|
693
|
-
template_url=self._create_initial.metadata["url"],
|
694
687
|
headers=_headers,
|
695
688
|
params=_params,
|
696
689
|
)
|
697
|
-
|
698
|
-
|
690
|
+
_request = _convert_request(_request)
|
691
|
+
_request.url = self._client.format_url(_request.url)
|
699
692
|
|
700
693
|
_stream = False
|
701
694
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
702
|
-
|
695
|
+
_request, stream=_stream, **kwargs
|
703
696
|
)
|
704
697
|
|
705
698
|
response = pipeline_response.http_response
|
@@ -713,13 +706,9 @@ class StorageAccountsOperations:
|
|
713
706
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
714
707
|
|
715
708
|
if cls:
|
716
|
-
return cls(pipeline_response, deserialized, {})
|
709
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
717
710
|
|
718
|
-
return deserialized
|
719
|
-
|
720
|
-
_create_initial.metadata = {
|
721
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
722
|
-
}
|
711
|
+
return deserialized # type: ignore
|
723
712
|
|
724
713
|
@overload
|
725
714
|
def begin_create(
|
@@ -748,14 +737,6 @@ class StorageAccountsOperations:
|
|
748
737
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
749
738
|
Default value is "application/json".
|
750
739
|
:paramtype content_type: str
|
751
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
752
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
753
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
754
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
755
|
-
strategy.
|
756
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
757
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
758
|
-
Retry-After header is present.
|
759
740
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
760
741
|
cls(response)
|
761
742
|
:rtype:
|
@@ -768,7 +749,7 @@ class StorageAccountsOperations:
|
|
768
749
|
self,
|
769
750
|
resource_group_name: str,
|
770
751
|
account_name: str,
|
771
|
-
parameters: IO,
|
752
|
+
parameters: IO[bytes],
|
772
753
|
*,
|
773
754
|
content_type: str = "application/json",
|
774
755
|
**kwargs: Any
|
@@ -786,18 +767,10 @@ class StorageAccountsOperations:
|
|
786
767
|
lower-case letters only. Required.
|
787
768
|
:type account_name: str
|
788
769
|
:param parameters: The parameters to provide for the created account. Required.
|
789
|
-
:type parameters: IO
|
770
|
+
:type parameters: IO[bytes]
|
790
771
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
791
772
|
Default value is "application/json".
|
792
773
|
:paramtype content_type: str
|
793
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
794
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
795
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
796
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
797
|
-
strategy.
|
798
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
799
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
800
|
-
Retry-After header is present.
|
801
774
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
802
775
|
cls(response)
|
803
776
|
:rtype:
|
@@ -810,7 +783,7 @@ class StorageAccountsOperations:
|
|
810
783
|
self,
|
811
784
|
resource_group_name: str,
|
812
785
|
account_name: str,
|
813
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
786
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
814
787
|
**kwargs: Any
|
815
788
|
) -> LROPoller[_models.StorageAccount]:
|
816
789
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -826,20 +799,9 @@ class StorageAccountsOperations:
|
|
826
799
|
lower-case letters only. Required.
|
827
800
|
:type account_name: str
|
828
801
|
:param parameters: The parameters to provide for the created account. Is either a
|
829
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
802
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
830
803
|
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountCreateParameters
|
831
|
-
or IO
|
832
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
833
|
-
Default value is None.
|
834
|
-
:paramtype content_type: str
|
835
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
836
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
837
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
838
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
839
|
-
strategy.
|
840
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
841
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
842
|
-
Retry-After header is present.
|
804
|
+
or IO[bytes]
|
843
805
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
844
806
|
cls(response)
|
845
807
|
:rtype:
|
@@ -874,7 +836,7 @@ class StorageAccountsOperations:
|
|
874
836
|
def get_long_running_output(pipeline_response):
|
875
837
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
876
838
|
if cls:
|
877
|
-
return cls(pipeline_response, deserialized, {})
|
839
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
878
840
|
return deserialized
|
879
841
|
|
880
842
|
if polling is True:
|
@@ -884,17 +846,15 @@ class StorageAccountsOperations:
|
|
884
846
|
else:
|
885
847
|
polling_method = polling
|
886
848
|
if cont_token:
|
887
|
-
return LROPoller.from_continuation_token(
|
849
|
+
return LROPoller[_models.StorageAccount].from_continuation_token(
|
888
850
|
polling_method=polling_method,
|
889
851
|
continuation_token=cont_token,
|
890
852
|
client=self._client,
|
891
853
|
deserialization_callback=get_long_running_output,
|
892
854
|
)
|
893
|
-
return LROPoller(
|
894
|
-
|
895
|
-
|
896
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
897
|
-
}
|
855
|
+
return LROPoller[_models.StorageAccount](
|
856
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
857
|
+
)
|
898
858
|
|
899
859
|
@distributed_trace
|
900
860
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -909,12 +869,11 @@ class StorageAccountsOperations:
|
|
909
869
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
910
870
|
lower-case letters only. Required.
|
911
871
|
:type account_name: str
|
912
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
913
872
|
:return: None or the result of cls(response)
|
914
873
|
:rtype: None
|
915
874
|
:raises ~azure.core.exceptions.HttpResponseError:
|
916
875
|
"""
|
917
|
-
error_map = {
|
876
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
918
877
|
401: ClientAuthenticationError,
|
919
878
|
404: ResourceNotFoundError,
|
920
879
|
409: ResourceExistsError,
|
@@ -930,21 +889,20 @@ class StorageAccountsOperations:
|
|
930
889
|
)
|
931
890
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
932
891
|
|
933
|
-
|
892
|
+
_request = build_delete_request(
|
934
893
|
resource_group_name=resource_group_name,
|
935
894
|
account_name=account_name,
|
936
895
|
subscription_id=self._config.subscription_id,
|
937
896
|
api_version=api_version,
|
938
|
-
template_url=self.delete.metadata["url"],
|
939
897
|
headers=_headers,
|
940
898
|
params=_params,
|
941
899
|
)
|
942
|
-
|
943
|
-
|
900
|
+
_request = _convert_request(_request)
|
901
|
+
_request.url = self._client.format_url(_request.url)
|
944
902
|
|
945
903
|
_stream = False
|
946
904
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
947
|
-
|
905
|
+
_request, stream=_stream, **kwargs
|
948
906
|
)
|
949
907
|
|
950
908
|
response = pipeline_response.http_response
|
@@ -954,11 +912,7 @@ class StorageAccountsOperations:
|
|
954
912
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
955
913
|
|
956
914
|
if cls:
|
957
|
-
return cls(pipeline_response, None, {})
|
958
|
-
|
959
|
-
delete.metadata = {
|
960
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
961
|
-
}
|
915
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
962
916
|
|
963
917
|
@distributed_trace
|
964
918
|
def get_properties(self, resource_group_name: str, account_name: str, **kwargs: Any) -> _models.StorageAccount:
|
@@ -973,12 +927,11 @@ class StorageAccountsOperations:
|
|
973
927
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
974
928
|
lower-case letters only. Required.
|
975
929
|
:type account_name: str
|
976
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
977
930
|
:return: StorageAccount or the result of cls(response)
|
978
931
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
|
979
932
|
:raises ~azure.core.exceptions.HttpResponseError:
|
980
933
|
"""
|
981
|
-
error_map = {
|
934
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
982
935
|
401: ClientAuthenticationError,
|
983
936
|
404: ResourceNotFoundError,
|
984
937
|
409: ResourceExistsError,
|
@@ -994,21 +947,20 @@ class StorageAccountsOperations:
|
|
994
947
|
)
|
995
948
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
996
949
|
|
997
|
-
|
950
|
+
_request = build_get_properties_request(
|
998
951
|
resource_group_name=resource_group_name,
|
999
952
|
account_name=account_name,
|
1000
953
|
subscription_id=self._config.subscription_id,
|
1001
954
|
api_version=api_version,
|
1002
|
-
template_url=self.get_properties.metadata["url"],
|
1003
955
|
headers=_headers,
|
1004
956
|
params=_params,
|
1005
957
|
)
|
1006
|
-
|
1007
|
-
|
958
|
+
_request = _convert_request(_request)
|
959
|
+
_request.url = self._client.format_url(_request.url)
|
1008
960
|
|
1009
961
|
_stream = False
|
1010
962
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1011
|
-
|
963
|
+
_request, stream=_stream, **kwargs
|
1012
964
|
)
|
1013
965
|
|
1014
966
|
response = pipeline_response.http_response
|
@@ -1020,13 +972,9 @@ class StorageAccountsOperations:
|
|
1020
972
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1021
973
|
|
1022
974
|
if cls:
|
1023
|
-
return cls(pipeline_response, deserialized, {})
|
1024
|
-
|
1025
|
-
return deserialized
|
975
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1026
976
|
|
1027
|
-
|
1028
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1029
|
-
}
|
977
|
+
return deserialized # type: ignore
|
1030
978
|
|
1031
979
|
@overload
|
1032
980
|
def update(
|
@@ -1059,7 +1007,6 @@ class StorageAccountsOperations:
|
|
1059
1007
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1060
1008
|
Default value is "application/json".
|
1061
1009
|
:paramtype content_type: str
|
1062
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1063
1010
|
:return: StorageAccount or the result of cls(response)
|
1064
1011
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
|
1065
1012
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1070,7 +1017,7 @@ class StorageAccountsOperations:
|
|
1070
1017
|
self,
|
1071
1018
|
resource_group_name: str,
|
1072
1019
|
account_name: str,
|
1073
|
-
parameters: IO,
|
1020
|
+
parameters: IO[bytes],
|
1074
1021
|
*,
|
1075
1022
|
content_type: str = "application/json",
|
1076
1023
|
**kwargs: Any
|
@@ -1092,11 +1039,10 @@ class StorageAccountsOperations:
|
|
1092
1039
|
lower-case letters only. Required.
|
1093
1040
|
:type account_name: str
|
1094
1041
|
:param parameters: The parameters to provide for the updated account. Required.
|
1095
|
-
:type parameters: IO
|
1042
|
+
:type parameters: IO[bytes]
|
1096
1043
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1097
1044
|
Default value is "application/json".
|
1098
1045
|
:paramtype content_type: str
|
1099
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1100
1046
|
:return: StorageAccount or the result of cls(response)
|
1101
1047
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
|
1102
1048
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1107,7 +1053,7 @@ class StorageAccountsOperations:
|
|
1107
1053
|
self,
|
1108
1054
|
resource_group_name: str,
|
1109
1055
|
account_name: str,
|
1110
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
1056
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
1111
1057
|
**kwargs: Any
|
1112
1058
|
) -> _models.StorageAccount:
|
1113
1059
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -1127,18 +1073,14 @@ class StorageAccountsOperations:
|
|
1127
1073
|
lower-case letters only. Required.
|
1128
1074
|
:type account_name: str
|
1129
1075
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1130
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
1076
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
1131
1077
|
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountUpdateParameters
|
1132
|
-
or IO
|
1133
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1134
|
-
Default value is None.
|
1135
|
-
:paramtype content_type: str
|
1136
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1078
|
+
or IO[bytes]
|
1137
1079
|
:return: StorageAccount or the result of cls(response)
|
1138
1080
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount
|
1139
1081
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1140
1082
|
"""
|
1141
|
-
error_map = {
|
1083
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1142
1084
|
401: ClientAuthenticationError,
|
1143
1085
|
404: ResourceNotFoundError,
|
1144
1086
|
409: ResourceExistsError,
|
@@ -1163,7 +1105,7 @@ class StorageAccountsOperations:
|
|
1163
1105
|
else:
|
1164
1106
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1165
1107
|
|
1166
|
-
|
1108
|
+
_request = build_update_request(
|
1167
1109
|
resource_group_name=resource_group_name,
|
1168
1110
|
account_name=account_name,
|
1169
1111
|
subscription_id=self._config.subscription_id,
|
@@ -1171,16 +1113,15 @@ class StorageAccountsOperations:
|
|
1171
1113
|
content_type=content_type,
|
1172
1114
|
json=_json,
|
1173
1115
|
content=_content,
|
1174
|
-
template_url=self.update.metadata["url"],
|
1175
1116
|
headers=_headers,
|
1176
1117
|
params=_params,
|
1177
1118
|
)
|
1178
|
-
|
1179
|
-
|
1119
|
+
_request = _convert_request(_request)
|
1120
|
+
_request.url = self._client.format_url(_request.url)
|
1180
1121
|
|
1181
1122
|
_stream = False
|
1182
1123
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1183
|
-
|
1124
|
+
_request, stream=_stream, **kwargs
|
1184
1125
|
)
|
1185
1126
|
|
1186
1127
|
response = pipeline_response.http_response
|
@@ -1192,20 +1133,15 @@ class StorageAccountsOperations:
|
|
1192
1133
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1193
1134
|
|
1194
1135
|
if cls:
|
1195
|
-
return cls(pipeline_response, deserialized, {})
|
1136
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1196
1137
|
|
1197
|
-
return deserialized
|
1198
|
-
|
1199
|
-
update.metadata = {
|
1200
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1201
|
-
}
|
1138
|
+
return deserialized # type: ignore
|
1202
1139
|
|
1203
1140
|
@distributed_trace
|
1204
1141
|
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1205
1142
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1206
1143
|
returned; use the ListKeys operation for this.
|
1207
1144
|
|
1208
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1209
1145
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1210
1146
|
:rtype:
|
1211
1147
|
~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount]
|
@@ -1219,7 +1155,7 @@ class StorageAccountsOperations:
|
|
1219
1155
|
)
|
1220
1156
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1221
1157
|
|
1222
|
-
error_map = {
|
1158
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1223
1159
|
401: ClientAuthenticationError,
|
1224
1160
|
404: ResourceNotFoundError,
|
1225
1161
|
409: ResourceExistsError,
|
@@ -1230,15 +1166,14 @@ class StorageAccountsOperations:
|
|
1230
1166
|
def prepare_request(next_link=None):
|
1231
1167
|
if not next_link:
|
1232
1168
|
|
1233
|
-
|
1169
|
+
_request = build_list_request(
|
1234
1170
|
subscription_id=self._config.subscription_id,
|
1235
1171
|
api_version=api_version,
|
1236
|
-
template_url=self.list.metadata["url"],
|
1237
1172
|
headers=_headers,
|
1238
1173
|
params=_params,
|
1239
1174
|
)
|
1240
|
-
|
1241
|
-
|
1175
|
+
_request = _convert_request(_request)
|
1176
|
+
_request.url = self._client.format_url(_request.url)
|
1242
1177
|
|
1243
1178
|
else:
|
1244
1179
|
# make call to next link with the client's api-version
|
@@ -1249,14 +1184,14 @@ class StorageAccountsOperations:
|
|
1249
1184
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1250
1185
|
}
|
1251
1186
|
)
|
1252
|
-
_next_request_params["api-version"] = self.
|
1253
|
-
|
1187
|
+
_next_request_params["api-version"] = self._api_version
|
1188
|
+
_request = HttpRequest(
|
1254
1189
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1255
1190
|
)
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
return
|
1191
|
+
_request = _convert_request(_request)
|
1192
|
+
_request.url = self._client.format_url(_request.url)
|
1193
|
+
_request.method = "GET"
|
1194
|
+
return _request
|
1260
1195
|
|
1261
1196
|
def extract_data(pipeline_response):
|
1262
1197
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1266,11 +1201,11 @@ class StorageAccountsOperations:
|
|
1266
1201
|
return None, iter(list_of_elem)
|
1267
1202
|
|
1268
1203
|
def get_next(next_link=None):
|
1269
|
-
|
1204
|
+
_request = prepare_request(next_link)
|
1270
1205
|
|
1271
1206
|
_stream = False
|
1272
1207
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1273
|
-
|
1208
|
+
_request, stream=_stream, **kwargs
|
1274
1209
|
)
|
1275
1210
|
response = pipeline_response.http_response
|
1276
1211
|
|
@@ -1282,8 +1217,6 @@ class StorageAccountsOperations:
|
|
1282
1217
|
|
1283
1218
|
return ItemPaged(get_next, extract_data)
|
1284
1219
|
|
1285
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
1286
|
-
|
1287
1220
|
@distributed_trace
|
1288
1221
|
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1289
1222
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
@@ -1292,7 +1225,6 @@ class StorageAccountsOperations:
|
|
1292
1225
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1293
1226
|
name is case insensitive. Required.
|
1294
1227
|
:type resource_group_name: str
|
1295
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1296
1228
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1297
1229
|
:rtype:
|
1298
1230
|
~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount]
|
@@ -1306,7 +1238,7 @@ class StorageAccountsOperations:
|
|
1306
1238
|
)
|
1307
1239
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1308
1240
|
|
1309
|
-
error_map = {
|
1241
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1310
1242
|
401: ClientAuthenticationError,
|
1311
1243
|
404: ResourceNotFoundError,
|
1312
1244
|
409: ResourceExistsError,
|
@@ -1317,16 +1249,15 @@ class StorageAccountsOperations:
|
|
1317
1249
|
def prepare_request(next_link=None):
|
1318
1250
|
if not next_link:
|
1319
1251
|
|
1320
|
-
|
1252
|
+
_request = build_list_by_resource_group_request(
|
1321
1253
|
resource_group_name=resource_group_name,
|
1322
1254
|
subscription_id=self._config.subscription_id,
|
1323
1255
|
api_version=api_version,
|
1324
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
1325
1256
|
headers=_headers,
|
1326
1257
|
params=_params,
|
1327
1258
|
)
|
1328
|
-
|
1329
|
-
|
1259
|
+
_request = _convert_request(_request)
|
1260
|
+
_request.url = self._client.format_url(_request.url)
|
1330
1261
|
|
1331
1262
|
else:
|
1332
1263
|
# make call to next link with the client's api-version
|
@@ -1337,14 +1268,14 @@ class StorageAccountsOperations:
|
|
1337
1268
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1338
1269
|
}
|
1339
1270
|
)
|
1340
|
-
_next_request_params["api-version"] = self.
|
1341
|
-
|
1271
|
+
_next_request_params["api-version"] = self._api_version
|
1272
|
+
_request = HttpRequest(
|
1342
1273
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1343
1274
|
)
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
return
|
1275
|
+
_request = _convert_request(_request)
|
1276
|
+
_request.url = self._client.format_url(_request.url)
|
1277
|
+
_request.method = "GET"
|
1278
|
+
return _request
|
1348
1279
|
|
1349
1280
|
def extract_data(pipeline_response):
|
1350
1281
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1354,11 +1285,11 @@ class StorageAccountsOperations:
|
|
1354
1285
|
return None, iter(list_of_elem)
|
1355
1286
|
|
1356
1287
|
def get_next(next_link=None):
|
1357
|
-
|
1288
|
+
_request = prepare_request(next_link)
|
1358
1289
|
|
1359
1290
|
_stream = False
|
1360
1291
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1361
|
-
|
1292
|
+
_request, stream=_stream, **kwargs
|
1362
1293
|
)
|
1363
1294
|
response = pipeline_response.http_response
|
1364
1295
|
|
@@ -1370,10 +1301,6 @@ class StorageAccountsOperations:
|
|
1370
1301
|
|
1371
1302
|
return ItemPaged(get_next, extract_data)
|
1372
1303
|
|
1373
|
-
list_by_resource_group.metadata = {
|
1374
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
1375
|
-
}
|
1376
|
-
|
1377
1304
|
@distributed_trace
|
1378
1305
|
def list_keys(
|
1379
1306
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
@@ -1387,12 +1314,11 @@ class StorageAccountsOperations:
|
|
1387
1314
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1388
1315
|
lower-case letters only. Required.
|
1389
1316
|
:type account_name: str
|
1390
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1391
1317
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1392
1318
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
|
1393
1319
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1394
1320
|
"""
|
1395
|
-
error_map = {
|
1321
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1396
1322
|
401: ClientAuthenticationError,
|
1397
1323
|
404: ResourceNotFoundError,
|
1398
1324
|
409: ResourceExistsError,
|
@@ -1408,21 +1334,20 @@ class StorageAccountsOperations:
|
|
1408
1334
|
)
|
1409
1335
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1410
1336
|
|
1411
|
-
|
1337
|
+
_request = build_list_keys_request(
|
1412
1338
|
resource_group_name=resource_group_name,
|
1413
1339
|
account_name=account_name,
|
1414
1340
|
subscription_id=self._config.subscription_id,
|
1415
1341
|
api_version=api_version,
|
1416
|
-
template_url=self.list_keys.metadata["url"],
|
1417
1342
|
headers=_headers,
|
1418
1343
|
params=_params,
|
1419
1344
|
)
|
1420
|
-
|
1421
|
-
|
1345
|
+
_request = _convert_request(_request)
|
1346
|
+
_request.url = self._client.format_url(_request.url)
|
1422
1347
|
|
1423
1348
|
_stream = False
|
1424
1349
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1425
|
-
|
1350
|
+
_request, stream=_stream, **kwargs
|
1426
1351
|
)
|
1427
1352
|
|
1428
1353
|
response = pipeline_response.http_response
|
@@ -1434,13 +1359,9 @@ class StorageAccountsOperations:
|
|
1434
1359
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1435
1360
|
|
1436
1361
|
if cls:
|
1437
|
-
return cls(pipeline_response, deserialized, {})
|
1362
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1438
1363
|
|
1439
|
-
return deserialized
|
1440
|
-
|
1441
|
-
list_keys.metadata = {
|
1442
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1443
|
-
}
|
1364
|
+
return deserialized # type: ignore
|
1444
1365
|
|
1445
1366
|
@overload
|
1446
1367
|
def regenerate_key(
|
@@ -1468,7 +1389,6 @@ class StorageAccountsOperations:
|
|
1468
1389
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1469
1390
|
Default value is "application/json".
|
1470
1391
|
:paramtype content_type: str
|
1471
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1472
1392
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1473
1393
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
|
1474
1394
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1479,7 +1399,7 @@ class StorageAccountsOperations:
|
|
1479
1399
|
self,
|
1480
1400
|
resource_group_name: str,
|
1481
1401
|
account_name: str,
|
1482
|
-
regenerate_key: IO,
|
1402
|
+
regenerate_key: IO[bytes],
|
1483
1403
|
*,
|
1484
1404
|
content_type: str = "application/json",
|
1485
1405
|
**kwargs: Any
|
@@ -1495,11 +1415,10 @@ class StorageAccountsOperations:
|
|
1495
1415
|
:type account_name: str
|
1496
1416
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1497
1417
|
Required.
|
1498
|
-
:type regenerate_key: IO
|
1418
|
+
:type regenerate_key: IO[bytes]
|
1499
1419
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1500
1420
|
Default value is "application/json".
|
1501
1421
|
:paramtype content_type: str
|
1502
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1503
1422
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1504
1423
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
|
1505
1424
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1510,7 +1429,7 @@ class StorageAccountsOperations:
|
|
1510
1429
|
self,
|
1511
1430
|
resource_group_name: str,
|
1512
1431
|
account_name: str,
|
1513
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
1432
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1514
1433
|
**kwargs: Any
|
1515
1434
|
) -> _models.StorageAccountListKeysResult:
|
1516
1435
|
"""Regenerates one of the access keys for the specified storage account.
|
@@ -1523,18 +1442,15 @@ class StorageAccountsOperations:
|
|
1523
1442
|
lower-case letters only. Required.
|
1524
1443
|
:type account_name: str
|
1525
1444
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1526
|
-
Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
|
1445
|
+
Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
|
1527
1446
|
:type regenerate_key:
|
1528
|
-
~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1529
|
-
|
1530
|
-
Default value is None.
|
1531
|
-
:paramtype content_type: str
|
1532
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1447
|
+
~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountRegenerateKeyParameters or
|
1448
|
+
IO[bytes]
|
1533
1449
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1534
1450
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountListKeysResult
|
1535
1451
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1536
1452
|
"""
|
1537
|
-
error_map = {
|
1453
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1538
1454
|
401: ClientAuthenticationError,
|
1539
1455
|
404: ResourceNotFoundError,
|
1540
1456
|
409: ResourceExistsError,
|
@@ -1559,7 +1475,7 @@ class StorageAccountsOperations:
|
|
1559
1475
|
else:
|
1560
1476
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1561
1477
|
|
1562
|
-
|
1478
|
+
_request = build_regenerate_key_request(
|
1563
1479
|
resource_group_name=resource_group_name,
|
1564
1480
|
account_name=account_name,
|
1565
1481
|
subscription_id=self._config.subscription_id,
|
@@ -1567,16 +1483,15 @@ class StorageAccountsOperations:
|
|
1567
1483
|
content_type=content_type,
|
1568
1484
|
json=_json,
|
1569
1485
|
content=_content,
|
1570
|
-
template_url=self.regenerate_key.metadata["url"],
|
1571
1486
|
headers=_headers,
|
1572
1487
|
params=_params,
|
1573
1488
|
)
|
1574
|
-
|
1575
|
-
|
1489
|
+
_request = _convert_request(_request)
|
1490
|
+
_request.url = self._client.format_url(_request.url)
|
1576
1491
|
|
1577
1492
|
_stream = False
|
1578
1493
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1579
|
-
|
1494
|
+
_request, stream=_stream, **kwargs
|
1580
1495
|
)
|
1581
1496
|
|
1582
1497
|
response = pipeline_response.http_response
|
@@ -1588,13 +1503,9 @@ class StorageAccountsOperations:
|
|
1588
1503
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1589
1504
|
|
1590
1505
|
if cls:
|
1591
|
-
return cls(pipeline_response, deserialized, {})
|
1506
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1592
1507
|
|
1593
|
-
return deserialized
|
1594
|
-
|
1595
|
-
regenerate_key.metadata = {
|
1596
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1597
|
-
}
|
1508
|
+
return deserialized # type: ignore
|
1598
1509
|
|
1599
1510
|
@overload
|
1600
1511
|
def list_account_sas(
|
@@ -1621,7 +1532,6 @@ class StorageAccountsOperations:
|
|
1621
1532
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1622
1533
|
Default value is "application/json".
|
1623
1534
|
:paramtype content_type: str
|
1624
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1625
1535
|
:return: ListAccountSasResponse or the result of cls(response)
|
1626
1536
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListAccountSasResponse
|
1627
1537
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1632,7 +1542,7 @@ class StorageAccountsOperations:
|
|
1632
1542
|
self,
|
1633
1543
|
resource_group_name: str,
|
1634
1544
|
account_name: str,
|
1635
|
-
parameters: IO,
|
1545
|
+
parameters: IO[bytes],
|
1636
1546
|
*,
|
1637
1547
|
content_type: str = "application/json",
|
1638
1548
|
**kwargs: Any
|
@@ -1648,11 +1558,10 @@ class StorageAccountsOperations:
|
|
1648
1558
|
:type account_name: str
|
1649
1559
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1650
1560
|
Required.
|
1651
|
-
:type parameters: IO
|
1561
|
+
:type parameters: IO[bytes]
|
1652
1562
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1653
1563
|
Default value is "application/json".
|
1654
1564
|
:paramtype content_type: str
|
1655
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1656
1565
|
:return: ListAccountSasResponse or the result of cls(response)
|
1657
1566
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListAccountSasResponse
|
1658
1567
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1663,7 +1572,7 @@ class StorageAccountsOperations:
|
|
1663
1572
|
self,
|
1664
1573
|
resource_group_name: str,
|
1665
1574
|
account_name: str,
|
1666
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1575
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1667
1576
|
**kwargs: Any
|
1668
1577
|
) -> _models.ListAccountSasResponse:
|
1669
1578
|
"""List SAS credentials of a storage account.
|
@@ -1676,17 +1585,14 @@ class StorageAccountsOperations:
|
|
1676
1585
|
lower-case letters only. Required.
|
1677
1586
|
:type account_name: str
|
1678
1587
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1679
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1680
|
-
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.AccountSasParameters or
|
1681
|
-
|
1682
|
-
Default value is None.
|
1683
|
-
:paramtype content_type: str
|
1684
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1588
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1589
|
+
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.AccountSasParameters or
|
1590
|
+
IO[bytes]
|
1685
1591
|
:return: ListAccountSasResponse or the result of cls(response)
|
1686
1592
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListAccountSasResponse
|
1687
1593
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1688
1594
|
"""
|
1689
|
-
error_map = {
|
1595
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1690
1596
|
401: ClientAuthenticationError,
|
1691
1597
|
404: ResourceNotFoundError,
|
1692
1598
|
409: ResourceExistsError,
|
@@ -1711,7 +1617,7 @@ class StorageAccountsOperations:
|
|
1711
1617
|
else:
|
1712
1618
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1713
1619
|
|
1714
|
-
|
1620
|
+
_request = build_list_account_sas_request(
|
1715
1621
|
resource_group_name=resource_group_name,
|
1716
1622
|
account_name=account_name,
|
1717
1623
|
subscription_id=self._config.subscription_id,
|
@@ -1719,16 +1625,15 @@ class StorageAccountsOperations:
|
|
1719
1625
|
content_type=content_type,
|
1720
1626
|
json=_json,
|
1721
1627
|
content=_content,
|
1722
|
-
template_url=self.list_account_sas.metadata["url"],
|
1723
1628
|
headers=_headers,
|
1724
1629
|
params=_params,
|
1725
1630
|
)
|
1726
|
-
|
1727
|
-
|
1631
|
+
_request = _convert_request(_request)
|
1632
|
+
_request.url = self._client.format_url(_request.url)
|
1728
1633
|
|
1729
1634
|
_stream = False
|
1730
1635
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1731
|
-
|
1636
|
+
_request, stream=_stream, **kwargs
|
1732
1637
|
)
|
1733
1638
|
|
1734
1639
|
response = pipeline_response.http_response
|
@@ -1740,13 +1645,9 @@ class StorageAccountsOperations:
|
|
1740
1645
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1741
1646
|
|
1742
1647
|
if cls:
|
1743
|
-
return cls(pipeline_response, deserialized, {})
|
1744
|
-
|
1745
|
-
return deserialized
|
1648
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1746
1649
|
|
1747
|
-
|
1748
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1749
|
-
}
|
1650
|
+
return deserialized # type: ignore
|
1750
1651
|
|
1751
1652
|
@overload
|
1752
1653
|
def list_service_sas(
|
@@ -1772,7 +1673,6 @@ class StorageAccountsOperations:
|
|
1772
1673
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1773
1674
|
Default value is "application/json".
|
1774
1675
|
:paramtype content_type: str
|
1775
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1776
1676
|
:return: ListServiceSasResponse or the result of cls(response)
|
1777
1677
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListServiceSasResponse
|
1778
1678
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1783,7 +1683,7 @@ class StorageAccountsOperations:
|
|
1783
1683
|
self,
|
1784
1684
|
resource_group_name: str,
|
1785
1685
|
account_name: str,
|
1786
|
-
parameters: IO,
|
1686
|
+
parameters: IO[bytes],
|
1787
1687
|
*,
|
1788
1688
|
content_type: str = "application/json",
|
1789
1689
|
**kwargs: Any
|
@@ -1798,11 +1698,10 @@ class StorageAccountsOperations:
|
|
1798
1698
|
lower-case letters only. Required.
|
1799
1699
|
:type account_name: str
|
1800
1700
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1801
|
-
:type parameters: IO
|
1701
|
+
:type parameters: IO[bytes]
|
1802
1702
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1803
1703
|
Default value is "application/json".
|
1804
1704
|
:paramtype content_type: str
|
1805
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1806
1705
|
:return: ListServiceSasResponse or the result of cls(response)
|
1807
1706
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListServiceSasResponse
|
1808
1707
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1813,7 +1712,7 @@ class StorageAccountsOperations:
|
|
1813
1712
|
self,
|
1814
1713
|
resource_group_name: str,
|
1815
1714
|
account_name: str,
|
1816
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1715
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1817
1716
|
**kwargs: Any
|
1818
1717
|
) -> _models.ListServiceSasResponse:
|
1819
1718
|
"""List service SAS credentials of a specific resource.
|
@@ -1826,17 +1725,14 @@ class StorageAccountsOperations:
|
|
1826
1725
|
lower-case letters only. Required.
|
1827
1726
|
:type account_name: str
|
1828
1727
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1829
|
-
ServiceSasParameters type or a IO type. Required.
|
1830
|
-
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ServiceSasParameters or
|
1831
|
-
|
1832
|
-
Default value is None.
|
1833
|
-
:paramtype content_type: str
|
1834
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1728
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1729
|
+
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ServiceSasParameters or
|
1730
|
+
IO[bytes]
|
1835
1731
|
:return: ListServiceSasResponse or the result of cls(response)
|
1836
1732
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListServiceSasResponse
|
1837
1733
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1838
1734
|
"""
|
1839
|
-
error_map = {
|
1735
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1840
1736
|
401: ClientAuthenticationError,
|
1841
1737
|
404: ResourceNotFoundError,
|
1842
1738
|
409: ResourceExistsError,
|
@@ -1861,7 +1757,7 @@ class StorageAccountsOperations:
|
|
1861
1757
|
else:
|
1862
1758
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1863
1759
|
|
1864
|
-
|
1760
|
+
_request = build_list_service_sas_request(
|
1865
1761
|
resource_group_name=resource_group_name,
|
1866
1762
|
account_name=account_name,
|
1867
1763
|
subscription_id=self._config.subscription_id,
|
@@ -1869,16 +1765,15 @@ class StorageAccountsOperations:
|
|
1869
1765
|
content_type=content_type,
|
1870
1766
|
json=_json,
|
1871
1767
|
content=_content,
|
1872
|
-
template_url=self.list_service_sas.metadata["url"],
|
1873
1768
|
headers=_headers,
|
1874
1769
|
params=_params,
|
1875
1770
|
)
|
1876
|
-
|
1877
|
-
|
1771
|
+
_request = _convert_request(_request)
|
1772
|
+
_request.url = self._client.format_url(_request.url)
|
1878
1773
|
|
1879
1774
|
_stream = False
|
1880
1775
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1881
|
-
|
1776
|
+
_request, stream=_stream, **kwargs
|
1882
1777
|
)
|
1883
1778
|
|
1884
1779
|
response = pipeline_response.http_response
|
@@ -1890,13 +1785,9 @@ class StorageAccountsOperations:
|
|
1890
1785
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1891
1786
|
|
1892
1787
|
if cls:
|
1893
|
-
return cls(pipeline_response, deserialized, {})
|
1788
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1894
1789
|
|
1895
|
-
return deserialized
|
1896
|
-
|
1897
|
-
list_service_sas.metadata = {
|
1898
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1899
|
-
}
|
1790
|
+
return deserialized # type: ignore
|
1900
1791
|
|
1901
1792
|
@distributed_trace
|
1902
1793
|
def get_management_policies(
|
@@ -1919,12 +1810,11 @@ class StorageAccountsOperations:
|
|
1919
1810
|
always be 'default'. "default" Required.
|
1920
1811
|
:type management_policy_name: str or
|
1921
1812
|
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
|
1922
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1923
1813
|
:return: StorageAccountManagementPolicies or the result of cls(response)
|
1924
1814
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
|
1925
1815
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1926
1816
|
"""
|
1927
|
-
error_map = {
|
1817
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1928
1818
|
401: ClientAuthenticationError,
|
1929
1819
|
404: ResourceNotFoundError,
|
1930
1820
|
409: ResourceExistsError,
|
@@ -1940,22 +1830,21 @@ class StorageAccountsOperations:
|
|
1940
1830
|
)
|
1941
1831
|
cls: ClsType[_models.StorageAccountManagementPolicies] = kwargs.pop("cls", None)
|
1942
1832
|
|
1943
|
-
|
1833
|
+
_request = build_get_management_policies_request(
|
1944
1834
|
resource_group_name=resource_group_name,
|
1945
1835
|
account_name=account_name,
|
1946
1836
|
management_policy_name=management_policy_name,
|
1947
1837
|
subscription_id=self._config.subscription_id,
|
1948
1838
|
api_version=api_version,
|
1949
|
-
template_url=self.get_management_policies.metadata["url"],
|
1950
1839
|
headers=_headers,
|
1951
1840
|
params=_params,
|
1952
1841
|
)
|
1953
|
-
|
1954
|
-
|
1842
|
+
_request = _convert_request(_request)
|
1843
|
+
_request.url = self._client.format_url(_request.url)
|
1955
1844
|
|
1956
1845
|
_stream = False
|
1957
1846
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1958
|
-
|
1847
|
+
_request, stream=_stream, **kwargs
|
1959
1848
|
)
|
1960
1849
|
|
1961
1850
|
response = pipeline_response.http_response
|
@@ -1967,13 +1856,9 @@ class StorageAccountsOperations:
|
|
1967
1856
|
deserialized = self._deserialize("StorageAccountManagementPolicies", pipeline_response)
|
1968
1857
|
|
1969
1858
|
if cls:
|
1970
|
-
return cls(pipeline_response, deserialized, {})
|
1859
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1971
1860
|
|
1972
|
-
return deserialized
|
1973
|
-
|
1974
|
-
get_management_policies.metadata = {
|
1975
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}"
|
1976
|
-
}
|
1861
|
+
return deserialized # type: ignore
|
1977
1862
|
|
1978
1863
|
@overload
|
1979
1864
|
def create_or_update_management_policies(
|
@@ -2005,7 +1890,6 @@ class StorageAccountsOperations:
|
|
2005
1890
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2006
1891
|
Default value is "application/json".
|
2007
1892
|
:paramtype content_type: str
|
2008
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2009
1893
|
:return: StorageAccountManagementPolicies or the result of cls(response)
|
2010
1894
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
|
2011
1895
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2017,7 +1901,7 @@ class StorageAccountsOperations:
|
|
2017
1901
|
resource_group_name: str,
|
2018
1902
|
account_name: str,
|
2019
1903
|
management_policy_name: Union[str, _models.ManagementPolicyName],
|
2020
|
-
properties: IO,
|
1904
|
+
properties: IO[bytes],
|
2021
1905
|
*,
|
2022
1906
|
content_type: str = "application/json",
|
2023
1907
|
**kwargs: Any
|
@@ -2036,11 +1920,10 @@ class StorageAccountsOperations:
|
|
2036
1920
|
:type management_policy_name: str or
|
2037
1921
|
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
|
2038
1922
|
:param properties: The data policy rules to set to a storage account. Required.
|
2039
|
-
:type properties: IO
|
1923
|
+
:type properties: IO[bytes]
|
2040
1924
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2041
1925
|
Default value is "application/json".
|
2042
1926
|
:paramtype content_type: str
|
2043
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2044
1927
|
:return: StorageAccountManagementPolicies or the result of cls(response)
|
2045
1928
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
|
2046
1929
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2052,7 +1935,7 @@ class StorageAccountsOperations:
|
|
2052
1935
|
resource_group_name: str,
|
2053
1936
|
account_name: str,
|
2054
1937
|
management_policy_name: Union[str, _models.ManagementPolicyName],
|
2055
|
-
properties: Union[_models.ManagementPoliciesRulesSetParameter, IO],
|
1938
|
+
properties: Union[_models.ManagementPoliciesRulesSetParameter, IO[bytes]],
|
2056
1939
|
**kwargs: Any
|
2057
1940
|
) -> _models.StorageAccountManagementPolicies:
|
2058
1941
|
"""Sets the data policy rules associated with the specified storage account.
|
@@ -2069,18 +1952,14 @@ class StorageAccountsOperations:
|
|
2069
1952
|
:type management_policy_name: str or
|
2070
1953
|
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
|
2071
1954
|
:param properties: The data policy rules to set to a storage account. Is either a
|
2072
|
-
ManagementPoliciesRulesSetParameter type or a IO type. Required.
|
1955
|
+
ManagementPoliciesRulesSetParameter type or a IO[bytes] type. Required.
|
2073
1956
|
:type properties:
|
2074
|
-
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPoliciesRulesSetParameter or IO
|
2075
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2076
|
-
Default value is None.
|
2077
|
-
:paramtype content_type: str
|
2078
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1957
|
+
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPoliciesRulesSetParameter or IO[bytes]
|
2079
1958
|
:return: StorageAccountManagementPolicies or the result of cls(response)
|
2080
1959
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccountManagementPolicies
|
2081
1960
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2082
1961
|
"""
|
2083
|
-
error_map = {
|
1962
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2084
1963
|
401: ClientAuthenticationError,
|
2085
1964
|
404: ResourceNotFoundError,
|
2086
1965
|
409: ResourceExistsError,
|
@@ -2105,7 +1984,7 @@ class StorageAccountsOperations:
|
|
2105
1984
|
else:
|
2106
1985
|
_json = self._serialize.body(properties, "ManagementPoliciesRulesSetParameter")
|
2107
1986
|
|
2108
|
-
|
1987
|
+
_request = build_create_or_update_management_policies_request(
|
2109
1988
|
resource_group_name=resource_group_name,
|
2110
1989
|
account_name=account_name,
|
2111
1990
|
management_policy_name=management_policy_name,
|
@@ -2114,16 +1993,15 @@ class StorageAccountsOperations:
|
|
2114
1993
|
content_type=content_type,
|
2115
1994
|
json=_json,
|
2116
1995
|
content=_content,
|
2117
|
-
template_url=self.create_or_update_management_policies.metadata["url"],
|
2118
1996
|
headers=_headers,
|
2119
1997
|
params=_params,
|
2120
1998
|
)
|
2121
|
-
|
2122
|
-
|
1999
|
+
_request = _convert_request(_request)
|
2000
|
+
_request.url = self._client.format_url(_request.url)
|
2123
2001
|
|
2124
2002
|
_stream = False
|
2125
2003
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2126
|
-
|
2004
|
+
_request, stream=_stream, **kwargs
|
2127
2005
|
)
|
2128
2006
|
|
2129
2007
|
response = pipeline_response.http_response
|
@@ -2135,13 +2013,9 @@ class StorageAccountsOperations:
|
|
2135
2013
|
deserialized = self._deserialize("StorageAccountManagementPolicies", pipeline_response)
|
2136
2014
|
|
2137
2015
|
if cls:
|
2138
|
-
return cls(pipeline_response, deserialized, {})
|
2016
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2139
2017
|
|
2140
|
-
return deserialized
|
2141
|
-
|
2142
|
-
create_or_update_management_policies.metadata = {
|
2143
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}"
|
2144
|
-
}
|
2018
|
+
return deserialized # type: ignore
|
2145
2019
|
|
2146
2020
|
@distributed_trace
|
2147
2021
|
def delete_management_policies( # pylint: disable=inconsistent-return-statements
|
@@ -2164,12 +2038,11 @@ class StorageAccountsOperations:
|
|
2164
2038
|
always be 'default'. "default" Required.
|
2165
2039
|
:type management_policy_name: str or
|
2166
2040
|
~azure.mgmt.storage.v2018_03_01_preview.models.ManagementPolicyName
|
2167
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2168
2041
|
:return: None or the result of cls(response)
|
2169
2042
|
:rtype: None
|
2170
2043
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2171
2044
|
"""
|
2172
|
-
error_map = {
|
2045
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2173
2046
|
401: ClientAuthenticationError,
|
2174
2047
|
404: ResourceNotFoundError,
|
2175
2048
|
409: ResourceExistsError,
|
@@ -2185,22 +2058,21 @@ class StorageAccountsOperations:
|
|
2185
2058
|
)
|
2186
2059
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
2187
2060
|
|
2188
|
-
|
2061
|
+
_request = build_delete_management_policies_request(
|
2189
2062
|
resource_group_name=resource_group_name,
|
2190
2063
|
account_name=account_name,
|
2191
2064
|
management_policy_name=management_policy_name,
|
2192
2065
|
subscription_id=self._config.subscription_id,
|
2193
2066
|
api_version=api_version,
|
2194
|
-
template_url=self.delete_management_policies.metadata["url"],
|
2195
2067
|
headers=_headers,
|
2196
2068
|
params=_params,
|
2197
2069
|
)
|
2198
|
-
|
2199
|
-
|
2070
|
+
_request = _convert_request(_request)
|
2071
|
+
_request.url = self._client.format_url(_request.url)
|
2200
2072
|
|
2201
2073
|
_stream = False
|
2202
2074
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2203
|
-
|
2075
|
+
_request, stream=_stream, **kwargs
|
2204
2076
|
)
|
2205
2077
|
|
2206
2078
|
response = pipeline_response.http_response
|
@@ -2210,8 +2082,4 @@ class StorageAccountsOperations:
|
|
2210
2082
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
2211
2083
|
|
2212
2084
|
if cls:
|
2213
|
-
return cls(pipeline_response, None, {})
|
2214
|
-
|
2215
|
-
delete_management_policies.metadata = {
|
2216
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}"
|
2217
|
-
}
|
2085
|
+
return cls(pipeline_response, None, {}) # type: ignore
|