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,6 @@ class StorageAccountsOperations:
|
|
433
438
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
434
439
|
Default value is "application/json".
|
435
440
|
:paramtype content_type: str
|
436
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
437
441
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
438
442
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.CheckNameAvailabilityResult
|
439
443
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -441,18 +445,17 @@ class StorageAccountsOperations:
|
|
441
445
|
|
442
446
|
@overload
|
443
447
|
def check_name_availability(
|
444
|
-
self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
|
448
|
+
self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
|
445
449
|
) -> _models.CheckNameAvailabilityResult:
|
446
450
|
"""Checks that the storage account name is valid and is not already in use.
|
447
451
|
|
448
452
|
:param account_name: The name of the storage account within the specified resource group.
|
449
453
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
450
454
|
lower-case letters only. Required.
|
451
|
-
:type account_name: IO
|
455
|
+
:type account_name: IO[bytes]
|
452
456
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
453
457
|
Default value is "application/json".
|
454
458
|
:paramtype content_type: str
|
455
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
456
459
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
457
460
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.CheckNameAvailabilityResult
|
458
461
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -460,25 +463,22 @@ class StorageAccountsOperations:
|
|
460
463
|
|
461
464
|
@distributed_trace
|
462
465
|
def check_name_availability(
|
463
|
-
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
|
466
|
+
self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
|
464
467
|
) -> _models.CheckNameAvailabilityResult:
|
465
468
|
"""Checks that the storage account name is valid and is not already in use.
|
466
469
|
|
467
470
|
:param account_name: The name of the storage account within the specified resource group.
|
468
471
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
469
|
-
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
470
|
-
type. Required.
|
472
|
+
lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
|
473
|
+
IO[bytes] type. Required.
|
471
474
|
:type account_name:
|
472
|
-
~azure.mgmt.storage.v2016_12_01.models.StorageAccountCheckNameAvailabilityParameters or
|
473
|
-
|
474
|
-
Default value is None.
|
475
|
-
:paramtype content_type: str
|
476
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
475
|
+
~azure.mgmt.storage.v2016_12_01.models.StorageAccountCheckNameAvailabilityParameters or
|
476
|
+
IO[bytes]
|
477
477
|
:return: CheckNameAvailabilityResult or the result of cls(response)
|
478
478
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.CheckNameAvailabilityResult
|
479
479
|
:raises ~azure.core.exceptions.HttpResponseError:
|
480
480
|
"""
|
481
|
-
error_map = {
|
481
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
482
482
|
401: ClientAuthenticationError,
|
483
483
|
404: ResourceNotFoundError,
|
484
484
|
409: ResourceExistsError,
|
@@ -501,22 +501,21 @@ class StorageAccountsOperations:
|
|
501
501
|
else:
|
502
502
|
_json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
|
503
503
|
|
504
|
-
|
504
|
+
_request = build_check_name_availability_request(
|
505
505
|
subscription_id=self._config.subscription_id,
|
506
506
|
api_version=api_version,
|
507
507
|
content_type=content_type,
|
508
508
|
json=_json,
|
509
509
|
content=_content,
|
510
|
-
template_url=self.check_name_availability.metadata["url"],
|
511
510
|
headers=_headers,
|
512
511
|
params=_params,
|
513
512
|
)
|
514
|
-
|
515
|
-
|
513
|
+
_request = _convert_request(_request)
|
514
|
+
_request.url = self._client.format_url(_request.url)
|
516
515
|
|
517
516
|
_stream = False
|
518
517
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
519
|
-
|
518
|
+
_request, stream=_stream, **kwargs
|
520
519
|
)
|
521
520
|
|
522
521
|
response = pipeline_response.http_response
|
@@ -528,22 +527,18 @@ class StorageAccountsOperations:
|
|
528
527
|
deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
|
529
528
|
|
530
529
|
if cls:
|
531
|
-
return cls(pipeline_response, deserialized, {})
|
532
|
-
|
533
|
-
return deserialized
|
530
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
534
531
|
|
535
|
-
|
536
|
-
"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
|
537
|
-
}
|
532
|
+
return deserialized # type: ignore
|
538
533
|
|
539
534
|
def _create_initial(
|
540
535
|
self,
|
541
536
|
resource_group_name: str,
|
542
537
|
account_name: str,
|
543
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
538
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
544
539
|
**kwargs: Any
|
545
540
|
) -> Optional[_models.StorageAccount]:
|
546
|
-
error_map = {
|
541
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
547
542
|
401: ClientAuthenticationError,
|
548
543
|
404: ResourceNotFoundError,
|
549
544
|
409: ResourceExistsError,
|
@@ -566,7 +561,7 @@ class StorageAccountsOperations:
|
|
566
561
|
else:
|
567
562
|
_json = self._serialize.body(parameters, "StorageAccountCreateParameters")
|
568
563
|
|
569
|
-
|
564
|
+
_request = build_create_request(
|
570
565
|
resource_group_name=resource_group_name,
|
571
566
|
account_name=account_name,
|
572
567
|
subscription_id=self._config.subscription_id,
|
@@ -574,16 +569,15 @@ class StorageAccountsOperations:
|
|
574
569
|
content_type=content_type,
|
575
570
|
json=_json,
|
576
571
|
content=_content,
|
577
|
-
template_url=self._create_initial.metadata["url"],
|
578
572
|
headers=_headers,
|
579
573
|
params=_params,
|
580
574
|
)
|
581
|
-
|
582
|
-
|
575
|
+
_request = _convert_request(_request)
|
576
|
+
_request.url = self._client.format_url(_request.url)
|
583
577
|
|
584
578
|
_stream = False
|
585
579
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
586
|
-
|
580
|
+
_request, stream=_stream, **kwargs
|
587
581
|
)
|
588
582
|
|
589
583
|
response = pipeline_response.http_response
|
@@ -597,13 +591,9 @@ class StorageAccountsOperations:
|
|
597
591
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
598
592
|
|
599
593
|
if cls:
|
600
|
-
return cls(pipeline_response, deserialized, {})
|
601
|
-
|
602
|
-
return deserialized
|
594
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
603
595
|
|
604
|
-
|
605
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
606
|
-
}
|
596
|
+
return deserialized # type: ignore
|
607
597
|
|
608
598
|
@overload
|
609
599
|
def begin_create(
|
@@ -632,14 +622,6 @@ class StorageAccountsOperations:
|
|
632
622
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
633
623
|
Default value is "application/json".
|
634
624
|
:paramtype content_type: str
|
635
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
636
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
637
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
638
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
639
|
-
strategy.
|
640
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
641
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
642
|
-
Retry-After header is present.
|
643
625
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
644
626
|
cls(response)
|
645
627
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2016_12_01.models.StorageAccount]
|
@@ -651,7 +633,7 @@ class StorageAccountsOperations:
|
|
651
633
|
self,
|
652
634
|
resource_group_name: str,
|
653
635
|
account_name: str,
|
654
|
-
parameters: IO,
|
636
|
+
parameters: IO[bytes],
|
655
637
|
*,
|
656
638
|
content_type: str = "application/json",
|
657
639
|
**kwargs: Any
|
@@ -669,18 +651,10 @@ class StorageAccountsOperations:
|
|
669
651
|
lower-case letters only. Required.
|
670
652
|
:type account_name: str
|
671
653
|
:param parameters: The parameters to provide for the created account. Required.
|
672
|
-
:type parameters: IO
|
654
|
+
:type parameters: IO[bytes]
|
673
655
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
674
656
|
Default value is "application/json".
|
675
657
|
:paramtype content_type: str
|
676
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
677
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
678
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
679
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
680
|
-
strategy.
|
681
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
682
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
683
|
-
Retry-After header is present.
|
684
658
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
685
659
|
cls(response)
|
686
660
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2016_12_01.models.StorageAccount]
|
@@ -692,7 +666,7 @@ class StorageAccountsOperations:
|
|
692
666
|
self,
|
693
667
|
resource_group_name: str,
|
694
668
|
account_name: str,
|
695
|
-
parameters: Union[_models.StorageAccountCreateParameters, IO],
|
669
|
+
parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
|
696
670
|
**kwargs: Any
|
697
671
|
) -> LROPoller[_models.StorageAccount]:
|
698
672
|
"""Asynchronously creates a new storage account with the specified parameters. If an account is
|
@@ -708,19 +682,9 @@ class StorageAccountsOperations:
|
|
708
682
|
lower-case letters only. Required.
|
709
683
|
:type account_name: str
|
710
684
|
:param parameters: The parameters to provide for the created account. Is either a
|
711
|
-
StorageAccountCreateParameters type or a IO type. Required.
|
712
|
-
:type parameters: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountCreateParameters or
|
713
|
-
|
714
|
-
Default value is None.
|
715
|
-
:paramtype content_type: str
|
716
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
717
|
-
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
|
718
|
-
:keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
|
719
|
-
operation to not poll, or pass in your own initialized polling object for a personal polling
|
720
|
-
strategy.
|
721
|
-
:paramtype polling: bool or ~azure.core.polling.PollingMethod
|
722
|
-
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
|
723
|
-
Retry-After header is present.
|
685
|
+
StorageAccountCreateParameters type or a IO[bytes] type. Required.
|
686
|
+
:type parameters: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountCreateParameters or
|
687
|
+
IO[bytes]
|
724
688
|
:return: An instance of LROPoller that returns either StorageAccount or the result of
|
725
689
|
cls(response)
|
726
690
|
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2016_12_01.models.StorageAccount]
|
@@ -752,7 +716,7 @@ class StorageAccountsOperations:
|
|
752
716
|
def get_long_running_output(pipeline_response):
|
753
717
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
754
718
|
if cls:
|
755
|
-
return cls(pipeline_response, deserialized, {})
|
719
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
756
720
|
return deserialized
|
757
721
|
|
758
722
|
if polling is True:
|
@@ -762,17 +726,15 @@ class StorageAccountsOperations:
|
|
762
726
|
else:
|
763
727
|
polling_method = polling
|
764
728
|
if cont_token:
|
765
|
-
return LROPoller.from_continuation_token(
|
729
|
+
return LROPoller[_models.StorageAccount].from_continuation_token(
|
766
730
|
polling_method=polling_method,
|
767
731
|
continuation_token=cont_token,
|
768
732
|
client=self._client,
|
769
733
|
deserialization_callback=get_long_running_output,
|
770
734
|
)
|
771
|
-
return LROPoller(
|
772
|
-
|
773
|
-
|
774
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
775
|
-
}
|
735
|
+
return LROPoller[_models.StorageAccount](
|
736
|
+
self._client, raw_result, get_long_running_output, polling_method # type: ignore
|
737
|
+
)
|
776
738
|
|
777
739
|
@distributed_trace
|
778
740
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -787,12 +749,11 @@ class StorageAccountsOperations:
|
|
787
749
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
788
750
|
lower-case letters only. Required.
|
789
751
|
:type account_name: str
|
790
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
791
752
|
:return: None or the result of cls(response)
|
792
753
|
:rtype: None
|
793
754
|
:raises ~azure.core.exceptions.HttpResponseError:
|
794
755
|
"""
|
795
|
-
error_map = {
|
756
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
796
757
|
401: ClientAuthenticationError,
|
797
758
|
404: ResourceNotFoundError,
|
798
759
|
409: ResourceExistsError,
|
@@ -806,21 +767,20 @@ class StorageAccountsOperations:
|
|
806
767
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-12-01"))
|
807
768
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
808
769
|
|
809
|
-
|
770
|
+
_request = build_delete_request(
|
810
771
|
resource_group_name=resource_group_name,
|
811
772
|
account_name=account_name,
|
812
773
|
subscription_id=self._config.subscription_id,
|
813
774
|
api_version=api_version,
|
814
|
-
template_url=self.delete.metadata["url"],
|
815
775
|
headers=_headers,
|
816
776
|
params=_params,
|
817
777
|
)
|
818
|
-
|
819
|
-
|
778
|
+
_request = _convert_request(_request)
|
779
|
+
_request.url = self._client.format_url(_request.url)
|
820
780
|
|
821
781
|
_stream = False
|
822
782
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
823
|
-
|
783
|
+
_request, stream=_stream, **kwargs
|
824
784
|
)
|
825
785
|
|
826
786
|
response = pipeline_response.http_response
|
@@ -830,11 +790,7 @@ class StorageAccountsOperations:
|
|
830
790
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
831
791
|
|
832
792
|
if cls:
|
833
|
-
return cls(pipeline_response, None, {})
|
834
|
-
|
835
|
-
delete.metadata = {
|
836
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
837
|
-
}
|
793
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
838
794
|
|
839
795
|
@distributed_trace
|
840
796
|
def get_properties(self, resource_group_name: str, account_name: str, **kwargs: Any) -> _models.StorageAccount:
|
@@ -849,12 +805,11 @@ class StorageAccountsOperations:
|
|
849
805
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
850
806
|
lower-case letters only. Required.
|
851
807
|
:type account_name: str
|
852
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
853
808
|
:return: StorageAccount or the result of cls(response)
|
854
809
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.StorageAccount
|
855
810
|
:raises ~azure.core.exceptions.HttpResponseError:
|
856
811
|
"""
|
857
|
-
error_map = {
|
812
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
858
813
|
401: ClientAuthenticationError,
|
859
814
|
404: ResourceNotFoundError,
|
860
815
|
409: ResourceExistsError,
|
@@ -868,21 +823,20 @@ class StorageAccountsOperations:
|
|
868
823
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-12-01"))
|
869
824
|
cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
|
870
825
|
|
871
|
-
|
826
|
+
_request = build_get_properties_request(
|
872
827
|
resource_group_name=resource_group_name,
|
873
828
|
account_name=account_name,
|
874
829
|
subscription_id=self._config.subscription_id,
|
875
830
|
api_version=api_version,
|
876
|
-
template_url=self.get_properties.metadata["url"],
|
877
831
|
headers=_headers,
|
878
832
|
params=_params,
|
879
833
|
)
|
880
|
-
|
881
|
-
|
834
|
+
_request = _convert_request(_request)
|
835
|
+
_request.url = self._client.format_url(_request.url)
|
882
836
|
|
883
837
|
_stream = False
|
884
838
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
885
|
-
|
839
|
+
_request, stream=_stream, **kwargs
|
886
840
|
)
|
887
841
|
|
888
842
|
response = pipeline_response.http_response
|
@@ -894,13 +848,9 @@ class StorageAccountsOperations:
|
|
894
848
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
895
849
|
|
896
850
|
if cls:
|
897
|
-
return cls(pipeline_response, deserialized, {})
|
851
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
898
852
|
|
899
|
-
return deserialized
|
900
|
-
|
901
|
-
get_properties.metadata = {
|
902
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
903
|
-
}
|
853
|
+
return deserialized # type: ignore
|
904
854
|
|
905
855
|
@overload
|
906
856
|
def update(
|
@@ -933,7 +883,6 @@ class StorageAccountsOperations:
|
|
933
883
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
934
884
|
Default value is "application/json".
|
935
885
|
:paramtype content_type: str
|
936
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
937
886
|
:return: StorageAccount or the result of cls(response)
|
938
887
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.StorageAccount
|
939
888
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -944,7 +893,7 @@ class StorageAccountsOperations:
|
|
944
893
|
self,
|
945
894
|
resource_group_name: str,
|
946
895
|
account_name: str,
|
947
|
-
parameters: IO,
|
896
|
+
parameters: IO[bytes],
|
948
897
|
*,
|
949
898
|
content_type: str = "application/json",
|
950
899
|
**kwargs: Any
|
@@ -966,11 +915,10 @@ class StorageAccountsOperations:
|
|
966
915
|
lower-case letters only. Required.
|
967
916
|
:type account_name: str
|
968
917
|
:param parameters: The parameters to provide for the updated account. Required.
|
969
|
-
:type parameters: IO
|
918
|
+
:type parameters: IO[bytes]
|
970
919
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
971
920
|
Default value is "application/json".
|
972
921
|
:paramtype content_type: str
|
973
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
974
922
|
:return: StorageAccount or the result of cls(response)
|
975
923
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.StorageAccount
|
976
924
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -981,7 +929,7 @@ class StorageAccountsOperations:
|
|
981
929
|
self,
|
982
930
|
resource_group_name: str,
|
983
931
|
account_name: str,
|
984
|
-
parameters: Union[_models.StorageAccountUpdateParameters, IO],
|
932
|
+
parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
|
985
933
|
**kwargs: Any
|
986
934
|
) -> _models.StorageAccount:
|
987
935
|
"""The update operation can be used to update the SKU, encryption, access tier, or tags for a
|
@@ -1001,17 +949,14 @@ class StorageAccountsOperations:
|
|
1001
949
|
lower-case letters only. Required.
|
1002
950
|
:type account_name: str
|
1003
951
|
:param parameters: The parameters to provide for the updated account. Is either a
|
1004
|
-
StorageAccountUpdateParameters type or a IO type. Required.
|
1005
|
-
:type parameters: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountUpdateParameters or
|
1006
|
-
|
1007
|
-
Default value is None.
|
1008
|
-
:paramtype content_type: str
|
1009
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
952
|
+
StorageAccountUpdateParameters type or a IO[bytes] type. Required.
|
953
|
+
:type parameters: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountUpdateParameters or
|
954
|
+
IO[bytes]
|
1010
955
|
:return: StorageAccount or the result of cls(response)
|
1011
956
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.StorageAccount
|
1012
957
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1013
958
|
"""
|
1014
|
-
error_map = {
|
959
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1015
960
|
401: ClientAuthenticationError,
|
1016
961
|
404: ResourceNotFoundError,
|
1017
962
|
409: ResourceExistsError,
|
@@ -1034,7 +979,7 @@ class StorageAccountsOperations:
|
|
1034
979
|
else:
|
1035
980
|
_json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
|
1036
981
|
|
1037
|
-
|
982
|
+
_request = build_update_request(
|
1038
983
|
resource_group_name=resource_group_name,
|
1039
984
|
account_name=account_name,
|
1040
985
|
subscription_id=self._config.subscription_id,
|
@@ -1042,16 +987,15 @@ class StorageAccountsOperations:
|
|
1042
987
|
content_type=content_type,
|
1043
988
|
json=_json,
|
1044
989
|
content=_content,
|
1045
|
-
template_url=self.update.metadata["url"],
|
1046
990
|
headers=_headers,
|
1047
991
|
params=_params,
|
1048
992
|
)
|
1049
|
-
|
1050
|
-
|
993
|
+
_request = _convert_request(_request)
|
994
|
+
_request.url = self._client.format_url(_request.url)
|
1051
995
|
|
1052
996
|
_stream = False
|
1053
997
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1054
|
-
|
998
|
+
_request, stream=_stream, **kwargs
|
1055
999
|
)
|
1056
1000
|
|
1057
1001
|
response = pipeline_response.http_response
|
@@ -1063,20 +1007,15 @@ class StorageAccountsOperations:
|
|
1063
1007
|
deserialized = self._deserialize("StorageAccount", pipeline_response)
|
1064
1008
|
|
1065
1009
|
if cls:
|
1066
|
-
return cls(pipeline_response, deserialized, {})
|
1067
|
-
|
1068
|
-
return deserialized
|
1010
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1069
1011
|
|
1070
|
-
|
1071
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
|
1072
|
-
}
|
1012
|
+
return deserialized # type: ignore
|
1073
1013
|
|
1074
1014
|
@distributed_trace
|
1075
1015
|
def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1076
1016
|
"""Lists all the storage accounts available under the subscription. Note that storage keys are not
|
1077
1017
|
returned; use the ListKeys operation for this.
|
1078
1018
|
|
1079
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1080
1019
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1081
1020
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2016_12_01.models.StorageAccount]
|
1082
1021
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1087,7 +1026,7 @@ class StorageAccountsOperations:
|
|
1087
1026
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-12-01"))
|
1088
1027
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1089
1028
|
|
1090
|
-
error_map = {
|
1029
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1091
1030
|
401: ClientAuthenticationError,
|
1092
1031
|
404: ResourceNotFoundError,
|
1093
1032
|
409: ResourceExistsError,
|
@@ -1098,15 +1037,14 @@ class StorageAccountsOperations:
|
|
1098
1037
|
def prepare_request(next_link=None):
|
1099
1038
|
if not next_link:
|
1100
1039
|
|
1101
|
-
|
1040
|
+
_request = build_list_request(
|
1102
1041
|
subscription_id=self._config.subscription_id,
|
1103
1042
|
api_version=api_version,
|
1104
|
-
template_url=self.list.metadata["url"],
|
1105
1043
|
headers=_headers,
|
1106
1044
|
params=_params,
|
1107
1045
|
)
|
1108
|
-
|
1109
|
-
|
1046
|
+
_request = _convert_request(_request)
|
1047
|
+
_request.url = self._client.format_url(_request.url)
|
1110
1048
|
|
1111
1049
|
else:
|
1112
1050
|
# make call to next link with the client's api-version
|
@@ -1117,14 +1055,14 @@ class StorageAccountsOperations:
|
|
1117
1055
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1118
1056
|
}
|
1119
1057
|
)
|
1120
|
-
_next_request_params["api-version"] = self.
|
1121
|
-
|
1058
|
+
_next_request_params["api-version"] = self._api_version
|
1059
|
+
_request = HttpRequest(
|
1122
1060
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1123
1061
|
)
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
return
|
1062
|
+
_request = _convert_request(_request)
|
1063
|
+
_request.url = self._client.format_url(_request.url)
|
1064
|
+
_request.method = "GET"
|
1065
|
+
return _request
|
1128
1066
|
|
1129
1067
|
def extract_data(pipeline_response):
|
1130
1068
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1134,11 +1072,11 @@ class StorageAccountsOperations:
|
|
1134
1072
|
return None, iter(list_of_elem)
|
1135
1073
|
|
1136
1074
|
def get_next(next_link=None):
|
1137
|
-
|
1075
|
+
_request = prepare_request(next_link)
|
1138
1076
|
|
1139
1077
|
_stream = False
|
1140
1078
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1141
|
-
|
1079
|
+
_request, stream=_stream, **kwargs
|
1142
1080
|
)
|
1143
1081
|
response = pipeline_response.http_response
|
1144
1082
|
|
@@ -1150,8 +1088,6 @@ class StorageAccountsOperations:
|
|
1150
1088
|
|
1151
1089
|
return ItemPaged(get_next, extract_data)
|
1152
1090
|
|
1153
|
-
list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
|
1154
|
-
|
1155
1091
|
@distributed_trace
|
1156
1092
|
def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
|
1157
1093
|
"""Lists all the storage accounts available under the given resource group. Note that storage keys
|
@@ -1160,7 +1096,6 @@ class StorageAccountsOperations:
|
|
1160
1096
|
:param resource_group_name: The name of the resource group within the user's subscription. The
|
1161
1097
|
name is case insensitive. Required.
|
1162
1098
|
:type resource_group_name: str
|
1163
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1164
1099
|
:return: An iterator like instance of either StorageAccount or the result of cls(response)
|
1165
1100
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2016_12_01.models.StorageAccount]
|
1166
1101
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1171,7 +1106,7 @@ class StorageAccountsOperations:
|
|
1171
1106
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-12-01"))
|
1172
1107
|
cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
|
1173
1108
|
|
1174
|
-
error_map = {
|
1109
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1175
1110
|
401: ClientAuthenticationError,
|
1176
1111
|
404: ResourceNotFoundError,
|
1177
1112
|
409: ResourceExistsError,
|
@@ -1182,16 +1117,15 @@ class StorageAccountsOperations:
|
|
1182
1117
|
def prepare_request(next_link=None):
|
1183
1118
|
if not next_link:
|
1184
1119
|
|
1185
|
-
|
1120
|
+
_request = build_list_by_resource_group_request(
|
1186
1121
|
resource_group_name=resource_group_name,
|
1187
1122
|
subscription_id=self._config.subscription_id,
|
1188
1123
|
api_version=api_version,
|
1189
|
-
template_url=self.list_by_resource_group.metadata["url"],
|
1190
1124
|
headers=_headers,
|
1191
1125
|
params=_params,
|
1192
1126
|
)
|
1193
|
-
|
1194
|
-
|
1127
|
+
_request = _convert_request(_request)
|
1128
|
+
_request.url = self._client.format_url(_request.url)
|
1195
1129
|
|
1196
1130
|
else:
|
1197
1131
|
# make call to next link with the client's api-version
|
@@ -1202,14 +1136,14 @@ class StorageAccountsOperations:
|
|
1202
1136
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
1203
1137
|
}
|
1204
1138
|
)
|
1205
|
-
_next_request_params["api-version"] = self.
|
1206
|
-
|
1139
|
+
_next_request_params["api-version"] = self._api_version
|
1140
|
+
_request = HttpRequest(
|
1207
1141
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
1208
1142
|
)
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
return
|
1143
|
+
_request = _convert_request(_request)
|
1144
|
+
_request.url = self._client.format_url(_request.url)
|
1145
|
+
_request.method = "GET"
|
1146
|
+
return _request
|
1213
1147
|
|
1214
1148
|
def extract_data(pipeline_response):
|
1215
1149
|
deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
|
@@ -1219,11 +1153,11 @@ class StorageAccountsOperations:
|
|
1219
1153
|
return None, iter(list_of_elem)
|
1220
1154
|
|
1221
1155
|
def get_next(next_link=None):
|
1222
|
-
|
1156
|
+
_request = prepare_request(next_link)
|
1223
1157
|
|
1224
1158
|
_stream = False
|
1225
1159
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1226
|
-
|
1160
|
+
_request, stream=_stream, **kwargs
|
1227
1161
|
)
|
1228
1162
|
response = pipeline_response.http_response
|
1229
1163
|
|
@@ -1235,10 +1169,6 @@ class StorageAccountsOperations:
|
|
1235
1169
|
|
1236
1170
|
return ItemPaged(get_next, extract_data)
|
1237
1171
|
|
1238
|
-
list_by_resource_group.metadata = {
|
1239
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
|
1240
|
-
}
|
1241
|
-
|
1242
1172
|
@distributed_trace
|
1243
1173
|
def list_keys(
|
1244
1174
|
self, resource_group_name: str, account_name: str, **kwargs: Any
|
@@ -1252,12 +1182,11 @@ class StorageAccountsOperations:
|
|
1252
1182
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
1253
1183
|
lower-case letters only. Required.
|
1254
1184
|
:type account_name: str
|
1255
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1256
1185
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1257
1186
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountListKeysResult
|
1258
1187
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1259
1188
|
"""
|
1260
|
-
error_map = {
|
1189
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1261
1190
|
401: ClientAuthenticationError,
|
1262
1191
|
404: ResourceNotFoundError,
|
1263
1192
|
409: ResourceExistsError,
|
@@ -1271,21 +1200,20 @@ class StorageAccountsOperations:
|
|
1271
1200
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-12-01"))
|
1272
1201
|
cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
|
1273
1202
|
|
1274
|
-
|
1203
|
+
_request = build_list_keys_request(
|
1275
1204
|
resource_group_name=resource_group_name,
|
1276
1205
|
account_name=account_name,
|
1277
1206
|
subscription_id=self._config.subscription_id,
|
1278
1207
|
api_version=api_version,
|
1279
|
-
template_url=self.list_keys.metadata["url"],
|
1280
1208
|
headers=_headers,
|
1281
1209
|
params=_params,
|
1282
1210
|
)
|
1283
|
-
|
1284
|
-
|
1211
|
+
_request = _convert_request(_request)
|
1212
|
+
_request.url = self._client.format_url(_request.url)
|
1285
1213
|
|
1286
1214
|
_stream = False
|
1287
1215
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1288
|
-
|
1216
|
+
_request, stream=_stream, **kwargs
|
1289
1217
|
)
|
1290
1218
|
|
1291
1219
|
response = pipeline_response.http_response
|
@@ -1297,13 +1225,9 @@ class StorageAccountsOperations:
|
|
1297
1225
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1298
1226
|
|
1299
1227
|
if cls:
|
1300
|
-
return cls(pipeline_response, deserialized, {})
|
1228
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1301
1229
|
|
1302
|
-
return deserialized
|
1303
|
-
|
1304
|
-
list_keys.metadata = {
|
1305
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
|
1306
|
-
}
|
1230
|
+
return deserialized # type: ignore
|
1307
1231
|
|
1308
1232
|
@overload
|
1309
1233
|
def regenerate_key(
|
@@ -1331,7 +1255,6 @@ class StorageAccountsOperations:
|
|
1331
1255
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1332
1256
|
Default value is "application/json".
|
1333
1257
|
:paramtype content_type: str
|
1334
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1335
1258
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1336
1259
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountListKeysResult
|
1337
1260
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1342,7 +1265,7 @@ class StorageAccountsOperations:
|
|
1342
1265
|
self,
|
1343
1266
|
resource_group_name: str,
|
1344
1267
|
account_name: str,
|
1345
|
-
regenerate_key: IO,
|
1268
|
+
regenerate_key: IO[bytes],
|
1346
1269
|
*,
|
1347
1270
|
content_type: str = "application/json",
|
1348
1271
|
**kwargs: Any
|
@@ -1358,11 +1281,10 @@ class StorageAccountsOperations:
|
|
1358
1281
|
:type account_name: str
|
1359
1282
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1360
1283
|
Required.
|
1361
|
-
:type regenerate_key: IO
|
1284
|
+
:type regenerate_key: IO[bytes]
|
1362
1285
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1363
1286
|
Default value is "application/json".
|
1364
1287
|
:paramtype content_type: str
|
1365
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1366
1288
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1367
1289
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountListKeysResult
|
1368
1290
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1373,7 +1295,7 @@ class StorageAccountsOperations:
|
|
1373
1295
|
self,
|
1374
1296
|
resource_group_name: str,
|
1375
1297
|
account_name: str,
|
1376
|
-
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
|
1298
|
+
regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
|
1377
1299
|
**kwargs: Any
|
1378
1300
|
) -> _models.StorageAccountListKeysResult:
|
1379
1301
|
"""Regenerates one of the access keys for the specified storage account.
|
@@ -1386,18 +1308,14 @@ class StorageAccountsOperations:
|
|
1386
1308
|
lower-case letters only. Required.
|
1387
1309
|
:type account_name: str
|
1388
1310
|
:param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
|
1389
|
-
Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
|
1311
|
+
Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
|
1390
1312
|
:type regenerate_key:
|
1391
|
-
~azure.mgmt.storage.v2016_12_01.models.StorageAccountRegenerateKeyParameters or IO
|
1392
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1393
|
-
Default value is None.
|
1394
|
-
:paramtype content_type: str
|
1395
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1313
|
+
~azure.mgmt.storage.v2016_12_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
|
1396
1314
|
:return: StorageAccountListKeysResult or the result of cls(response)
|
1397
1315
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.StorageAccountListKeysResult
|
1398
1316
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1399
1317
|
"""
|
1400
|
-
error_map = {
|
1318
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1401
1319
|
401: ClientAuthenticationError,
|
1402
1320
|
404: ResourceNotFoundError,
|
1403
1321
|
409: ResourceExistsError,
|
@@ -1420,7 +1338,7 @@ class StorageAccountsOperations:
|
|
1420
1338
|
else:
|
1421
1339
|
_json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
|
1422
1340
|
|
1423
|
-
|
1341
|
+
_request = build_regenerate_key_request(
|
1424
1342
|
resource_group_name=resource_group_name,
|
1425
1343
|
account_name=account_name,
|
1426
1344
|
subscription_id=self._config.subscription_id,
|
@@ -1428,16 +1346,15 @@ class StorageAccountsOperations:
|
|
1428
1346
|
content_type=content_type,
|
1429
1347
|
json=_json,
|
1430
1348
|
content=_content,
|
1431
|
-
template_url=self.regenerate_key.metadata["url"],
|
1432
1349
|
headers=_headers,
|
1433
1350
|
params=_params,
|
1434
1351
|
)
|
1435
|
-
|
1436
|
-
|
1352
|
+
_request = _convert_request(_request)
|
1353
|
+
_request.url = self._client.format_url(_request.url)
|
1437
1354
|
|
1438
1355
|
_stream = False
|
1439
1356
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1440
|
-
|
1357
|
+
_request, stream=_stream, **kwargs
|
1441
1358
|
)
|
1442
1359
|
|
1443
1360
|
response = pipeline_response.http_response
|
@@ -1449,13 +1366,9 @@ class StorageAccountsOperations:
|
|
1449
1366
|
deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
|
1450
1367
|
|
1451
1368
|
if cls:
|
1452
|
-
return cls(pipeline_response, deserialized, {})
|
1369
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1453
1370
|
|
1454
|
-
return deserialized
|
1455
|
-
|
1456
|
-
regenerate_key.metadata = {
|
1457
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
|
1458
|
-
}
|
1371
|
+
return deserialized # type: ignore
|
1459
1372
|
|
1460
1373
|
@overload
|
1461
1374
|
def list_account_sas(
|
@@ -1482,7 +1395,6 @@ class StorageAccountsOperations:
|
|
1482
1395
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1483
1396
|
Default value is "application/json".
|
1484
1397
|
:paramtype content_type: str
|
1485
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1486
1398
|
:return: ListAccountSasResponse or the result of cls(response)
|
1487
1399
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.ListAccountSasResponse
|
1488
1400
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1493,7 +1405,7 @@ class StorageAccountsOperations:
|
|
1493
1405
|
self,
|
1494
1406
|
resource_group_name: str,
|
1495
1407
|
account_name: str,
|
1496
|
-
parameters: IO,
|
1408
|
+
parameters: IO[bytes],
|
1497
1409
|
*,
|
1498
1410
|
content_type: str = "application/json",
|
1499
1411
|
**kwargs: Any
|
@@ -1509,11 +1421,10 @@ class StorageAccountsOperations:
|
|
1509
1421
|
:type account_name: str
|
1510
1422
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1511
1423
|
Required.
|
1512
|
-
:type parameters: IO
|
1424
|
+
:type parameters: IO[bytes]
|
1513
1425
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1514
1426
|
Default value is "application/json".
|
1515
1427
|
:paramtype content_type: str
|
1516
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1517
1428
|
:return: ListAccountSasResponse or the result of cls(response)
|
1518
1429
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.ListAccountSasResponse
|
1519
1430
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1524,7 +1435,7 @@ class StorageAccountsOperations:
|
|
1524
1435
|
self,
|
1525
1436
|
resource_group_name: str,
|
1526
1437
|
account_name: str,
|
1527
|
-
parameters: Union[_models.AccountSasParameters, IO],
|
1438
|
+
parameters: Union[_models.AccountSasParameters, IO[bytes]],
|
1528
1439
|
**kwargs: Any
|
1529
1440
|
) -> _models.ListAccountSasResponse:
|
1530
1441
|
"""List SAS credentials of a storage account.
|
@@ -1537,17 +1448,13 @@ class StorageAccountsOperations:
|
|
1537
1448
|
lower-case letters only. Required.
|
1538
1449
|
:type account_name: str
|
1539
1450
|
:param parameters: The parameters to provide to list SAS credentials for the storage account.
|
1540
|
-
Is either a AccountSasParameters type or a IO type. Required.
|
1541
|
-
:type parameters: ~azure.mgmt.storage.v2016_12_01.models.AccountSasParameters or IO
|
1542
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1543
|
-
Default value is None.
|
1544
|
-
:paramtype content_type: str
|
1545
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1451
|
+
Is either a AccountSasParameters type or a IO[bytes] type. Required.
|
1452
|
+
:type parameters: ~azure.mgmt.storage.v2016_12_01.models.AccountSasParameters or IO[bytes]
|
1546
1453
|
:return: ListAccountSasResponse or the result of cls(response)
|
1547
1454
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.ListAccountSasResponse
|
1548
1455
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1549
1456
|
"""
|
1550
|
-
error_map = {
|
1457
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1551
1458
|
401: ClientAuthenticationError,
|
1552
1459
|
404: ResourceNotFoundError,
|
1553
1460
|
409: ResourceExistsError,
|
@@ -1570,7 +1477,7 @@ class StorageAccountsOperations:
|
|
1570
1477
|
else:
|
1571
1478
|
_json = self._serialize.body(parameters, "AccountSasParameters")
|
1572
1479
|
|
1573
|
-
|
1480
|
+
_request = build_list_account_sas_request(
|
1574
1481
|
resource_group_name=resource_group_name,
|
1575
1482
|
account_name=account_name,
|
1576
1483
|
subscription_id=self._config.subscription_id,
|
@@ -1578,16 +1485,15 @@ class StorageAccountsOperations:
|
|
1578
1485
|
content_type=content_type,
|
1579
1486
|
json=_json,
|
1580
1487
|
content=_content,
|
1581
|
-
template_url=self.list_account_sas.metadata["url"],
|
1582
1488
|
headers=_headers,
|
1583
1489
|
params=_params,
|
1584
1490
|
)
|
1585
|
-
|
1586
|
-
|
1491
|
+
_request = _convert_request(_request)
|
1492
|
+
_request.url = self._client.format_url(_request.url)
|
1587
1493
|
|
1588
1494
|
_stream = False
|
1589
1495
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1590
|
-
|
1496
|
+
_request, stream=_stream, **kwargs
|
1591
1497
|
)
|
1592
1498
|
|
1593
1499
|
response = pipeline_response.http_response
|
@@ -1599,13 +1505,9 @@ class StorageAccountsOperations:
|
|
1599
1505
|
deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
|
1600
1506
|
|
1601
1507
|
if cls:
|
1602
|
-
return cls(pipeline_response, deserialized, {})
|
1508
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1603
1509
|
|
1604
|
-
return deserialized
|
1605
|
-
|
1606
|
-
list_account_sas.metadata = {
|
1607
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
|
1608
|
-
}
|
1510
|
+
return deserialized # type: ignore
|
1609
1511
|
|
1610
1512
|
@overload
|
1611
1513
|
def list_service_sas(
|
@@ -1631,7 +1533,6 @@ class StorageAccountsOperations:
|
|
1631
1533
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1632
1534
|
Default value is "application/json".
|
1633
1535
|
:paramtype content_type: str
|
1634
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1635
1536
|
:return: ListServiceSasResponse or the result of cls(response)
|
1636
1537
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.ListServiceSasResponse
|
1637
1538
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1642,7 +1543,7 @@ class StorageAccountsOperations:
|
|
1642
1543
|
self,
|
1643
1544
|
resource_group_name: str,
|
1644
1545
|
account_name: str,
|
1645
|
-
parameters: IO,
|
1546
|
+
parameters: IO[bytes],
|
1646
1547
|
*,
|
1647
1548
|
content_type: str = "application/json",
|
1648
1549
|
**kwargs: Any
|
@@ -1657,11 +1558,10 @@ class StorageAccountsOperations:
|
|
1657
1558
|
lower-case letters only. Required.
|
1658
1559
|
:type account_name: str
|
1659
1560
|
:param parameters: The parameters to provide to list service SAS credentials. Required.
|
1660
|
-
:type parameters: IO
|
1561
|
+
:type parameters: IO[bytes]
|
1661
1562
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1662
1563
|
Default value is "application/json".
|
1663
1564
|
:paramtype content_type: str
|
1664
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1665
1565
|
:return: ListServiceSasResponse or the result of cls(response)
|
1666
1566
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.ListServiceSasResponse
|
1667
1567
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1672,7 +1572,7 @@ class StorageAccountsOperations:
|
|
1672
1572
|
self,
|
1673
1573
|
resource_group_name: str,
|
1674
1574
|
account_name: str,
|
1675
|
-
parameters: Union[_models.ServiceSasParameters, IO],
|
1575
|
+
parameters: Union[_models.ServiceSasParameters, IO[bytes]],
|
1676
1576
|
**kwargs: Any
|
1677
1577
|
) -> _models.ListServiceSasResponse:
|
1678
1578
|
"""List service SAS credentials of a specific resource.
|
@@ -1685,17 +1585,13 @@ class StorageAccountsOperations:
|
|
1685
1585
|
lower-case letters only. Required.
|
1686
1586
|
:type account_name: str
|
1687
1587
|
:param parameters: The parameters to provide to list service SAS credentials. Is either a
|
1688
|
-
ServiceSasParameters type or a IO type. Required.
|
1689
|
-
:type parameters: ~azure.mgmt.storage.v2016_12_01.models.ServiceSasParameters or IO
|
1690
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1691
|
-
Default value is None.
|
1692
|
-
:paramtype content_type: str
|
1693
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1588
|
+
ServiceSasParameters type or a IO[bytes] type. Required.
|
1589
|
+
:type parameters: ~azure.mgmt.storage.v2016_12_01.models.ServiceSasParameters or IO[bytes]
|
1694
1590
|
:return: ListServiceSasResponse or the result of cls(response)
|
1695
1591
|
:rtype: ~azure.mgmt.storage.v2016_12_01.models.ListServiceSasResponse
|
1696
1592
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1697
1593
|
"""
|
1698
|
-
error_map = {
|
1594
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1699
1595
|
401: ClientAuthenticationError,
|
1700
1596
|
404: ResourceNotFoundError,
|
1701
1597
|
409: ResourceExistsError,
|
@@ -1718,7 +1614,7 @@ class StorageAccountsOperations:
|
|
1718
1614
|
else:
|
1719
1615
|
_json = self._serialize.body(parameters, "ServiceSasParameters")
|
1720
1616
|
|
1721
|
-
|
1617
|
+
_request = build_list_service_sas_request(
|
1722
1618
|
resource_group_name=resource_group_name,
|
1723
1619
|
account_name=account_name,
|
1724
1620
|
subscription_id=self._config.subscription_id,
|
@@ -1726,16 +1622,15 @@ class StorageAccountsOperations:
|
|
1726
1622
|
content_type=content_type,
|
1727
1623
|
json=_json,
|
1728
1624
|
content=_content,
|
1729
|
-
template_url=self.list_service_sas.metadata["url"],
|
1730
1625
|
headers=_headers,
|
1731
1626
|
params=_params,
|
1732
1627
|
)
|
1733
|
-
|
1734
|
-
|
1628
|
+
_request = _convert_request(_request)
|
1629
|
+
_request.url = self._client.format_url(_request.url)
|
1735
1630
|
|
1736
1631
|
_stream = False
|
1737
1632
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1738
|
-
|
1633
|
+
_request, stream=_stream, **kwargs
|
1739
1634
|
)
|
1740
1635
|
|
1741
1636
|
response = pipeline_response.http_response
|
@@ -1747,10 +1642,6 @@ class StorageAccountsOperations:
|
|
1747
1642
|
deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
|
1748
1643
|
|
1749
1644
|
if cls:
|
1750
|
-
return cls(pipeline_response, deserialized, {})
|
1751
|
-
|
1752
|
-
return deserialized
|
1645
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1753
1646
|
|
1754
|
-
|
1755
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
|
1756
|
-
}
|
1647
|
+
return deserialized # type: ignore
|