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,
|
@@ -598,7 +603,6 @@ class BlobContainersOperations:
|
|
598
603
|
:param include: Optional, used to include the properties for soft deleted blob containers.
|
599
604
|
"deleted" Default value is None.
|
600
605
|
:type include: str or ~azure.mgmt.storage.v2020_08_01_preview.models.ListContainersInclude
|
601
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
602
606
|
:return: An iterator like instance of either ListContainerItem or the result of cls(response)
|
603
607
|
:rtype:
|
604
608
|
~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.ListContainerItem]
|
@@ -612,7 +616,7 @@ class BlobContainersOperations:
|
|
612
616
|
)
|
613
617
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
614
618
|
|
615
|
-
error_map = {
|
619
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
616
620
|
401: ClientAuthenticationError,
|
617
621
|
404: ResourceNotFoundError,
|
618
622
|
409: ResourceExistsError,
|
@@ -623,7 +627,7 @@ class BlobContainersOperations:
|
|
623
627
|
def prepare_request(next_link=None):
|
624
628
|
if not next_link:
|
625
629
|
|
626
|
-
|
630
|
+
_request = build_list_request(
|
627
631
|
resource_group_name=resource_group_name,
|
628
632
|
account_name=account_name,
|
629
633
|
subscription_id=self._config.subscription_id,
|
@@ -631,12 +635,11 @@ class BlobContainersOperations:
|
|
631
635
|
filter=filter,
|
632
636
|
include=include,
|
633
637
|
api_version=api_version,
|
634
|
-
template_url=self.list.metadata["url"],
|
635
638
|
headers=_headers,
|
636
639
|
params=_params,
|
637
640
|
)
|
638
|
-
|
639
|
-
|
641
|
+
_request = _convert_request(_request)
|
642
|
+
_request.url = self._client.format_url(_request.url)
|
640
643
|
|
641
644
|
else:
|
642
645
|
# make call to next link with the client's api-version
|
@@ -647,14 +650,14 @@ class BlobContainersOperations:
|
|
647
650
|
for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
|
648
651
|
}
|
649
652
|
)
|
650
|
-
_next_request_params["api-version"] = self.
|
651
|
-
|
653
|
+
_next_request_params["api-version"] = self._api_version
|
654
|
+
_request = HttpRequest(
|
652
655
|
"GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
|
653
656
|
)
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
return
|
657
|
+
_request = _convert_request(_request)
|
658
|
+
_request.url = self._client.format_url(_request.url)
|
659
|
+
_request.method = "GET"
|
660
|
+
return _request
|
658
661
|
|
659
662
|
def extract_data(pipeline_response):
|
660
663
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
@@ -664,11 +667,11 @@ class BlobContainersOperations:
|
|
664
667
|
return deserialized.next_link or None, iter(list_of_elem)
|
665
668
|
|
666
669
|
def get_next(next_link=None):
|
667
|
-
|
670
|
+
_request = prepare_request(next_link)
|
668
671
|
|
669
672
|
_stream = False
|
670
673
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
671
|
-
|
674
|
+
_request, stream=_stream, **kwargs
|
672
675
|
)
|
673
676
|
response = pipeline_response.http_response
|
674
677
|
|
@@ -680,10 +683,6 @@ class BlobContainersOperations:
|
|
680
683
|
|
681
684
|
return ItemPaged(get_next, extract_data)
|
682
685
|
|
683
|
-
list.metadata = {
|
684
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
685
|
-
}
|
686
|
-
|
687
686
|
@overload
|
688
687
|
def create(
|
689
688
|
self,
|
@@ -716,7 +715,6 @@ class BlobContainersOperations:
|
|
716
715
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
717
716
|
Default value is "application/json".
|
718
717
|
:paramtype content_type: str
|
719
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
720
718
|
:return: BlobContainer or the result of cls(response)
|
721
719
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
722
720
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -728,7 +726,7 @@ class BlobContainersOperations:
|
|
728
726
|
resource_group_name: str,
|
729
727
|
account_name: str,
|
730
728
|
container_name: str,
|
731
|
-
blob_container: IO,
|
729
|
+
blob_container: IO[bytes],
|
732
730
|
*,
|
733
731
|
content_type: str = "application/json",
|
734
732
|
**kwargs: Any
|
@@ -750,11 +748,10 @@ class BlobContainersOperations:
|
|
750
748
|
by a letter or number. Required.
|
751
749
|
:type container_name: str
|
752
750
|
:param blob_container: Properties of the blob container to create. Required.
|
753
|
-
:type blob_container: IO
|
751
|
+
:type blob_container: IO[bytes]
|
754
752
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
755
753
|
Default value is "application/json".
|
756
754
|
:paramtype content_type: str
|
757
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
758
755
|
:return: BlobContainer or the result of cls(response)
|
759
756
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
760
757
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -766,7 +763,7 @@ class BlobContainersOperations:
|
|
766
763
|
resource_group_name: str,
|
767
764
|
account_name: str,
|
768
765
|
container_name: str,
|
769
|
-
blob_container: Union[_models.BlobContainer, IO],
|
766
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
770
767
|
**kwargs: Any
|
771
768
|
) -> _models.BlobContainer:
|
772
769
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -786,17 +783,13 @@ class BlobContainersOperations:
|
|
786
783
|
by a letter or number. Required.
|
787
784
|
:type container_name: str
|
788
785
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
789
|
-
type or a IO type. Required.
|
790
|
-
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO
|
791
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
792
|
-
Default value is None.
|
793
|
-
:paramtype content_type: str
|
794
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
786
|
+
type or a IO[bytes] type. Required.
|
787
|
+
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO[bytes]
|
795
788
|
:return: BlobContainer or the result of cls(response)
|
796
789
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
797
790
|
:raises ~azure.core.exceptions.HttpResponseError:
|
798
791
|
"""
|
799
|
-
error_map = {
|
792
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
800
793
|
401: ClientAuthenticationError,
|
801
794
|
404: ResourceNotFoundError,
|
802
795
|
409: ResourceExistsError,
|
@@ -821,7 +814,7 @@ class BlobContainersOperations:
|
|
821
814
|
else:
|
822
815
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
823
816
|
|
824
|
-
|
817
|
+
_request = build_create_request(
|
825
818
|
resource_group_name=resource_group_name,
|
826
819
|
account_name=account_name,
|
827
820
|
container_name=container_name,
|
@@ -830,16 +823,15 @@ class BlobContainersOperations:
|
|
830
823
|
content_type=content_type,
|
831
824
|
json=_json,
|
832
825
|
content=_content,
|
833
|
-
template_url=self.create.metadata["url"],
|
834
826
|
headers=_headers,
|
835
827
|
params=_params,
|
836
828
|
)
|
837
|
-
|
838
|
-
|
829
|
+
_request = _convert_request(_request)
|
830
|
+
_request.url = self._client.format_url(_request.url)
|
839
831
|
|
840
832
|
_stream = False
|
841
833
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
842
|
-
|
834
|
+
_request, stream=_stream, **kwargs
|
843
835
|
)
|
844
836
|
|
845
837
|
response = pipeline_response.http_response
|
@@ -859,10 +851,6 @@ class BlobContainersOperations:
|
|
859
851
|
|
860
852
|
return deserialized # type: ignore
|
861
853
|
|
862
|
-
create.metadata = {
|
863
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
864
|
-
}
|
865
|
-
|
866
854
|
@overload
|
867
855
|
def update(
|
868
856
|
self,
|
@@ -894,7 +882,6 @@ class BlobContainersOperations:
|
|
894
882
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
895
883
|
Default value is "application/json".
|
896
884
|
:paramtype content_type: str
|
897
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
898
885
|
:return: BlobContainer or the result of cls(response)
|
899
886
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
900
887
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -906,7 +893,7 @@ class BlobContainersOperations:
|
|
906
893
|
resource_group_name: str,
|
907
894
|
account_name: str,
|
908
895
|
container_name: str,
|
909
|
-
blob_container: IO,
|
896
|
+
blob_container: IO[bytes],
|
910
897
|
*,
|
911
898
|
content_type: str = "application/json",
|
912
899
|
**kwargs: Any
|
@@ -927,11 +914,10 @@ class BlobContainersOperations:
|
|
927
914
|
by a letter or number. Required.
|
928
915
|
:type container_name: str
|
929
916
|
:param blob_container: Properties to update for the blob container. Required.
|
930
|
-
:type blob_container: IO
|
917
|
+
:type blob_container: IO[bytes]
|
931
918
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
932
919
|
Default value is "application/json".
|
933
920
|
:paramtype content_type: str
|
934
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
935
921
|
:return: BlobContainer or the result of cls(response)
|
936
922
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
937
923
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -943,7 +929,7 @@ class BlobContainersOperations:
|
|
943
929
|
resource_group_name: str,
|
944
930
|
account_name: str,
|
945
931
|
container_name: str,
|
946
|
-
blob_container: Union[_models.BlobContainer, IO],
|
932
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
947
933
|
**kwargs: Any
|
948
934
|
) -> _models.BlobContainer:
|
949
935
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -962,17 +948,13 @@ class BlobContainersOperations:
|
|
962
948
|
by a letter or number. Required.
|
963
949
|
:type container_name: str
|
964
950
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
965
|
-
type or a IO type. Required.
|
966
|
-
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO
|
967
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
968
|
-
Default value is None.
|
969
|
-
:paramtype content_type: str
|
970
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
951
|
+
type or a IO[bytes] type. Required.
|
952
|
+
:type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO[bytes]
|
971
953
|
:return: BlobContainer or the result of cls(response)
|
972
954
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
973
955
|
:raises ~azure.core.exceptions.HttpResponseError:
|
974
956
|
"""
|
975
|
-
error_map = {
|
957
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
976
958
|
401: ClientAuthenticationError,
|
977
959
|
404: ResourceNotFoundError,
|
978
960
|
409: ResourceExistsError,
|
@@ -997,7 +979,7 @@ class BlobContainersOperations:
|
|
997
979
|
else:
|
998
980
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
999
981
|
|
1000
|
-
|
982
|
+
_request = build_update_request(
|
1001
983
|
resource_group_name=resource_group_name,
|
1002
984
|
account_name=account_name,
|
1003
985
|
container_name=container_name,
|
@@ -1006,16 +988,15 @@ class BlobContainersOperations:
|
|
1006
988
|
content_type=content_type,
|
1007
989
|
json=_json,
|
1008
990
|
content=_content,
|
1009
|
-
template_url=self.update.metadata["url"],
|
1010
991
|
headers=_headers,
|
1011
992
|
params=_params,
|
1012
993
|
)
|
1013
|
-
|
1014
|
-
|
994
|
+
_request = _convert_request(_request)
|
995
|
+
_request.url = self._client.format_url(_request.url)
|
1015
996
|
|
1016
997
|
_stream = False
|
1017
998
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1018
|
-
|
999
|
+
_request, stream=_stream, **kwargs
|
1019
1000
|
)
|
1020
1001
|
|
1021
1002
|
response = pipeline_response.http_response
|
@@ -1027,13 +1008,9 @@ class BlobContainersOperations:
|
|
1027
1008
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1028
1009
|
|
1029
1010
|
if cls:
|
1030
|
-
return cls(pipeline_response, deserialized, {})
|
1031
|
-
|
1032
|
-
return deserialized
|
1011
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1033
1012
|
|
1034
|
-
|
1035
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1036
|
-
}
|
1013
|
+
return deserialized # type: ignore
|
1037
1014
|
|
1038
1015
|
@distributed_trace
|
1039
1016
|
def get(
|
@@ -1053,12 +1030,11 @@ class BlobContainersOperations:
|
|
1053
1030
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1054
1031
|
by a letter or number. Required.
|
1055
1032
|
:type container_name: str
|
1056
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1057
1033
|
:return: BlobContainer or the result of cls(response)
|
1058
1034
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
|
1059
1035
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1060
1036
|
"""
|
1061
|
-
error_map = {
|
1037
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1062
1038
|
401: ClientAuthenticationError,
|
1063
1039
|
404: ResourceNotFoundError,
|
1064
1040
|
409: ResourceExistsError,
|
@@ -1074,22 +1050,21 @@ class BlobContainersOperations:
|
|
1074
1050
|
)
|
1075
1051
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
1076
1052
|
|
1077
|
-
|
1053
|
+
_request = build_get_request(
|
1078
1054
|
resource_group_name=resource_group_name,
|
1079
1055
|
account_name=account_name,
|
1080
1056
|
container_name=container_name,
|
1081
1057
|
subscription_id=self._config.subscription_id,
|
1082
1058
|
api_version=api_version,
|
1083
|
-
template_url=self.get.metadata["url"],
|
1084
1059
|
headers=_headers,
|
1085
1060
|
params=_params,
|
1086
1061
|
)
|
1087
|
-
|
1088
|
-
|
1062
|
+
_request = _convert_request(_request)
|
1063
|
+
_request.url = self._client.format_url(_request.url)
|
1089
1064
|
|
1090
1065
|
_stream = False
|
1091
1066
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1092
|
-
|
1067
|
+
_request, stream=_stream, **kwargs
|
1093
1068
|
)
|
1094
1069
|
|
1095
1070
|
response = pipeline_response.http_response
|
@@ -1101,13 +1076,9 @@ class BlobContainersOperations:
|
|
1101
1076
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1102
1077
|
|
1103
1078
|
if cls:
|
1104
|
-
return cls(pipeline_response, deserialized, {})
|
1105
|
-
|
1106
|
-
return deserialized
|
1079
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1107
1080
|
|
1108
|
-
|
1109
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1110
|
-
}
|
1081
|
+
return deserialized # type: ignore
|
1111
1082
|
|
1112
1083
|
@distributed_trace
|
1113
1084
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -1127,12 +1098,11 @@ class BlobContainersOperations:
|
|
1127
1098
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1128
1099
|
by a letter or number. Required.
|
1129
1100
|
:type container_name: str
|
1130
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1131
1101
|
:return: None or the result of cls(response)
|
1132
1102
|
:rtype: None
|
1133
1103
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1134
1104
|
"""
|
1135
|
-
error_map = {
|
1105
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1136
1106
|
401: ClientAuthenticationError,
|
1137
1107
|
404: ResourceNotFoundError,
|
1138
1108
|
409: ResourceExistsError,
|
@@ -1148,22 +1118,21 @@ class BlobContainersOperations:
|
|
1148
1118
|
)
|
1149
1119
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1150
1120
|
|
1151
|
-
|
1121
|
+
_request = build_delete_request(
|
1152
1122
|
resource_group_name=resource_group_name,
|
1153
1123
|
account_name=account_name,
|
1154
1124
|
container_name=container_name,
|
1155
1125
|
subscription_id=self._config.subscription_id,
|
1156
1126
|
api_version=api_version,
|
1157
|
-
template_url=self.delete.metadata["url"],
|
1158
1127
|
headers=_headers,
|
1159
1128
|
params=_params,
|
1160
1129
|
)
|
1161
|
-
|
1162
|
-
|
1130
|
+
_request = _convert_request(_request)
|
1131
|
+
_request.url = self._client.format_url(_request.url)
|
1163
1132
|
|
1164
1133
|
_stream = False
|
1165
1134
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1166
|
-
|
1135
|
+
_request, stream=_stream, **kwargs
|
1167
1136
|
)
|
1168
1137
|
|
1169
1138
|
response = pipeline_response.http_response
|
@@ -1173,11 +1142,7 @@ class BlobContainersOperations:
|
|
1173
1142
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1174
1143
|
|
1175
1144
|
if cls:
|
1176
|
-
return cls(pipeline_response, None, {})
|
1177
|
-
|
1178
|
-
delete.metadata = {
|
1179
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1180
|
-
}
|
1145
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1181
1146
|
|
1182
1147
|
@overload
|
1183
1148
|
def set_legal_hold(
|
@@ -1211,7 +1176,6 @@ class BlobContainersOperations:
|
|
1211
1176
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1212
1177
|
Default value is "application/json".
|
1213
1178
|
:paramtype content_type: str
|
1214
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1215
1179
|
:return: LegalHold or the result of cls(response)
|
1216
1180
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1217
1181
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1223,7 +1187,7 @@ class BlobContainersOperations:
|
|
1223
1187
|
resource_group_name: str,
|
1224
1188
|
account_name: str,
|
1225
1189
|
container_name: str,
|
1226
|
-
legal_hold: IO,
|
1190
|
+
legal_hold: IO[bytes],
|
1227
1191
|
*,
|
1228
1192
|
content_type: str = "application/json",
|
1229
1193
|
**kwargs: Any
|
@@ -1245,11 +1209,10 @@ class BlobContainersOperations:
|
|
1245
1209
|
by a letter or number. Required.
|
1246
1210
|
:type container_name: str
|
1247
1211
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
1248
|
-
:type legal_hold: IO
|
1212
|
+
:type legal_hold: IO[bytes]
|
1249
1213
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1250
1214
|
Default value is "application/json".
|
1251
1215
|
:paramtype content_type: str
|
1252
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1253
1216
|
:return: LegalHold or the result of cls(response)
|
1254
1217
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1255
1218
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1261,7 +1224,7 @@ class BlobContainersOperations:
|
|
1261
1224
|
resource_group_name: str,
|
1262
1225
|
account_name: str,
|
1263
1226
|
container_name: str,
|
1264
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1227
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1265
1228
|
**kwargs: Any
|
1266
1229
|
) -> _models.LegalHold:
|
1267
1230
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -1281,17 +1244,13 @@ class BlobContainersOperations:
|
|
1281
1244
|
by a letter or number. Required.
|
1282
1245
|
:type container_name: str
|
1283
1246
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
1284
|
-
LegalHold type or a IO type. Required.
|
1285
|
-
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO
|
1286
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1287
|
-
Default value is None.
|
1288
|
-
:paramtype content_type: str
|
1289
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1247
|
+
LegalHold type or a IO[bytes] type. Required.
|
1248
|
+
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO[bytes]
|
1290
1249
|
:return: LegalHold or the result of cls(response)
|
1291
1250
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1292
1251
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1293
1252
|
"""
|
1294
|
-
error_map = {
|
1253
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1295
1254
|
401: ClientAuthenticationError,
|
1296
1255
|
404: ResourceNotFoundError,
|
1297
1256
|
409: ResourceExistsError,
|
@@ -1316,7 +1275,7 @@ class BlobContainersOperations:
|
|
1316
1275
|
else:
|
1317
1276
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1318
1277
|
|
1319
|
-
|
1278
|
+
_request = build_set_legal_hold_request(
|
1320
1279
|
resource_group_name=resource_group_name,
|
1321
1280
|
account_name=account_name,
|
1322
1281
|
container_name=container_name,
|
@@ -1325,16 +1284,15 @@ class BlobContainersOperations:
|
|
1325
1284
|
content_type=content_type,
|
1326
1285
|
json=_json,
|
1327
1286
|
content=_content,
|
1328
|
-
template_url=self.set_legal_hold.metadata["url"],
|
1329
1287
|
headers=_headers,
|
1330
1288
|
params=_params,
|
1331
1289
|
)
|
1332
|
-
|
1333
|
-
|
1290
|
+
_request = _convert_request(_request)
|
1291
|
+
_request.url = self._client.format_url(_request.url)
|
1334
1292
|
|
1335
1293
|
_stream = False
|
1336
1294
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1337
|
-
|
1295
|
+
_request, stream=_stream, **kwargs
|
1338
1296
|
)
|
1339
1297
|
|
1340
1298
|
response = pipeline_response.http_response
|
@@ -1346,13 +1304,9 @@ class BlobContainersOperations:
|
|
1346
1304
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1347
1305
|
|
1348
1306
|
if cls:
|
1349
|
-
return cls(pipeline_response, deserialized, {})
|
1350
|
-
|
1351
|
-
return deserialized
|
1307
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1352
1308
|
|
1353
|
-
|
1354
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
1355
|
-
}
|
1309
|
+
return deserialized # type: ignore
|
1356
1310
|
|
1357
1311
|
@overload
|
1358
1312
|
def clear_legal_hold(
|
@@ -1385,7 +1339,6 @@ class BlobContainersOperations:
|
|
1385
1339
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1386
1340
|
Default value is "application/json".
|
1387
1341
|
:paramtype content_type: str
|
1388
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1389
1342
|
:return: LegalHold or the result of cls(response)
|
1390
1343
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1391
1344
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1397,7 +1350,7 @@ class BlobContainersOperations:
|
|
1397
1350
|
resource_group_name: str,
|
1398
1351
|
account_name: str,
|
1399
1352
|
container_name: str,
|
1400
|
-
legal_hold: IO,
|
1353
|
+
legal_hold: IO[bytes],
|
1401
1354
|
*,
|
1402
1355
|
content_type: str = "application/json",
|
1403
1356
|
**kwargs: Any
|
@@ -1418,11 +1371,10 @@ class BlobContainersOperations:
|
|
1418
1371
|
by a letter or number. Required.
|
1419
1372
|
:type container_name: str
|
1420
1373
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
1421
|
-
:type legal_hold: IO
|
1374
|
+
:type legal_hold: IO[bytes]
|
1422
1375
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1423
1376
|
Default value is "application/json".
|
1424
1377
|
:paramtype content_type: str
|
1425
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1426
1378
|
:return: LegalHold or the result of cls(response)
|
1427
1379
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1428
1380
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1434,7 +1386,7 @@ class BlobContainersOperations:
|
|
1434
1386
|
resource_group_name: str,
|
1435
1387
|
account_name: str,
|
1436
1388
|
container_name: str,
|
1437
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1389
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1438
1390
|
**kwargs: Any
|
1439
1391
|
) -> _models.LegalHold:
|
1440
1392
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -1453,17 +1405,13 @@ class BlobContainersOperations:
|
|
1453
1405
|
by a letter or number. Required.
|
1454
1406
|
:type container_name: str
|
1455
1407
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
1456
|
-
LegalHold type or a IO type. Required.
|
1457
|
-
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO
|
1458
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1459
|
-
Default value is None.
|
1460
|
-
:paramtype content_type: str
|
1461
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1408
|
+
LegalHold type or a IO[bytes] type. Required.
|
1409
|
+
:type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO[bytes]
|
1462
1410
|
:return: LegalHold or the result of cls(response)
|
1463
1411
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
|
1464
1412
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1465
1413
|
"""
|
1466
|
-
error_map = {
|
1414
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1467
1415
|
401: ClientAuthenticationError,
|
1468
1416
|
404: ResourceNotFoundError,
|
1469
1417
|
409: ResourceExistsError,
|
@@ -1488,7 +1436,7 @@ class BlobContainersOperations:
|
|
1488
1436
|
else:
|
1489
1437
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1490
1438
|
|
1491
|
-
|
1439
|
+
_request = build_clear_legal_hold_request(
|
1492
1440
|
resource_group_name=resource_group_name,
|
1493
1441
|
account_name=account_name,
|
1494
1442
|
container_name=container_name,
|
@@ -1497,16 +1445,15 @@ class BlobContainersOperations:
|
|
1497
1445
|
content_type=content_type,
|
1498
1446
|
json=_json,
|
1499
1447
|
content=_content,
|
1500
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1501
1448
|
headers=_headers,
|
1502
1449
|
params=_params,
|
1503
1450
|
)
|
1504
|
-
|
1505
|
-
|
1451
|
+
_request = _convert_request(_request)
|
1452
|
+
_request.url = self._client.format_url(_request.url)
|
1506
1453
|
|
1507
1454
|
_stream = False
|
1508
1455
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1509
|
-
|
1456
|
+
_request, stream=_stream, **kwargs
|
1510
1457
|
)
|
1511
1458
|
|
1512
1459
|
response = pipeline_response.http_response
|
@@ -1518,13 +1465,9 @@ class BlobContainersOperations:
|
|
1518
1465
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1519
1466
|
|
1520
1467
|
if cls:
|
1521
|
-
return cls(pipeline_response, deserialized, {})
|
1522
|
-
|
1523
|
-
return deserialized
|
1468
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1524
1469
|
|
1525
|
-
|
1526
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1527
|
-
}
|
1470
|
+
return deserialized # type: ignore
|
1528
1471
|
|
1529
1472
|
@overload
|
1530
1473
|
def create_or_update_immutability_policy(
|
@@ -1567,7 +1510,6 @@ class BlobContainersOperations:
|
|
1567
1510
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1568
1511
|
Default value is "application/json".
|
1569
1512
|
:paramtype content_type: str
|
1570
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1571
1513
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1572
1514
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1573
1515
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1581,7 +1523,7 @@ class BlobContainersOperations:
|
|
1581
1523
|
container_name: str,
|
1582
1524
|
immutability_policy_name: Union[str, _models.Enum28],
|
1583
1525
|
if_match: Optional[str] = None,
|
1584
|
-
parameters: Optional[IO] = None,
|
1526
|
+
parameters: Optional[IO[bytes]] = None,
|
1585
1527
|
*,
|
1586
1528
|
content_type: str = "application/json",
|
1587
1529
|
**kwargs: Any
|
@@ -1610,11 +1552,10 @@ class BlobContainersOperations:
|
|
1610
1552
|
:type if_match: str
|
1611
1553
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1612
1554
|
container. Default value is None.
|
1613
|
-
:type parameters: IO
|
1555
|
+
:type parameters: IO[bytes]
|
1614
1556
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1615
1557
|
Default value is "application/json".
|
1616
1558
|
:paramtype content_type: str
|
1617
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1618
1559
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1619
1560
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1620
1561
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1628,7 +1569,7 @@ class BlobContainersOperations:
|
|
1628
1569
|
container_name: str,
|
1629
1570
|
immutability_policy_name: Union[str, _models.Enum28],
|
1630
1571
|
if_match: Optional[str] = None,
|
1631
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1572
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1632
1573
|
**kwargs: Any
|
1633
1574
|
) -> _models.ImmutabilityPolicy:
|
1634
1575
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1654,17 +1595,14 @@ class BlobContainersOperations:
|
|
1654
1595
|
omitted, this operation will always be applied. Default value is None.
|
1655
1596
|
:type if_match: str
|
1656
1597
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1657
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1658
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
1659
|
-
|
1660
|
-
Default value is None.
|
1661
|
-
:paramtype content_type: str
|
1662
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1598
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1599
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
1600
|
+
IO[bytes]
|
1663
1601
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1664
1602
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1665
1603
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1666
1604
|
"""
|
1667
|
-
error_map = {
|
1605
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1668
1606
|
401: ClientAuthenticationError,
|
1669
1607
|
404: ResourceNotFoundError,
|
1670
1608
|
409: ResourceExistsError,
|
@@ -1692,7 +1630,7 @@ class BlobContainersOperations:
|
|
1692
1630
|
else:
|
1693
1631
|
_json = None
|
1694
1632
|
|
1695
|
-
|
1633
|
+
_request = build_create_or_update_immutability_policy_request(
|
1696
1634
|
resource_group_name=resource_group_name,
|
1697
1635
|
account_name=account_name,
|
1698
1636
|
container_name=container_name,
|
@@ -1703,16 +1641,15 @@ class BlobContainersOperations:
|
|
1703
1641
|
content_type=content_type,
|
1704
1642
|
json=_json,
|
1705
1643
|
content=_content,
|
1706
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1707
1644
|
headers=_headers,
|
1708
1645
|
params=_params,
|
1709
1646
|
)
|
1710
|
-
|
1711
|
-
|
1647
|
+
_request = _convert_request(_request)
|
1648
|
+
_request.url = self._client.format_url(_request.url)
|
1712
1649
|
|
1713
1650
|
_stream = False
|
1714
1651
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1715
|
-
|
1652
|
+
_request, stream=_stream, **kwargs
|
1716
1653
|
)
|
1717
1654
|
|
1718
1655
|
response = pipeline_response.http_response
|
@@ -1727,13 +1664,9 @@ class BlobContainersOperations:
|
|
1727
1664
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1728
1665
|
|
1729
1666
|
if cls:
|
1730
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1667
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1731
1668
|
|
1732
|
-
return deserialized
|
1733
|
-
|
1734
|
-
create_or_update_immutability_policy.metadata = {
|
1735
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1736
|
-
}
|
1669
|
+
return deserialized # type: ignore
|
1737
1670
|
|
1738
1671
|
@distributed_trace
|
1739
1672
|
def get_immutability_policy(
|
@@ -1767,12 +1700,11 @@ class BlobContainersOperations:
|
|
1767
1700
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1768
1701
|
omitted, this operation will always be applied. Default value is None.
|
1769
1702
|
:type if_match: str
|
1770
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1771
1703
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1772
1704
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1773
1705
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1774
1706
|
"""
|
1775
|
-
error_map = {
|
1707
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1776
1708
|
401: ClientAuthenticationError,
|
1777
1709
|
404: ResourceNotFoundError,
|
1778
1710
|
409: ResourceExistsError,
|
@@ -1788,7 +1720,7 @@ class BlobContainersOperations:
|
|
1788
1720
|
)
|
1789
1721
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1790
1722
|
|
1791
|
-
|
1723
|
+
_request = build_get_immutability_policy_request(
|
1792
1724
|
resource_group_name=resource_group_name,
|
1793
1725
|
account_name=account_name,
|
1794
1726
|
container_name=container_name,
|
@@ -1796,16 +1728,15 @@ class BlobContainersOperations:
|
|
1796
1728
|
subscription_id=self._config.subscription_id,
|
1797
1729
|
if_match=if_match,
|
1798
1730
|
api_version=api_version,
|
1799
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1800
1731
|
headers=_headers,
|
1801
1732
|
params=_params,
|
1802
1733
|
)
|
1803
|
-
|
1804
|
-
|
1734
|
+
_request = _convert_request(_request)
|
1735
|
+
_request.url = self._client.format_url(_request.url)
|
1805
1736
|
|
1806
1737
|
_stream = False
|
1807
1738
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1808
|
-
|
1739
|
+
_request, stream=_stream, **kwargs
|
1809
1740
|
)
|
1810
1741
|
|
1811
1742
|
response = pipeline_response.http_response
|
@@ -1820,13 +1751,9 @@ class BlobContainersOperations:
|
|
1820
1751
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1821
1752
|
|
1822
1753
|
if cls:
|
1823
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1754
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1824
1755
|
|
1825
|
-
return deserialized
|
1826
|
-
|
1827
|
-
get_immutability_policy.metadata = {
|
1828
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1829
|
-
}
|
1756
|
+
return deserialized # type: ignore
|
1830
1757
|
|
1831
1758
|
@distributed_trace
|
1832
1759
|
def delete_immutability_policy(
|
@@ -1862,12 +1789,11 @@ class BlobContainersOperations:
|
|
1862
1789
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1863
1790
|
omitted, this operation will always be applied. Required.
|
1864
1791
|
:type if_match: str
|
1865
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1866
1792
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1867
1793
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1868
1794
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1869
1795
|
"""
|
1870
|
-
error_map = {
|
1796
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1871
1797
|
401: ClientAuthenticationError,
|
1872
1798
|
404: ResourceNotFoundError,
|
1873
1799
|
409: ResourceExistsError,
|
@@ -1883,7 +1809,7 @@ class BlobContainersOperations:
|
|
1883
1809
|
)
|
1884
1810
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1885
1811
|
|
1886
|
-
|
1812
|
+
_request = build_delete_immutability_policy_request(
|
1887
1813
|
resource_group_name=resource_group_name,
|
1888
1814
|
account_name=account_name,
|
1889
1815
|
container_name=container_name,
|
@@ -1891,16 +1817,15 @@ class BlobContainersOperations:
|
|
1891
1817
|
subscription_id=self._config.subscription_id,
|
1892
1818
|
if_match=if_match,
|
1893
1819
|
api_version=api_version,
|
1894
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1895
1820
|
headers=_headers,
|
1896
1821
|
params=_params,
|
1897
1822
|
)
|
1898
|
-
|
1899
|
-
|
1823
|
+
_request = _convert_request(_request)
|
1824
|
+
_request.url = self._client.format_url(_request.url)
|
1900
1825
|
|
1901
1826
|
_stream = False
|
1902
1827
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1903
|
-
|
1828
|
+
_request, stream=_stream, **kwargs
|
1904
1829
|
)
|
1905
1830
|
|
1906
1831
|
response = pipeline_response.http_response
|
@@ -1915,13 +1840,9 @@ class BlobContainersOperations:
|
|
1915
1840
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1916
1841
|
|
1917
1842
|
if cls:
|
1918
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1843
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1919
1844
|
|
1920
|
-
return deserialized
|
1921
|
-
|
1922
|
-
delete_immutability_policy.metadata = {
|
1923
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1924
|
-
}
|
1845
|
+
return deserialized # type: ignore
|
1925
1846
|
|
1926
1847
|
@distributed_trace
|
1927
1848
|
def lock_immutability_policy(
|
@@ -1946,12 +1867,11 @@ class BlobContainersOperations:
|
|
1946
1867
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1947
1868
|
omitted, this operation will always be applied. Required.
|
1948
1869
|
:type if_match: str
|
1949
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1950
1870
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1951
1871
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
1952
1872
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1953
1873
|
"""
|
1954
|
-
error_map = {
|
1874
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1955
1875
|
401: ClientAuthenticationError,
|
1956
1876
|
404: ResourceNotFoundError,
|
1957
1877
|
409: ResourceExistsError,
|
@@ -1967,23 +1887,22 @@ class BlobContainersOperations:
|
|
1967
1887
|
)
|
1968
1888
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1969
1889
|
|
1970
|
-
|
1890
|
+
_request = build_lock_immutability_policy_request(
|
1971
1891
|
resource_group_name=resource_group_name,
|
1972
1892
|
account_name=account_name,
|
1973
1893
|
container_name=container_name,
|
1974
1894
|
subscription_id=self._config.subscription_id,
|
1975
1895
|
if_match=if_match,
|
1976
1896
|
api_version=api_version,
|
1977
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1978
1897
|
headers=_headers,
|
1979
1898
|
params=_params,
|
1980
1899
|
)
|
1981
|
-
|
1982
|
-
|
1900
|
+
_request = _convert_request(_request)
|
1901
|
+
_request.url = self._client.format_url(_request.url)
|
1983
1902
|
|
1984
1903
|
_stream = False
|
1985
1904
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1986
|
-
|
1905
|
+
_request, stream=_stream, **kwargs
|
1987
1906
|
)
|
1988
1907
|
|
1989
1908
|
response = pipeline_response.http_response
|
@@ -1998,13 +1917,9 @@ class BlobContainersOperations:
|
|
1998
1917
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1999
1918
|
|
2000
1919
|
if cls:
|
2001
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1920
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2002
1921
|
|
2003
|
-
return deserialized
|
2004
|
-
|
2005
|
-
lock_immutability_policy.metadata = {
|
2006
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
2007
|
-
}
|
1922
|
+
return deserialized # type: ignore
|
2008
1923
|
|
2009
1924
|
@overload
|
2010
1925
|
def extend_immutability_policy(
|
@@ -2044,7 +1959,6 @@ class BlobContainersOperations:
|
|
2044
1959
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2045
1960
|
Default value is "application/json".
|
2046
1961
|
:paramtype content_type: str
|
2047
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2048
1962
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2049
1963
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
2050
1964
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2057,7 +1971,7 @@ class BlobContainersOperations:
|
|
2057
1971
|
account_name: str,
|
2058
1972
|
container_name: str,
|
2059
1973
|
if_match: str,
|
2060
|
-
parameters: Optional[IO] = None,
|
1974
|
+
parameters: Optional[IO[bytes]] = None,
|
2061
1975
|
*,
|
2062
1976
|
content_type: str = "application/json",
|
2063
1977
|
**kwargs: Any
|
@@ -2084,11 +1998,10 @@ class BlobContainersOperations:
|
|
2084
1998
|
:type if_match: str
|
2085
1999
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2086
2000
|
container. Default value is None.
|
2087
|
-
:type parameters: IO
|
2001
|
+
:type parameters: IO[bytes]
|
2088
2002
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2089
2003
|
Default value is "application/json".
|
2090
2004
|
:paramtype content_type: str
|
2091
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2092
2005
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2093
2006
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
2094
2007
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2101,7 +2014,7 @@ class BlobContainersOperations:
|
|
2101
2014
|
account_name: str,
|
2102
2015
|
container_name: str,
|
2103
2016
|
if_match: str,
|
2104
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
2017
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
2105
2018
|
**kwargs: Any
|
2106
2019
|
) -> _models.ImmutabilityPolicy:
|
2107
2020
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -2125,17 +2038,14 @@ class BlobContainersOperations:
|
|
2125
2038
|
omitted, this operation will always be applied. Required.
|
2126
2039
|
:type if_match: str
|
2127
2040
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2128
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
2129
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
2130
|
-
|
2131
|
-
Default value is None.
|
2132
|
-
:paramtype content_type: str
|
2133
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2041
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
2042
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
|
2043
|
+
IO[bytes]
|
2134
2044
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2135
2045
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
|
2136
2046
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2137
2047
|
"""
|
2138
|
-
error_map = {
|
2048
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2139
2049
|
401: ClientAuthenticationError,
|
2140
2050
|
404: ResourceNotFoundError,
|
2141
2051
|
409: ResourceExistsError,
|
@@ -2163,7 +2073,7 @@ class BlobContainersOperations:
|
|
2163
2073
|
else:
|
2164
2074
|
_json = None
|
2165
2075
|
|
2166
|
-
|
2076
|
+
_request = build_extend_immutability_policy_request(
|
2167
2077
|
resource_group_name=resource_group_name,
|
2168
2078
|
account_name=account_name,
|
2169
2079
|
container_name=container_name,
|
@@ -2173,16 +2083,15 @@ class BlobContainersOperations:
|
|
2173
2083
|
content_type=content_type,
|
2174
2084
|
json=_json,
|
2175
2085
|
content=_content,
|
2176
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
2177
2086
|
headers=_headers,
|
2178
2087
|
params=_params,
|
2179
2088
|
)
|
2180
|
-
|
2181
|
-
|
2089
|
+
_request = _convert_request(_request)
|
2090
|
+
_request.url = self._client.format_url(_request.url)
|
2182
2091
|
|
2183
2092
|
_stream = False
|
2184
2093
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2185
|
-
|
2094
|
+
_request, stream=_stream, **kwargs
|
2186
2095
|
)
|
2187
2096
|
|
2188
2097
|
response = pipeline_response.http_response
|
@@ -2197,13 +2106,9 @@ class BlobContainersOperations:
|
|
2197
2106
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2198
2107
|
|
2199
2108
|
if cls:
|
2200
|
-
return cls(pipeline_response, deserialized, response_headers)
|
2201
|
-
|
2202
|
-
return deserialized
|
2109
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2203
2110
|
|
2204
|
-
|
2205
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
2206
|
-
}
|
2111
|
+
return deserialized # type: ignore
|
2207
2112
|
|
2208
2113
|
@overload
|
2209
2114
|
def lease(
|
@@ -2236,7 +2141,6 @@ class BlobContainersOperations:
|
|
2236
2141
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2237
2142
|
Default value is "application/json".
|
2238
2143
|
:paramtype content_type: str
|
2239
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2240
2144
|
:return: LeaseContainerResponse or the result of cls(response)
|
2241
2145
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
|
2242
2146
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2248,7 +2152,7 @@ class BlobContainersOperations:
|
|
2248
2152
|
resource_group_name: str,
|
2249
2153
|
account_name: str,
|
2250
2154
|
container_name: str,
|
2251
|
-
parameters: Optional[IO] = None,
|
2155
|
+
parameters: Optional[IO[bytes]] = None,
|
2252
2156
|
*,
|
2253
2157
|
content_type: str = "application/json",
|
2254
2158
|
**kwargs: Any
|
@@ -2269,11 +2173,10 @@ class BlobContainersOperations:
|
|
2269
2173
|
by a letter or number. Required.
|
2270
2174
|
:type container_name: str
|
2271
2175
|
:param parameters: Lease Container request body. Default value is None.
|
2272
|
-
:type parameters: IO
|
2176
|
+
:type parameters: IO[bytes]
|
2273
2177
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2274
2178
|
Default value is "application/json".
|
2275
2179
|
:paramtype content_type: str
|
2276
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2277
2180
|
:return: LeaseContainerResponse or the result of cls(response)
|
2278
2181
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
|
2279
2182
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2285,7 +2188,7 @@ class BlobContainersOperations:
|
|
2285
2188
|
resource_group_name: str,
|
2286
2189
|
account_name: str,
|
2287
2190
|
container_name: str,
|
2288
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
2191
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
2289
2192
|
**kwargs: Any
|
2290
2193
|
) -> _models.LeaseContainerResponse:
|
2291
2194
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -2303,18 +2206,15 @@ class BlobContainersOperations:
|
|
2303
2206
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2304
2207
|
by a letter or number. Required.
|
2305
2208
|
:type container_name: str
|
2306
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2307
|
-
type. Default value is None.
|
2308
|
-
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerRequest or
|
2309
|
-
|
2310
|
-
Default value is None.
|
2311
|
-
:paramtype content_type: str
|
2312
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2209
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2210
|
+
IO[bytes] type. Default value is None.
|
2211
|
+
:type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerRequest or
|
2212
|
+
IO[bytes]
|
2313
2213
|
:return: LeaseContainerResponse or the result of cls(response)
|
2314
2214
|
:rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
|
2315
2215
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2316
2216
|
"""
|
2317
|
-
error_map = {
|
2217
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2318
2218
|
401: ClientAuthenticationError,
|
2319
2219
|
404: ResourceNotFoundError,
|
2320
2220
|
409: ResourceExistsError,
|
@@ -2342,7 +2242,7 @@ class BlobContainersOperations:
|
|
2342
2242
|
else:
|
2343
2243
|
_json = None
|
2344
2244
|
|
2345
|
-
|
2245
|
+
_request = build_lease_request(
|
2346
2246
|
resource_group_name=resource_group_name,
|
2347
2247
|
account_name=account_name,
|
2348
2248
|
container_name=container_name,
|
@@ -2351,16 +2251,15 @@ class BlobContainersOperations:
|
|
2351
2251
|
content_type=content_type,
|
2352
2252
|
json=_json,
|
2353
2253
|
content=_content,
|
2354
|
-
template_url=self.lease.metadata["url"],
|
2355
2254
|
headers=_headers,
|
2356
2255
|
params=_params,
|
2357
2256
|
)
|
2358
|
-
|
2359
|
-
|
2257
|
+
_request = _convert_request(_request)
|
2258
|
+
_request.url = self._client.format_url(_request.url)
|
2360
2259
|
|
2361
2260
|
_stream = False
|
2362
2261
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2363
|
-
|
2262
|
+
_request, stream=_stream, **kwargs
|
2364
2263
|
)
|
2365
2264
|
|
2366
2265
|
response = pipeline_response.http_response
|
@@ -2372,10 +2271,6 @@ class BlobContainersOperations:
|
|
2372
2271
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
2373
2272
|
|
2374
2273
|
if cls:
|
2375
|
-
return cls(pipeline_response, deserialized, {})
|
2376
|
-
|
2377
|
-
return deserialized
|
2274
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2378
2275
|
|
2379
|
-
|
2380
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
2381
|
-
}
|
2276
|
+
return deserialized # type: ignore
|