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