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, overload
|
11
12
|
import urllib.parse
|
12
13
|
|
13
14
|
from azure.core.exceptions import (
|
@@ -30,6 +31,10 @@ from .. import models as _models
|
|
30
31
|
from ..._serialization import Serializer
|
31
32
|
from .._vendor import _convert_request
|
32
33
|
|
34
|
+
if sys.version_info >= (3, 9):
|
35
|
+
from collections.abc import MutableMapping
|
36
|
+
else:
|
37
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
33
38
|
T = TypeVar("T")
|
34
39
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
35
40
|
|
@@ -293,7 +298,7 @@ def build_clear_legal_hold_request(
|
|
293
298
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
294
299
|
|
295
300
|
|
296
|
-
def build_create_or_update_immutability_policy_request(
|
301
|
+
def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
|
297
302
|
resource_group_name: str,
|
298
303
|
account_name: str,
|
299
304
|
container_name: str,
|
@@ -597,7 +602,6 @@ class BlobContainersOperations:
|
|
597
602
|
:param filter: Optional. When specified, only container names starting with the filter will be
|
598
603
|
listed. Default value is None.
|
599
604
|
:type filter: str
|
600
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
601
605
|
:return: An iterator like instance of either ListContainerItem or the result of cls(response)
|
602
606
|
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_04_01.models.ListContainerItem]
|
603
607
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -608,7 +612,7 @@ class BlobContainersOperations:
|
|
608
612
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
609
613
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
610
614
|
|
611
|
-
error_map = {
|
615
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
612
616
|
401: ClientAuthenticationError,
|
613
617
|
404: ResourceNotFoundError,
|
614
618
|
409: ResourceExistsError,
|
@@ -619,7 +623,7 @@ class BlobContainersOperations:
|
|
619
623
|
def prepare_request(next_link=None):
|
620
624
|
if not next_link:
|
621
625
|
|
622
|
-
|
626
|
+
_request = build_list_request(
|
623
627
|
resource_group_name=resource_group_name,
|
624
628
|
account_name=account_name,
|
625
629
|
subscription_id=self._config.subscription_id,
|
@@ -627,12 +631,11 @@ class BlobContainersOperations:
|
|
627
631
|
maxpagesize=maxpagesize,
|
628
632
|
filter=filter,
|
629
633
|
api_version=api_version,
|
630
|
-
template_url=self.list.metadata["url"],
|
631
634
|
headers=_headers,
|
632
635
|
params=_params,
|
633
636
|
)
|
634
|
-
|
635
|
-
|
637
|
+
_request = _convert_request(_request)
|
638
|
+
_request.url = self._client.format_url(_request.url)
|
636
639
|
|
637
640
|
else:
|
638
641
|
# make call to next link with the client's api-version
|
@@ -643,14 +646,14 @@ class BlobContainersOperations:
|
|
643
646
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
644
647
|
}
|
645
648
|
)
|
646
|
-
_next_request_params["api-version"] = self.
|
647
|
-
|
649
|
+
_next_request_params["api-version"] = self._api_version
|
650
|
+
_request = HttpRequest(
|
648
651
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
649
652
|
)
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
return
|
653
|
+
_request = _convert_request(_request)
|
654
|
+
_request.url = self._client.format_url(_request.url)
|
655
|
+
_request.method = "GET"
|
656
|
+
return _request
|
654
657
|
|
655
658
|
def extract_data(pipeline_response):
|
656
659
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -660,11 +663,11 @@ class BlobContainersOperations:
|
|
660
663
|
return deserialized.next_link or None, iter(list_of_elem)
|
661
664
|
|
662
665
|
def get_next(next_link=None):
|
663
|
-
|
666
|
+
_request = prepare_request(next_link)
|
664
667
|
|
665
668
|
_stream = False
|
666
669
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
667
|
-
|
670
|
+
_request, stream=_stream, **kwargs
|
668
671
|
)
|
669
672
|
response = pipeline_response.http_response
|
670
673
|
|
@@ -676,10 +679,6 @@ class BlobContainersOperations:
|
|
676
679
|
|
677
680
|
return ItemPaged(get_next, extract_data)
|
678
681
|
|
679
|
-
list.metadata = {
|
680
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
681
|
-
}
|
682
|
-
|
683
682
|
@overload
|
684
683
|
def create(
|
685
684
|
self,
|
@@ -712,7 +711,6 @@ class BlobContainersOperations:
|
|
712
711
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
713
712
|
Default value is "application/json".
|
714
713
|
:paramtype content_type: str
|
715
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
716
714
|
:return: BlobContainer or the result of cls(response)
|
717
715
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
718
716
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -724,7 +722,7 @@ class BlobContainersOperations:
|
|
724
722
|
resource_group_name: str,
|
725
723
|
account_name: str,
|
726
724
|
container_name: str,
|
727
|
-
blob_container: IO,
|
725
|
+
blob_container: IO[bytes],
|
728
726
|
*,
|
729
727
|
content_type: str = "application/json",
|
730
728
|
**kwargs: Any
|
@@ -746,11 +744,10 @@ class BlobContainersOperations:
|
|
746
744
|
by a letter or number. Required.
|
747
745
|
:type container_name: str
|
748
746
|
:param blob_container: Properties of the blob container to create. Required.
|
749
|
-
:type blob_container: IO
|
747
|
+
:type blob_container: IO[bytes]
|
750
748
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
751
749
|
Default value is "application/json".
|
752
750
|
:paramtype content_type: str
|
753
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
754
751
|
:return: BlobContainer or the result of cls(response)
|
755
752
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
756
753
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -762,7 +759,7 @@ class BlobContainersOperations:
|
|
762
759
|
resource_group_name: str,
|
763
760
|
account_name: str,
|
764
761
|
container_name: str,
|
765
|
-
blob_container: Union[_models.BlobContainer, IO],
|
762
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
766
763
|
**kwargs: Any
|
767
764
|
) -> _models.BlobContainer:
|
768
765
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -782,17 +779,13 @@ class BlobContainersOperations:
|
|
782
779
|
by a letter or number. Required.
|
783
780
|
:type container_name: str
|
784
781
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
785
|
-
type or a IO type. Required.
|
786
|
-
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
|
787
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
788
|
-
Default value is None.
|
789
|
-
:paramtype content_type: str
|
790
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
782
|
+
type or a IO[bytes] type. Required.
|
783
|
+
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
|
791
784
|
:return: BlobContainer or the result of cls(response)
|
792
785
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
793
786
|
:raises ~azure.core.exceptions.HttpResponseError:
|
794
787
|
"""
|
795
|
-
error_map = {
|
788
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
796
789
|
401: ClientAuthenticationError,
|
797
790
|
404: ResourceNotFoundError,
|
798
791
|
409: ResourceExistsError,
|
@@ -815,7 +808,7 @@ class BlobContainersOperations:
|
|
815
808
|
else:
|
816
809
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
817
810
|
|
818
|
-
|
811
|
+
_request = build_create_request(
|
819
812
|
resource_group_name=resource_group_name,
|
820
813
|
account_name=account_name,
|
821
814
|
container_name=container_name,
|
@@ -824,16 +817,15 @@ class BlobContainersOperations:
|
|
824
817
|
content_type=content_type,
|
825
818
|
json=_json,
|
826
819
|
content=_content,
|
827
|
-
template_url=self.create.metadata["url"],
|
828
820
|
headers=_headers,
|
829
821
|
params=_params,
|
830
822
|
)
|
831
|
-
|
832
|
-
|
823
|
+
_request = _convert_request(_request)
|
824
|
+
_request.url = self._client.format_url(_request.url)
|
833
825
|
|
834
826
|
_stream = False
|
835
827
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
836
|
-
|
828
|
+
_request, stream=_stream, **kwargs
|
837
829
|
)
|
838
830
|
|
839
831
|
response = pipeline_response.http_response
|
@@ -853,10 +845,6 @@ class BlobContainersOperations:
|
|
853
845
|
|
854
846
|
return deserialized # type: ignore
|
855
847
|
|
856
|
-
create.metadata = {
|
857
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
858
|
-
}
|
859
|
-
|
860
848
|
@overload
|
861
849
|
def update(
|
862
850
|
self,
|
@@ -888,7 +876,6 @@ class BlobContainersOperations:
|
|
888
876
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
889
877
|
Default value is "application/json".
|
890
878
|
:paramtype content_type: str
|
891
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
892
879
|
:return: BlobContainer or the result of cls(response)
|
893
880
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
894
881
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -900,7 +887,7 @@ class BlobContainersOperations:
|
|
900
887
|
resource_group_name: str,
|
901
888
|
account_name: str,
|
902
889
|
container_name: str,
|
903
|
-
blob_container: IO,
|
890
|
+
blob_container: IO[bytes],
|
904
891
|
*,
|
905
892
|
content_type: str = "application/json",
|
906
893
|
**kwargs: Any
|
@@ -921,11 +908,10 @@ class BlobContainersOperations:
|
|
921
908
|
by a letter or number. Required.
|
922
909
|
:type container_name: str
|
923
910
|
:param blob_container: Properties to update for the blob container. Required.
|
924
|
-
:type blob_container: IO
|
911
|
+
:type blob_container: IO[bytes]
|
925
912
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
926
913
|
Default value is "application/json".
|
927
914
|
:paramtype content_type: str
|
928
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
929
915
|
:return: BlobContainer or the result of cls(response)
|
930
916
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
931
917
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -937,7 +923,7 @@ class BlobContainersOperations:
|
|
937
923
|
resource_group_name: str,
|
938
924
|
account_name: str,
|
939
925
|
container_name: str,
|
940
|
-
blob_container: Union[_models.BlobContainer, IO],
|
926
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
941
927
|
**kwargs: Any
|
942
928
|
) -> _models.BlobContainer:
|
943
929
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -956,17 +942,13 @@ class BlobContainersOperations:
|
|
956
942
|
by a letter or number. Required.
|
957
943
|
:type container_name: str
|
958
944
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
959
|
-
type or a IO type. Required.
|
960
|
-
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
|
961
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
962
|
-
Default value is None.
|
963
|
-
:paramtype content_type: str
|
964
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
945
|
+
type or a IO[bytes] type. Required.
|
946
|
+
:type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
|
965
947
|
:return: BlobContainer or the result of cls(response)
|
966
948
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
967
949
|
:raises ~azure.core.exceptions.HttpResponseError:
|
968
950
|
"""
|
969
|
-
error_map = {
|
951
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
970
952
|
401: ClientAuthenticationError,
|
971
953
|
404: ResourceNotFoundError,
|
972
954
|
409: ResourceExistsError,
|
@@ -989,7 +971,7 @@ class BlobContainersOperations:
|
|
989
971
|
else:
|
990
972
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
991
973
|
|
992
|
-
|
974
|
+
_request = build_update_request(
|
993
975
|
resource_group_name=resource_group_name,
|
994
976
|
account_name=account_name,
|
995
977
|
container_name=container_name,
|
@@ -998,16 +980,15 @@ class BlobContainersOperations:
|
|
998
980
|
content_type=content_type,
|
999
981
|
json=_json,
|
1000
982
|
content=_content,
|
1001
|
-
template_url=self.update.metadata["url"],
|
1002
983
|
headers=_headers,
|
1003
984
|
params=_params,
|
1004
985
|
)
|
1005
|
-
|
1006
|
-
|
986
|
+
_request = _convert_request(_request)
|
987
|
+
_request.url = self._client.format_url(_request.url)
|
1007
988
|
|
1008
989
|
_stream = False
|
1009
990
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1010
|
-
|
991
|
+
_request, stream=_stream, **kwargs
|
1011
992
|
)
|
1012
993
|
|
1013
994
|
response = pipeline_response.http_response
|
@@ -1019,13 +1000,9 @@ class BlobContainersOperations:
|
|
1019
1000
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1020
1001
|
|
1021
1002
|
if cls:
|
1022
|
-
return cls(pipeline_response, deserialized, {})
|
1023
|
-
|
1024
|
-
return deserialized
|
1003
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1025
1004
|
|
1026
|
-
|
1027
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1028
|
-
}
|
1005
|
+
return deserialized # type: ignore
|
1029
1006
|
|
1030
1007
|
@distributed_trace
|
1031
1008
|
def get(
|
@@ -1045,12 +1022,11 @@ class BlobContainersOperations:
|
|
1045
1022
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1046
1023
|
by a letter or number. Required.
|
1047
1024
|
:type container_name: str
|
1048
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1049
1025
|
:return: BlobContainer or the result of cls(response)
|
1050
1026
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
|
1051
1027
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1052
1028
|
"""
|
1053
|
-
error_map = {
|
1029
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1054
1030
|
401: ClientAuthenticationError,
|
1055
1031
|
404: ResourceNotFoundError,
|
1056
1032
|
409: ResourceExistsError,
|
@@ -1064,22 +1040,21 @@ class BlobContainersOperations:
|
|
1064
1040
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1065
1041
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
1066
1042
|
|
1067
|
-
|
1043
|
+
_request = build_get_request(
|
1068
1044
|
resource_group_name=resource_group_name,
|
1069
1045
|
account_name=account_name,
|
1070
1046
|
container_name=container_name,
|
1071
1047
|
subscription_id=self._config.subscription_id,
|
1072
1048
|
api_version=api_version,
|
1073
|
-
template_url=self.get.metadata["url"],
|
1074
1049
|
headers=_headers,
|
1075
1050
|
params=_params,
|
1076
1051
|
)
|
1077
|
-
|
1078
|
-
|
1052
|
+
_request = _convert_request(_request)
|
1053
|
+
_request.url = self._client.format_url(_request.url)
|
1079
1054
|
|
1080
1055
|
_stream = False
|
1081
1056
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1082
|
-
|
1057
|
+
_request, stream=_stream, **kwargs
|
1083
1058
|
)
|
1084
1059
|
|
1085
1060
|
response = pipeline_response.http_response
|
@@ -1091,13 +1066,9 @@ class BlobContainersOperations:
|
|
1091
1066
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1092
1067
|
|
1093
1068
|
if cls:
|
1094
|
-
return cls(pipeline_response, deserialized, {})
|
1095
|
-
|
1096
|
-
return deserialized
|
1069
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1097
1070
|
|
1098
|
-
|
1099
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1100
|
-
}
|
1071
|
+
return deserialized # type: ignore
|
1101
1072
|
|
1102
1073
|
@distributed_trace
|
1103
1074
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -1117,12 +1088,11 @@ class BlobContainersOperations:
|
|
1117
1088
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1118
1089
|
by a letter or number. Required.
|
1119
1090
|
:type container_name: str
|
1120
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1121
1091
|
:return: None or the result of cls(response)
|
1122
1092
|
:rtype: None
|
1123
1093
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1124
1094
|
"""
|
1125
|
-
error_map = {
|
1095
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1126
1096
|
401: ClientAuthenticationError,
|
1127
1097
|
404: ResourceNotFoundError,
|
1128
1098
|
409: ResourceExistsError,
|
@@ -1136,22 +1106,21 @@ class BlobContainersOperations:
|
|
1136
1106
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1137
1107
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1138
1108
|
|
1139
|
-
|
1109
|
+
_request = build_delete_request(
|
1140
1110
|
resource_group_name=resource_group_name,
|
1141
1111
|
account_name=account_name,
|
1142
1112
|
container_name=container_name,
|
1143
1113
|
subscription_id=self._config.subscription_id,
|
1144
1114
|
api_version=api_version,
|
1145
|
-
template_url=self.delete.metadata["url"],
|
1146
1115
|
headers=_headers,
|
1147
1116
|
params=_params,
|
1148
1117
|
)
|
1149
|
-
|
1150
|
-
|
1118
|
+
_request = _convert_request(_request)
|
1119
|
+
_request.url = self._client.format_url(_request.url)
|
1151
1120
|
|
1152
1121
|
_stream = False
|
1153
1122
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1154
|
-
|
1123
|
+
_request, stream=_stream, **kwargs
|
1155
1124
|
)
|
1156
1125
|
|
1157
1126
|
response = pipeline_response.http_response
|
@@ -1161,11 +1130,7 @@ class BlobContainersOperations:
|
|
1161
1130
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1162
1131
|
|
1163
1132
|
if cls:
|
1164
|
-
return cls(pipeline_response, None, {})
|
1165
|
-
|
1166
|
-
delete.metadata = {
|
1167
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1168
|
-
}
|
1133
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1169
1134
|
|
1170
1135
|
@overload
|
1171
1136
|
def set_legal_hold(
|
@@ -1199,7 +1164,6 @@ class BlobContainersOperations:
|
|
1199
1164
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1200
1165
|
Default value is "application/json".
|
1201
1166
|
:paramtype content_type: str
|
1202
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1203
1167
|
:return: LegalHold or the result of cls(response)
|
1204
1168
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1205
1169
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1211,7 +1175,7 @@ class BlobContainersOperations:
|
|
1211
1175
|
resource_group_name: str,
|
1212
1176
|
account_name: str,
|
1213
1177
|
container_name: str,
|
1214
|
-
legal_hold: IO,
|
1178
|
+
legal_hold: IO[bytes],
|
1215
1179
|
*,
|
1216
1180
|
content_type: str = "application/json",
|
1217
1181
|
**kwargs: Any
|
@@ -1233,11 +1197,10 @@ class BlobContainersOperations:
|
|
1233
1197
|
by a letter or number. Required.
|
1234
1198
|
:type container_name: str
|
1235
1199
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
1236
|
-
:type legal_hold: IO
|
1200
|
+
:type legal_hold: IO[bytes]
|
1237
1201
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1238
1202
|
Default value is "application/json".
|
1239
1203
|
:paramtype content_type: str
|
1240
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1241
1204
|
:return: LegalHold or the result of cls(response)
|
1242
1205
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1243
1206
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1249,7 +1212,7 @@ class BlobContainersOperations:
|
|
1249
1212
|
resource_group_name: str,
|
1250
1213
|
account_name: str,
|
1251
1214
|
container_name: str,
|
1252
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1215
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1253
1216
|
**kwargs: Any
|
1254
1217
|
) -> _models.LegalHold:
|
1255
1218
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -1269,17 +1232,13 @@ class BlobContainersOperations:
|
|
1269
1232
|
by a letter or number. Required.
|
1270
1233
|
:type container_name: str
|
1271
1234
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
1272
|
-
LegalHold type or a IO type. Required.
|
1273
|
-
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
|
1274
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1275
|
-
Default value is None.
|
1276
|
-
:paramtype content_type: str
|
1277
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1235
|
+
LegalHold type or a IO[bytes] type. Required.
|
1236
|
+
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
|
1278
1237
|
:return: LegalHold or the result of cls(response)
|
1279
1238
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1280
1239
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1281
1240
|
"""
|
1282
|
-
error_map = {
|
1241
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1283
1242
|
401: ClientAuthenticationError,
|
1284
1243
|
404: ResourceNotFoundError,
|
1285
1244
|
409: ResourceExistsError,
|
@@ -1302,7 +1261,7 @@ class BlobContainersOperations:
|
|
1302
1261
|
else:
|
1303
1262
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1304
1263
|
|
1305
|
-
|
1264
|
+
_request = build_set_legal_hold_request(
|
1306
1265
|
resource_group_name=resource_group_name,
|
1307
1266
|
account_name=account_name,
|
1308
1267
|
container_name=container_name,
|
@@ -1311,16 +1270,15 @@ class BlobContainersOperations:
|
|
1311
1270
|
content_type=content_type,
|
1312
1271
|
json=_json,
|
1313
1272
|
content=_content,
|
1314
|
-
template_url=self.set_legal_hold.metadata["url"],
|
1315
1273
|
headers=_headers,
|
1316
1274
|
params=_params,
|
1317
1275
|
)
|
1318
|
-
|
1319
|
-
|
1276
|
+
_request = _convert_request(_request)
|
1277
|
+
_request.url = self._client.format_url(_request.url)
|
1320
1278
|
|
1321
1279
|
_stream = False
|
1322
1280
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1323
|
-
|
1281
|
+
_request, stream=_stream, **kwargs
|
1324
1282
|
)
|
1325
1283
|
|
1326
1284
|
response = pipeline_response.http_response
|
@@ -1332,13 +1290,9 @@ class BlobContainersOperations:
|
|
1332
1290
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1333
1291
|
|
1334
1292
|
if cls:
|
1335
|
-
return cls(pipeline_response, deserialized, {})
|
1336
|
-
|
1337
|
-
return deserialized
|
1293
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1338
1294
|
|
1339
|
-
|
1340
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
1341
|
-
}
|
1295
|
+
return deserialized # type: ignore
|
1342
1296
|
|
1343
1297
|
@overload
|
1344
1298
|
def clear_legal_hold(
|
@@ -1371,7 +1325,6 @@ class BlobContainersOperations:
|
|
1371
1325
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1372
1326
|
Default value is "application/json".
|
1373
1327
|
:paramtype content_type: str
|
1374
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1375
1328
|
:return: LegalHold or the result of cls(response)
|
1376
1329
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1377
1330
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1383,7 +1336,7 @@ class BlobContainersOperations:
|
|
1383
1336
|
resource_group_name: str,
|
1384
1337
|
account_name: str,
|
1385
1338
|
container_name: str,
|
1386
|
-
legal_hold: IO,
|
1339
|
+
legal_hold: IO[bytes],
|
1387
1340
|
*,
|
1388
1341
|
content_type: str = "application/json",
|
1389
1342
|
**kwargs: Any
|
@@ -1404,11 +1357,10 @@ class BlobContainersOperations:
|
|
1404
1357
|
by a letter or number. Required.
|
1405
1358
|
:type container_name: str
|
1406
1359
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
1407
|
-
:type legal_hold: IO
|
1360
|
+
:type legal_hold: IO[bytes]
|
1408
1361
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1409
1362
|
Default value is "application/json".
|
1410
1363
|
:paramtype content_type: str
|
1411
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1412
1364
|
:return: LegalHold or the result of cls(response)
|
1413
1365
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1414
1366
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1420,7 +1372,7 @@ class BlobContainersOperations:
|
|
1420
1372
|
resource_group_name: str,
|
1421
1373
|
account_name: str,
|
1422
1374
|
container_name: str,
|
1423
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1375
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1424
1376
|
**kwargs: Any
|
1425
1377
|
) -> _models.LegalHold:
|
1426
1378
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -1439,17 +1391,13 @@ class BlobContainersOperations:
|
|
1439
1391
|
by a letter or number. Required.
|
1440
1392
|
:type container_name: str
|
1441
1393
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
1442
|
-
LegalHold type or a IO type. Required.
|
1443
|
-
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
|
1444
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1445
|
-
Default value is None.
|
1446
|
-
:paramtype content_type: str
|
1447
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1394
|
+
LegalHold type or a IO[bytes] type. Required.
|
1395
|
+
:type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
|
1448
1396
|
:return: LegalHold or the result of cls(response)
|
1449
1397
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
|
1450
1398
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1451
1399
|
"""
|
1452
|
-
error_map = {
|
1400
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1453
1401
|
401: ClientAuthenticationError,
|
1454
1402
|
404: ResourceNotFoundError,
|
1455
1403
|
409: ResourceExistsError,
|
@@ -1472,7 +1420,7 @@ class BlobContainersOperations:
|
|
1472
1420
|
else:
|
1473
1421
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1474
1422
|
|
1475
|
-
|
1423
|
+
_request = build_clear_legal_hold_request(
|
1476
1424
|
resource_group_name=resource_group_name,
|
1477
1425
|
account_name=account_name,
|
1478
1426
|
container_name=container_name,
|
@@ -1481,16 +1429,15 @@ class BlobContainersOperations:
|
|
1481
1429
|
content_type=content_type,
|
1482
1430
|
json=_json,
|
1483
1431
|
content=_content,
|
1484
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1485
1432
|
headers=_headers,
|
1486
1433
|
params=_params,
|
1487
1434
|
)
|
1488
|
-
|
1489
|
-
|
1435
|
+
_request = _convert_request(_request)
|
1436
|
+
_request.url = self._client.format_url(_request.url)
|
1490
1437
|
|
1491
1438
|
_stream = False
|
1492
1439
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1493
|
-
|
1440
|
+
_request, stream=_stream, **kwargs
|
1494
1441
|
)
|
1495
1442
|
|
1496
1443
|
response = pipeline_response.http_response
|
@@ -1502,13 +1449,9 @@ class BlobContainersOperations:
|
|
1502
1449
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1503
1450
|
|
1504
1451
|
if cls:
|
1505
|
-
return cls(pipeline_response, deserialized, {})
|
1506
|
-
|
1507
|
-
return deserialized
|
1452
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1508
1453
|
|
1509
|
-
|
1510
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1511
|
-
}
|
1454
|
+
return deserialized # type: ignore
|
1512
1455
|
|
1513
1456
|
@overload
|
1514
1457
|
def create_or_update_immutability_policy(
|
@@ -1551,7 +1494,6 @@ class BlobContainersOperations:
|
|
1551
1494
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1552
1495
|
Default value is "application/json".
|
1553
1496
|
:paramtype content_type: str
|
1554
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1555
1497
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1556
1498
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1557
1499
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1565,7 +1507,7 @@ class BlobContainersOperations:
|
|
1565
1507
|
container_name: str,
|
1566
1508
|
immutability_policy_name: Union[str, _models.Enum16],
|
1567
1509
|
if_match: Optional[str] = None,
|
1568
|
-
parameters: Optional[IO] = None,
|
1510
|
+
parameters: Optional[IO[bytes]] = None,
|
1569
1511
|
*,
|
1570
1512
|
content_type: str = "application/json",
|
1571
1513
|
**kwargs: Any
|
@@ -1594,11 +1536,10 @@ class BlobContainersOperations:
|
|
1594
1536
|
:type if_match: str
|
1595
1537
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1596
1538
|
container. Default value is None.
|
1597
|
-
:type parameters: IO
|
1539
|
+
:type parameters: IO[bytes]
|
1598
1540
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1599
1541
|
Default value is "application/json".
|
1600
1542
|
:paramtype content_type: str
|
1601
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1602
1543
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1603
1544
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1604
1545
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1612,7 +1553,7 @@ class BlobContainersOperations:
|
|
1612
1553
|
container_name: str,
|
1613
1554
|
immutability_policy_name: Union[str, _models.Enum16],
|
1614
1555
|
if_match: Optional[str] = None,
|
1615
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1556
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1616
1557
|
**kwargs: Any
|
1617
1558
|
) -> _models.ImmutabilityPolicy:
|
1618
1559
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1638,17 +1579,13 @@ class BlobContainersOperations:
|
|
1638
1579
|
omitted, this operation will always be applied. Default value is None.
|
1639
1580
|
:type if_match: str
|
1640
1581
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1641
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1642
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
|
1643
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1644
|
-
Default value is None.
|
1645
|
-
:paramtype content_type: str
|
1646
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1582
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1583
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
|
1647
1584
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1648
1585
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1649
1586
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1650
1587
|
"""
|
1651
|
-
error_map = {
|
1588
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1652
1589
|
401: ClientAuthenticationError,
|
1653
1590
|
404: ResourceNotFoundError,
|
1654
1591
|
409: ResourceExistsError,
|
@@ -1674,7 +1611,7 @@ class BlobContainersOperations:
|
|
1674
1611
|
else:
|
1675
1612
|
_json = None
|
1676
1613
|
|
1677
|
-
|
1614
|
+
_request = build_create_or_update_immutability_policy_request(
|
1678
1615
|
resource_group_name=resource_group_name,
|
1679
1616
|
account_name=account_name,
|
1680
1617
|
container_name=container_name,
|
@@ -1685,16 +1622,15 @@ class BlobContainersOperations:
|
|
1685
1622
|
content_type=content_type,
|
1686
1623
|
json=_json,
|
1687
1624
|
content=_content,
|
1688
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1689
1625
|
headers=_headers,
|
1690
1626
|
params=_params,
|
1691
1627
|
)
|
1692
|
-
|
1693
|
-
|
1628
|
+
_request = _convert_request(_request)
|
1629
|
+
_request.url = self._client.format_url(_request.url)
|
1694
1630
|
|
1695
1631
|
_stream = False
|
1696
1632
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1697
|
-
|
1633
|
+
_request, stream=_stream, **kwargs
|
1698
1634
|
)
|
1699
1635
|
|
1700
1636
|
response = pipeline_response.http_response
|
@@ -1709,13 +1645,9 @@ class BlobContainersOperations:
|
|
1709
1645
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1710
1646
|
|
1711
1647
|
if cls:
|
1712
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1648
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1713
1649
|
|
1714
|
-
return deserialized
|
1715
|
-
|
1716
|
-
create_or_update_immutability_policy.metadata = {
|
1717
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1718
|
-
}
|
1650
|
+
return deserialized # type: ignore
|
1719
1651
|
|
1720
1652
|
@distributed_trace
|
1721
1653
|
def get_immutability_policy(
|
@@ -1749,12 +1681,11 @@ class BlobContainersOperations:
|
|
1749
1681
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1750
1682
|
omitted, this operation will always be applied. Default value is None.
|
1751
1683
|
:type if_match: str
|
1752
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1753
1684
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1754
1685
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1755
1686
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1756
1687
|
"""
|
1757
|
-
error_map = {
|
1688
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1758
1689
|
401: ClientAuthenticationError,
|
1759
1690
|
404: ResourceNotFoundError,
|
1760
1691
|
409: ResourceExistsError,
|
@@ -1768,7 +1699,7 @@ class BlobContainersOperations:
|
|
1768
1699
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1769
1700
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1770
1701
|
|
1771
|
-
|
1702
|
+
_request = build_get_immutability_policy_request(
|
1772
1703
|
resource_group_name=resource_group_name,
|
1773
1704
|
account_name=account_name,
|
1774
1705
|
container_name=container_name,
|
@@ -1776,16 +1707,15 @@ class BlobContainersOperations:
|
|
1776
1707
|
subscription_id=self._config.subscription_id,
|
1777
1708
|
if_match=if_match,
|
1778
1709
|
api_version=api_version,
|
1779
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1780
1710
|
headers=_headers,
|
1781
1711
|
params=_params,
|
1782
1712
|
)
|
1783
|
-
|
1784
|
-
|
1713
|
+
_request = _convert_request(_request)
|
1714
|
+
_request.url = self._client.format_url(_request.url)
|
1785
1715
|
|
1786
1716
|
_stream = False
|
1787
1717
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1788
|
-
|
1718
|
+
_request, stream=_stream, **kwargs
|
1789
1719
|
)
|
1790
1720
|
|
1791
1721
|
response = pipeline_response.http_response
|
@@ -1800,13 +1730,9 @@ class BlobContainersOperations:
|
|
1800
1730
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1801
1731
|
|
1802
1732
|
if cls:
|
1803
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1733
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1804
1734
|
|
1805
|
-
return deserialized
|
1806
|
-
|
1807
|
-
get_immutability_policy.metadata = {
|
1808
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1809
|
-
}
|
1735
|
+
return deserialized # type: ignore
|
1810
1736
|
|
1811
1737
|
@distributed_trace
|
1812
1738
|
def delete_immutability_policy(
|
@@ -1842,12 +1768,11 @@ class BlobContainersOperations:
|
|
1842
1768
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1843
1769
|
omitted, this operation will always be applied. Required.
|
1844
1770
|
:type if_match: str
|
1845
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1846
1771
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1847
1772
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1848
1773
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1849
1774
|
"""
|
1850
|
-
error_map = {
|
1775
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1851
1776
|
401: ClientAuthenticationError,
|
1852
1777
|
404: ResourceNotFoundError,
|
1853
1778
|
409: ResourceExistsError,
|
@@ -1861,7 +1786,7 @@ class BlobContainersOperations:
|
|
1861
1786
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1862
1787
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1863
1788
|
|
1864
|
-
|
1789
|
+
_request = build_delete_immutability_policy_request(
|
1865
1790
|
resource_group_name=resource_group_name,
|
1866
1791
|
account_name=account_name,
|
1867
1792
|
container_name=container_name,
|
@@ -1869,16 +1794,15 @@ class BlobContainersOperations:
|
|
1869
1794
|
subscription_id=self._config.subscription_id,
|
1870
1795
|
if_match=if_match,
|
1871
1796
|
api_version=api_version,
|
1872
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1873
1797
|
headers=_headers,
|
1874
1798
|
params=_params,
|
1875
1799
|
)
|
1876
|
-
|
1877
|
-
|
1800
|
+
_request = _convert_request(_request)
|
1801
|
+
_request.url = self._client.format_url(_request.url)
|
1878
1802
|
|
1879
1803
|
_stream = False
|
1880
1804
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1881
|
-
|
1805
|
+
_request, stream=_stream, **kwargs
|
1882
1806
|
)
|
1883
1807
|
|
1884
1808
|
response = pipeline_response.http_response
|
@@ -1893,13 +1817,9 @@ class BlobContainersOperations:
|
|
1893
1817
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1894
1818
|
|
1895
1819
|
if cls:
|
1896
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1820
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1897
1821
|
|
1898
|
-
return deserialized
|
1899
|
-
|
1900
|
-
delete_immutability_policy.metadata = {
|
1901
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1902
|
-
}
|
1822
|
+
return deserialized # type: ignore
|
1903
1823
|
|
1904
1824
|
@distributed_trace
|
1905
1825
|
def lock_immutability_policy(
|
@@ -1924,12 +1844,11 @@ class BlobContainersOperations:
|
|
1924
1844
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1925
1845
|
omitted, this operation will always be applied. Required.
|
1926
1846
|
:type if_match: str
|
1927
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1928
1847
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1929
1848
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
1930
1849
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1931
1850
|
"""
|
1932
|
-
error_map = {
|
1851
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1933
1852
|
401: ClientAuthenticationError,
|
1934
1853
|
404: ResourceNotFoundError,
|
1935
1854
|
409: ResourceExistsError,
|
@@ -1943,23 +1862,22 @@ class BlobContainersOperations:
|
|
1943
1862
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
|
1944
1863
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1945
1864
|
|
1946
|
-
|
1865
|
+
_request = build_lock_immutability_policy_request(
|
1947
1866
|
resource_group_name=resource_group_name,
|
1948
1867
|
account_name=account_name,
|
1949
1868
|
container_name=container_name,
|
1950
1869
|
subscription_id=self._config.subscription_id,
|
1951
1870
|
if_match=if_match,
|
1952
1871
|
api_version=api_version,
|
1953
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1954
1872
|
headers=_headers,
|
1955
1873
|
params=_params,
|
1956
1874
|
)
|
1957
|
-
|
1958
|
-
|
1875
|
+
_request = _convert_request(_request)
|
1876
|
+
_request.url = self._client.format_url(_request.url)
|
1959
1877
|
|
1960
1878
|
_stream = False
|
1961
1879
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1962
|
-
|
1880
|
+
_request, stream=_stream, **kwargs
|
1963
1881
|
)
|
1964
1882
|
|
1965
1883
|
response = pipeline_response.http_response
|
@@ -1974,13 +1892,9 @@ class BlobContainersOperations:
|
|
1974
1892
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1975
1893
|
|
1976
1894
|
if cls:
|
1977
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1895
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1978
1896
|
|
1979
|
-
return deserialized
|
1980
|
-
|
1981
|
-
lock_immutability_policy.metadata = {
|
1982
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1983
|
-
}
|
1897
|
+
return deserialized # type: ignore
|
1984
1898
|
|
1985
1899
|
@overload
|
1986
1900
|
def extend_immutability_policy(
|
@@ -2020,7 +1934,6 @@ class BlobContainersOperations:
|
|
2020
1934
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2021
1935
|
Default value is "application/json".
|
2022
1936
|
:paramtype content_type: str
|
2023
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2024
1937
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2025
1938
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
2026
1939
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2033,7 +1946,7 @@ class BlobContainersOperations:
|
|
2033
1946
|
account_name: str,
|
2034
1947
|
container_name: str,
|
2035
1948
|
if_match: str,
|
2036
|
-
parameters: Optional[IO] = None,
|
1949
|
+
parameters: Optional[IO[bytes]] = None,
|
2037
1950
|
*,
|
2038
1951
|
content_type: str = "application/json",
|
2039
1952
|
**kwargs: Any
|
@@ -2060,11 +1973,10 @@ class BlobContainersOperations:
|
|
2060
1973
|
:type if_match: str
|
2061
1974
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2062
1975
|
container. Default value is None.
|
2063
|
-
:type parameters: IO
|
1976
|
+
:type parameters: IO[bytes]
|
2064
1977
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2065
1978
|
Default value is "application/json".
|
2066
1979
|
:paramtype content_type: str
|
2067
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2068
1980
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2069
1981
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
2070
1982
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2077,7 +1989,7 @@ class BlobContainersOperations:
|
|
2077
1989
|
account_name: str,
|
2078
1990
|
container_name: str,
|
2079
1991
|
if_match: str,
|
2080
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1992
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
2081
1993
|
**kwargs: Any
|
2082
1994
|
) -> _models.ImmutabilityPolicy:
|
2083
1995
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -2101,17 +2013,13 @@ class BlobContainersOperations:
|
|
2101
2013
|
omitted, this operation will always be applied. Required.
|
2102
2014
|
:type if_match: str
|
2103
2015
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2104
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
2105
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
|
2106
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2107
|
-
Default value is None.
|
2108
|
-
:paramtype content_type: str
|
2109
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2016
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
2017
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
|
2110
2018
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2111
2019
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
|
2112
2020
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2113
2021
|
"""
|
2114
|
-
error_map = {
|
2022
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2115
2023
|
401: ClientAuthenticationError,
|
2116
2024
|
404: ResourceNotFoundError,
|
2117
2025
|
409: ResourceExistsError,
|
@@ -2137,7 +2045,7 @@ class BlobContainersOperations:
|
|
2137
2045
|
else:
|
2138
2046
|
_json = None
|
2139
2047
|
|
2140
|
-
|
2048
|
+
_request = build_extend_immutability_policy_request(
|
2141
2049
|
resource_group_name=resource_group_name,
|
2142
2050
|
account_name=account_name,
|
2143
2051
|
container_name=container_name,
|
@@ -2147,16 +2055,15 @@ class BlobContainersOperations:
|
|
2147
2055
|
content_type=content_type,
|
2148
2056
|
json=_json,
|
2149
2057
|
content=_content,
|
2150
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
2151
2058
|
headers=_headers,
|
2152
2059
|
params=_params,
|
2153
2060
|
)
|
2154
|
-
|
2155
|
-
|
2061
|
+
_request = _convert_request(_request)
|
2062
|
+
_request.url = self._client.format_url(_request.url)
|
2156
2063
|
|
2157
2064
|
_stream = False
|
2158
2065
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2159
|
-
|
2066
|
+
_request, stream=_stream, **kwargs
|
2160
2067
|
)
|
2161
2068
|
|
2162
2069
|
response = pipeline_response.http_response
|
@@ -2171,13 +2078,9 @@ class BlobContainersOperations:
|
|
2171
2078
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2172
2079
|
|
2173
2080
|
if cls:
|
2174
|
-
return cls(pipeline_response, deserialized, response_headers)
|
2175
|
-
|
2176
|
-
return deserialized
|
2081
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2177
2082
|
|
2178
|
-
|
2179
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
2180
|
-
}
|
2083
|
+
return deserialized # type: ignore
|
2181
2084
|
|
2182
2085
|
@overload
|
2183
2086
|
def lease(
|
@@ -2210,7 +2113,6 @@ class BlobContainersOperations:
|
|
2210
2113
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2211
2114
|
Default value is "application/json".
|
2212
2115
|
:paramtype content_type: str
|
2213
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2214
2116
|
:return: LeaseContainerResponse or the result of cls(response)
|
2215
2117
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
2216
2118
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2222,7 +2124,7 @@ class BlobContainersOperations:
|
|
2222
2124
|
resource_group_name: str,
|
2223
2125
|
account_name: str,
|
2224
2126
|
container_name: str,
|
2225
|
-
parameters: Optional[IO] = None,
|
2127
|
+
parameters: Optional[IO[bytes]] = None,
|
2226
2128
|
*,
|
2227
2129
|
content_type: str = "application/json",
|
2228
2130
|
**kwargs: Any
|
@@ -2243,11 +2145,10 @@ class BlobContainersOperations:
|
|
2243
2145
|
by a letter or number. Required.
|
2244
2146
|
:type container_name: str
|
2245
2147
|
:param parameters: Lease Container request body. Default value is None.
|
2246
|
-
:type parameters: IO
|
2148
|
+
:type parameters: IO[bytes]
|
2247
2149
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2248
2150
|
Default value is "application/json".
|
2249
2151
|
:paramtype content_type: str
|
2250
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2251
2152
|
:return: LeaseContainerResponse or the result of cls(response)
|
2252
2153
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
2253
2154
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2259,7 +2160,7 @@ class BlobContainersOperations:
|
|
2259
2160
|
resource_group_name: str,
|
2260
2161
|
account_name: str,
|
2261
2162
|
container_name: str,
|
2262
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
2163
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
2263
2164
|
**kwargs: Any
|
2264
2165
|
) -> _models.LeaseContainerResponse:
|
2265
2166
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -2277,18 +2178,14 @@ class BlobContainersOperations:
|
|
2277
2178
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2278
2179
|
by a letter or number. Required.
|
2279
2180
|
:type container_name: str
|
2280
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2281
|
-
type. Default value is None.
|
2282
|
-
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO
|
2283
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2284
|
-
Default value is None.
|
2285
|
-
:paramtype content_type: str
|
2286
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2181
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2182
|
+
IO[bytes] type. Default value is None.
|
2183
|
+
:type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO[bytes]
|
2287
2184
|
:return: LeaseContainerResponse or the result of cls(response)
|
2288
2185
|
:rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
|
2289
2186
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2290
2187
|
"""
|
2291
|
-
error_map = {
|
2188
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2292
2189
|
401: ClientAuthenticationError,
|
2293
2190
|
404: ResourceNotFoundError,
|
2294
2191
|
409: ResourceExistsError,
|
@@ -2314,7 +2211,7 @@ class BlobContainersOperations:
|
|
2314
2211
|
else:
|
2315
2212
|
_json = None
|
2316
2213
|
|
2317
|
-
|
2214
|
+
_request = build_lease_request(
|
2318
2215
|
resource_group_name=resource_group_name,
|
2319
2216
|
account_name=account_name,
|
2320
2217
|
container_name=container_name,
|
@@ -2323,16 +2220,15 @@ class BlobContainersOperations:
|
|
2323
2220
|
content_type=content_type,
|
2324
2221
|
json=_json,
|
2325
2222
|
content=_content,
|
2326
|
-
template_url=self.lease.metadata["url"],
|
2327
2223
|
headers=_headers,
|
2328
2224
|
params=_params,
|
2329
2225
|
)
|
2330
|
-
|
2331
|
-
|
2226
|
+
_request = _convert_request(_request)
|
2227
|
+
_request.url = self._client.format_url(_request.url)
|
2332
2228
|
|
2333
2229
|
_stream = False
|
2334
2230
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2335
|
-
|
2231
|
+
_request, stream=_stream, **kwargs
|
2336
2232
|
)
|
2337
2233
|
|
2338
2234
|
response = pipeline_response.http_response
|
@@ -2344,10 +2240,6 @@ class BlobContainersOperations:
|
|
2344
2240
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
2345
2241
|
|
2346
2242
|
if cls:
|
2347
|
-
return cls(pipeline_response, deserialized, {})
|
2348
|
-
|
2349
|
-
return deserialized
|
2243
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2350
2244
|
|
2351
|
-
|
2352
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
2353
|
-
}
|
2245
|
+
return deserialized # type: ignore
|