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, Optional, Type, TypeVar, Union, overload
|
11
12
|
|
12
13
|
from azure.core.exceptions import (
|
13
14
|
ClientAuthenticationError,
|
@@ -28,6 +29,10 @@ from .. import models as _models
|
|
28
29
|
from ..._serialization import Serializer
|
29
30
|
from .._vendor import _convert_request
|
30
31
|
|
32
|
+
if sys.version_info >= (3, 9):
|
33
|
+
from collections.abc import MutableMapping
|
34
|
+
else:
|
35
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
31
36
|
T = TypeVar("T")
|
32
37
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
|
33
38
|
|
@@ -276,7 +281,7 @@ def build_clear_legal_hold_request(
|
|
276
281
|
return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
|
277
282
|
|
278
283
|
|
279
|
-
def build_create_or_update_immutability_policy_request(
|
284
|
+
def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
|
280
285
|
resource_group_name: str,
|
281
286
|
account_name: str,
|
282
287
|
container_name: str,
|
@@ -564,12 +569,11 @@ class BlobContainersOperations:
|
|
564
569
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
565
570
|
lower-case letters only. Required.
|
566
571
|
:type account_name: str
|
567
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
568
572
|
:return: ListContainerItems or the result of cls(response)
|
569
573
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListContainerItems
|
570
574
|
:raises ~azure.core.exceptions.HttpResponseError:
|
571
575
|
"""
|
572
|
-
error_map = {
|
576
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
573
577
|
401: ClientAuthenticationError,
|
574
578
|
404: ResourceNotFoundError,
|
575
579
|
409: ResourceExistsError,
|
@@ -585,21 +589,20 @@ class BlobContainersOperations:
|
|
585
589
|
)
|
586
590
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
587
591
|
|
588
|
-
|
592
|
+
_request = build_list_request(
|
589
593
|
resource_group_name=resource_group_name,
|
590
594
|
account_name=account_name,
|
591
595
|
subscription_id=self._config.subscription_id,
|
592
596
|
api_version=api_version,
|
593
|
-
template_url=self.list.metadata["url"],
|
594
597
|
headers=_headers,
|
595
598
|
params=_params,
|
596
599
|
)
|
597
|
-
|
598
|
-
|
600
|
+
_request = _convert_request(_request)
|
601
|
+
_request.url = self._client.format_url(_request.url)
|
599
602
|
|
600
603
|
_stream = False
|
601
604
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
602
|
-
|
605
|
+
_request, stream=_stream, **kwargs
|
603
606
|
)
|
604
607
|
|
605
608
|
response = pipeline_response.http_response
|
@@ -611,13 +614,9 @@ class BlobContainersOperations:
|
|
611
614
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
612
615
|
|
613
616
|
if cls:
|
614
|
-
return cls(pipeline_response, deserialized, {})
|
617
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
615
618
|
|
616
|
-
return deserialized
|
617
|
-
|
618
|
-
list.metadata = {
|
619
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
620
|
-
}
|
619
|
+
return deserialized # type: ignore
|
621
620
|
|
622
621
|
@overload
|
623
622
|
def create(
|
@@ -651,7 +650,6 @@ class BlobContainersOperations:
|
|
651
650
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
652
651
|
Default value is "application/json".
|
653
652
|
:paramtype content_type: str
|
654
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
655
653
|
:return: BlobContainer or the result of cls(response)
|
656
654
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
657
655
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -663,7 +661,7 @@ class BlobContainersOperations:
|
|
663
661
|
resource_group_name: str,
|
664
662
|
account_name: str,
|
665
663
|
container_name: str,
|
666
|
-
blob_container: IO,
|
664
|
+
blob_container: IO[bytes],
|
667
665
|
*,
|
668
666
|
content_type: str = "application/json",
|
669
667
|
**kwargs: Any
|
@@ -685,11 +683,10 @@ class BlobContainersOperations:
|
|
685
683
|
by a letter or number. Required.
|
686
684
|
:type container_name: str
|
687
685
|
:param blob_container: Properties of the blob container to create. Required.
|
688
|
-
:type blob_container: IO
|
686
|
+
:type blob_container: IO[bytes]
|
689
687
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
690
688
|
Default value is "application/json".
|
691
689
|
:paramtype content_type: str
|
692
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
693
690
|
:return: BlobContainer or the result of cls(response)
|
694
691
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
695
692
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -701,7 +698,7 @@ class BlobContainersOperations:
|
|
701
698
|
resource_group_name: str,
|
702
699
|
account_name: str,
|
703
700
|
container_name: str,
|
704
|
-
blob_container: Union[_models.BlobContainer, IO],
|
701
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
705
702
|
**kwargs: Any
|
706
703
|
) -> _models.BlobContainer:
|
707
704
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -721,17 +718,13 @@ class BlobContainersOperations:
|
|
721
718
|
by a letter or number. Required.
|
722
719
|
:type container_name: str
|
723
720
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
724
|
-
type or a IO type. Required.
|
725
|
-
:type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO
|
726
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
727
|
-
Default value is None.
|
728
|
-
:paramtype content_type: str
|
729
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
721
|
+
type or a IO[bytes] type. Required.
|
722
|
+
:type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO[bytes]
|
730
723
|
:return: BlobContainer or the result of cls(response)
|
731
724
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
732
725
|
:raises ~azure.core.exceptions.HttpResponseError:
|
733
726
|
"""
|
734
|
-
error_map = {
|
727
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
735
728
|
401: ClientAuthenticationError,
|
736
729
|
404: ResourceNotFoundError,
|
737
730
|
409: ResourceExistsError,
|
@@ -756,7 +749,7 @@ class BlobContainersOperations:
|
|
756
749
|
else:
|
757
750
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
758
751
|
|
759
|
-
|
752
|
+
_request = build_create_request(
|
760
753
|
resource_group_name=resource_group_name,
|
761
754
|
account_name=account_name,
|
762
755
|
container_name=container_name,
|
@@ -765,16 +758,15 @@ class BlobContainersOperations:
|
|
765
758
|
content_type=content_type,
|
766
759
|
json=_json,
|
767
760
|
content=_content,
|
768
|
-
template_url=self.create.metadata["url"],
|
769
761
|
headers=_headers,
|
770
762
|
params=_params,
|
771
763
|
)
|
772
|
-
|
773
|
-
|
764
|
+
_request = _convert_request(_request)
|
765
|
+
_request.url = self._client.format_url(_request.url)
|
774
766
|
|
775
767
|
_stream = False
|
776
768
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
777
|
-
|
769
|
+
_request, stream=_stream, **kwargs
|
778
770
|
)
|
779
771
|
|
780
772
|
response = pipeline_response.http_response
|
@@ -786,13 +778,9 @@ class BlobContainersOperations:
|
|
786
778
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
787
779
|
|
788
780
|
if cls:
|
789
|
-
return cls(pipeline_response, deserialized, {})
|
781
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
790
782
|
|
791
|
-
return deserialized
|
792
|
-
|
793
|
-
create.metadata = {
|
794
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
795
|
-
}
|
783
|
+
return deserialized # type: ignore
|
796
784
|
|
797
785
|
@overload
|
798
786
|
def update(
|
@@ -825,7 +813,6 @@ class BlobContainersOperations:
|
|
825
813
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
826
814
|
Default value is "application/json".
|
827
815
|
:paramtype content_type: str
|
828
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
829
816
|
:return: BlobContainer or the result of cls(response)
|
830
817
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
831
818
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -837,7 +824,7 @@ class BlobContainersOperations:
|
|
837
824
|
resource_group_name: str,
|
838
825
|
account_name: str,
|
839
826
|
container_name: str,
|
840
|
-
blob_container: IO,
|
827
|
+
blob_container: IO[bytes],
|
841
828
|
*,
|
842
829
|
content_type: str = "application/json",
|
843
830
|
**kwargs: Any
|
@@ -858,11 +845,10 @@ class BlobContainersOperations:
|
|
858
845
|
by a letter or number. Required.
|
859
846
|
:type container_name: str
|
860
847
|
:param blob_container: Properties to update for the blob container. Required.
|
861
|
-
:type blob_container: IO
|
848
|
+
:type blob_container: IO[bytes]
|
862
849
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
863
850
|
Default value is "application/json".
|
864
851
|
:paramtype content_type: str
|
865
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
866
852
|
:return: BlobContainer or the result of cls(response)
|
867
853
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
868
854
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -874,7 +860,7 @@ class BlobContainersOperations:
|
|
874
860
|
resource_group_name: str,
|
875
861
|
account_name: str,
|
876
862
|
container_name: str,
|
877
|
-
blob_container: Union[_models.BlobContainer, IO],
|
863
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
878
864
|
**kwargs: Any
|
879
865
|
) -> _models.BlobContainer:
|
880
866
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -893,17 +879,13 @@ class BlobContainersOperations:
|
|
893
879
|
by a letter or number. Required.
|
894
880
|
:type container_name: str
|
895
881
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
896
|
-
type or a IO type. Required.
|
897
|
-
:type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO
|
898
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
899
|
-
Default value is None.
|
900
|
-
:paramtype content_type: str
|
901
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
882
|
+
type or a IO[bytes] type. Required.
|
883
|
+
:type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO[bytes]
|
902
884
|
:return: BlobContainer or the result of cls(response)
|
903
885
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
904
886
|
:raises ~azure.core.exceptions.HttpResponseError:
|
905
887
|
"""
|
906
|
-
error_map = {
|
888
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
907
889
|
401: ClientAuthenticationError,
|
908
890
|
404: ResourceNotFoundError,
|
909
891
|
409: ResourceExistsError,
|
@@ -928,7 +910,7 @@ class BlobContainersOperations:
|
|
928
910
|
else:
|
929
911
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
930
912
|
|
931
|
-
|
913
|
+
_request = build_update_request(
|
932
914
|
resource_group_name=resource_group_name,
|
933
915
|
account_name=account_name,
|
934
916
|
container_name=container_name,
|
@@ -937,16 +919,15 @@ class BlobContainersOperations:
|
|
937
919
|
content_type=content_type,
|
938
920
|
json=_json,
|
939
921
|
content=_content,
|
940
|
-
template_url=self.update.metadata["url"],
|
941
922
|
headers=_headers,
|
942
923
|
params=_params,
|
943
924
|
)
|
944
|
-
|
945
|
-
|
925
|
+
_request = _convert_request(_request)
|
926
|
+
_request.url = self._client.format_url(_request.url)
|
946
927
|
|
947
928
|
_stream = False
|
948
929
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
949
|
-
|
930
|
+
_request, stream=_stream, **kwargs
|
950
931
|
)
|
951
932
|
|
952
933
|
response = pipeline_response.http_response
|
@@ -958,13 +939,9 @@ class BlobContainersOperations:
|
|
958
939
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
959
940
|
|
960
941
|
if cls:
|
961
|
-
return cls(pipeline_response, deserialized, {})
|
962
|
-
|
963
|
-
return deserialized
|
942
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
964
943
|
|
965
|
-
|
966
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
967
|
-
}
|
944
|
+
return deserialized # type: ignore
|
968
945
|
|
969
946
|
@distributed_trace
|
970
947
|
def get(
|
@@ -984,12 +961,11 @@ class BlobContainersOperations:
|
|
984
961
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
985
962
|
by a letter or number. Required.
|
986
963
|
:type container_name: str
|
987
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
988
964
|
:return: BlobContainer or the result of cls(response)
|
989
965
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
|
990
966
|
:raises ~azure.core.exceptions.HttpResponseError:
|
991
967
|
"""
|
992
|
-
error_map = {
|
968
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
993
969
|
401: ClientAuthenticationError,
|
994
970
|
404: ResourceNotFoundError,
|
995
971
|
409: ResourceExistsError,
|
@@ -1005,22 +981,21 @@ class BlobContainersOperations:
|
|
1005
981
|
)
|
1006
982
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
1007
983
|
|
1008
|
-
|
984
|
+
_request = build_get_request(
|
1009
985
|
resource_group_name=resource_group_name,
|
1010
986
|
account_name=account_name,
|
1011
987
|
container_name=container_name,
|
1012
988
|
subscription_id=self._config.subscription_id,
|
1013
989
|
api_version=api_version,
|
1014
|
-
template_url=self.get.metadata["url"],
|
1015
990
|
headers=_headers,
|
1016
991
|
params=_params,
|
1017
992
|
)
|
1018
|
-
|
1019
|
-
|
993
|
+
_request = _convert_request(_request)
|
994
|
+
_request.url = self._client.format_url(_request.url)
|
1020
995
|
|
1021
996
|
_stream = False
|
1022
997
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1023
|
-
|
998
|
+
_request, stream=_stream, **kwargs
|
1024
999
|
)
|
1025
1000
|
|
1026
1001
|
response = pipeline_response.http_response
|
@@ -1032,13 +1007,9 @@ class BlobContainersOperations:
|
|
1032
1007
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1033
1008
|
|
1034
1009
|
if cls:
|
1035
|
-
return cls(pipeline_response, deserialized, {})
|
1010
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1036
1011
|
|
1037
|
-
return deserialized
|
1038
|
-
|
1039
|
-
get.metadata = {
|
1040
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1041
|
-
}
|
1012
|
+
return deserialized # type: ignore
|
1042
1013
|
|
1043
1014
|
@distributed_trace
|
1044
1015
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -1058,12 +1029,11 @@ class BlobContainersOperations:
|
|
1058
1029
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1059
1030
|
by a letter or number. Required.
|
1060
1031
|
:type container_name: str
|
1061
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1062
1032
|
:return: None or the result of cls(response)
|
1063
1033
|
:rtype: None
|
1064
1034
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1065
1035
|
"""
|
1066
|
-
error_map = {
|
1036
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1067
1037
|
401: ClientAuthenticationError,
|
1068
1038
|
404: ResourceNotFoundError,
|
1069
1039
|
409: ResourceExistsError,
|
@@ -1079,22 +1049,21 @@ class BlobContainersOperations:
|
|
1079
1049
|
)
|
1080
1050
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1081
1051
|
|
1082
|
-
|
1052
|
+
_request = build_delete_request(
|
1083
1053
|
resource_group_name=resource_group_name,
|
1084
1054
|
account_name=account_name,
|
1085
1055
|
container_name=container_name,
|
1086
1056
|
subscription_id=self._config.subscription_id,
|
1087
1057
|
api_version=api_version,
|
1088
|
-
template_url=self.delete.metadata["url"],
|
1089
1058
|
headers=_headers,
|
1090
1059
|
params=_params,
|
1091
1060
|
)
|
1092
|
-
|
1093
|
-
|
1061
|
+
_request = _convert_request(_request)
|
1062
|
+
_request.url = self._client.format_url(_request.url)
|
1094
1063
|
|
1095
1064
|
_stream = False
|
1096
1065
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1097
|
-
|
1066
|
+
_request, stream=_stream, **kwargs
|
1098
1067
|
)
|
1099
1068
|
|
1100
1069
|
response = pipeline_response.http_response
|
@@ -1104,11 +1073,7 @@ class BlobContainersOperations:
|
|
1104
1073
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1105
1074
|
|
1106
1075
|
if cls:
|
1107
|
-
return cls(pipeline_response, None, {})
|
1108
|
-
|
1109
|
-
delete.metadata = {
|
1110
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1111
|
-
}
|
1076
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1112
1077
|
|
1113
1078
|
@overload
|
1114
1079
|
def set_legal_hold(
|
@@ -1142,7 +1107,6 @@ class BlobContainersOperations:
|
|
1142
1107
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1143
1108
|
Default value is "application/json".
|
1144
1109
|
:paramtype content_type: str
|
1145
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1146
1110
|
:return: LegalHold or the result of cls(response)
|
1147
1111
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
1148
1112
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1154,7 +1118,7 @@ class BlobContainersOperations:
|
|
1154
1118
|
resource_group_name: str,
|
1155
1119
|
account_name: str,
|
1156
1120
|
container_name: str,
|
1157
|
-
legal_hold: IO,
|
1121
|
+
legal_hold: IO[bytes],
|
1158
1122
|
*,
|
1159
1123
|
content_type: str = "application/json",
|
1160
1124
|
**kwargs: Any
|
@@ -1176,11 +1140,10 @@ class BlobContainersOperations:
|
|
1176
1140
|
by a letter or number. Required.
|
1177
1141
|
:type container_name: str
|
1178
1142
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
1179
|
-
:type legal_hold: IO
|
1143
|
+
:type legal_hold: IO[bytes]
|
1180
1144
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1181
1145
|
Default value is "application/json".
|
1182
1146
|
:paramtype content_type: str
|
1183
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1184
1147
|
:return: LegalHold or the result of cls(response)
|
1185
1148
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
1186
1149
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1192,7 +1155,7 @@ class BlobContainersOperations:
|
|
1192
1155
|
resource_group_name: str,
|
1193
1156
|
account_name: str,
|
1194
1157
|
container_name: str,
|
1195
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1158
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1196
1159
|
**kwargs: Any
|
1197
1160
|
) -> _models.LegalHold:
|
1198
1161
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -1212,17 +1175,13 @@ class BlobContainersOperations:
|
|
1212
1175
|
by a letter or number. Required.
|
1213
1176
|
:type container_name: str
|
1214
1177
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
1215
|
-
LegalHold type or a IO type. Required.
|
1216
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO
|
1217
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1218
|
-
Default value is None.
|
1219
|
-
:paramtype content_type: str
|
1220
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1178
|
+
LegalHold type or a IO[bytes] type. Required.
|
1179
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO[bytes]
|
1221
1180
|
:return: LegalHold or the result of cls(response)
|
1222
1181
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
1223
1182
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1224
1183
|
"""
|
1225
|
-
error_map = {
|
1184
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1226
1185
|
401: ClientAuthenticationError,
|
1227
1186
|
404: ResourceNotFoundError,
|
1228
1187
|
409: ResourceExistsError,
|
@@ -1247,7 +1206,7 @@ class BlobContainersOperations:
|
|
1247
1206
|
else:
|
1248
1207
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1249
1208
|
|
1250
|
-
|
1209
|
+
_request = build_set_legal_hold_request(
|
1251
1210
|
resource_group_name=resource_group_name,
|
1252
1211
|
account_name=account_name,
|
1253
1212
|
container_name=container_name,
|
@@ -1256,16 +1215,15 @@ class BlobContainersOperations:
|
|
1256
1215
|
content_type=content_type,
|
1257
1216
|
json=_json,
|
1258
1217
|
content=_content,
|
1259
|
-
template_url=self.set_legal_hold.metadata["url"],
|
1260
1218
|
headers=_headers,
|
1261
1219
|
params=_params,
|
1262
1220
|
)
|
1263
|
-
|
1264
|
-
|
1221
|
+
_request = _convert_request(_request)
|
1222
|
+
_request.url = self._client.format_url(_request.url)
|
1265
1223
|
|
1266
1224
|
_stream = False
|
1267
1225
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1268
|
-
|
1226
|
+
_request, stream=_stream, **kwargs
|
1269
1227
|
)
|
1270
1228
|
|
1271
1229
|
response = pipeline_response.http_response
|
@@ -1277,13 +1235,9 @@ class BlobContainersOperations:
|
|
1277
1235
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1278
1236
|
|
1279
1237
|
if cls:
|
1280
|
-
return cls(pipeline_response, deserialized, {})
|
1238
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1281
1239
|
|
1282
|
-
return deserialized
|
1283
|
-
|
1284
|
-
set_legal_hold.metadata = {
|
1285
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
1286
|
-
}
|
1240
|
+
return deserialized # type: ignore
|
1287
1241
|
|
1288
1242
|
@overload
|
1289
1243
|
def clear_legal_hold(
|
@@ -1316,7 +1270,6 @@ class BlobContainersOperations:
|
|
1316
1270
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1317
1271
|
Default value is "application/json".
|
1318
1272
|
:paramtype content_type: str
|
1319
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1320
1273
|
:return: LegalHold or the result of cls(response)
|
1321
1274
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
1322
1275
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1328,7 +1281,7 @@ class BlobContainersOperations:
|
|
1328
1281
|
resource_group_name: str,
|
1329
1282
|
account_name: str,
|
1330
1283
|
container_name: str,
|
1331
|
-
legal_hold: IO,
|
1284
|
+
legal_hold: IO[bytes],
|
1332
1285
|
*,
|
1333
1286
|
content_type: str = "application/json",
|
1334
1287
|
**kwargs: Any
|
@@ -1349,11 +1302,10 @@ class BlobContainersOperations:
|
|
1349
1302
|
by a letter or number. Required.
|
1350
1303
|
:type container_name: str
|
1351
1304
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
1352
|
-
:type legal_hold: IO
|
1305
|
+
:type legal_hold: IO[bytes]
|
1353
1306
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1354
1307
|
Default value is "application/json".
|
1355
1308
|
:paramtype content_type: str
|
1356
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1357
1309
|
:return: LegalHold or the result of cls(response)
|
1358
1310
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
1359
1311
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1365,7 +1317,7 @@ class BlobContainersOperations:
|
|
1365
1317
|
resource_group_name: str,
|
1366
1318
|
account_name: str,
|
1367
1319
|
container_name: str,
|
1368
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1320
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1369
1321
|
**kwargs: Any
|
1370
1322
|
) -> _models.LegalHold:
|
1371
1323
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -1384,17 +1336,13 @@ class BlobContainersOperations:
|
|
1384
1336
|
by a letter or number. Required.
|
1385
1337
|
:type container_name: str
|
1386
1338
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
1387
|
-
LegalHold type or a IO type. Required.
|
1388
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO
|
1389
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1390
|
-
Default value is None.
|
1391
|
-
:paramtype content_type: str
|
1392
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1339
|
+
LegalHold type or a IO[bytes] type. Required.
|
1340
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO[bytes]
|
1393
1341
|
:return: LegalHold or the result of cls(response)
|
1394
1342
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
|
1395
1343
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1396
1344
|
"""
|
1397
|
-
error_map = {
|
1345
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1398
1346
|
401: ClientAuthenticationError,
|
1399
1347
|
404: ResourceNotFoundError,
|
1400
1348
|
409: ResourceExistsError,
|
@@ -1419,7 +1367,7 @@ class BlobContainersOperations:
|
|
1419
1367
|
else:
|
1420
1368
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1421
1369
|
|
1422
|
-
|
1370
|
+
_request = build_clear_legal_hold_request(
|
1423
1371
|
resource_group_name=resource_group_name,
|
1424
1372
|
account_name=account_name,
|
1425
1373
|
container_name=container_name,
|
@@ -1428,16 +1376,15 @@ class BlobContainersOperations:
|
|
1428
1376
|
content_type=content_type,
|
1429
1377
|
json=_json,
|
1430
1378
|
content=_content,
|
1431
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1432
1379
|
headers=_headers,
|
1433
1380
|
params=_params,
|
1434
1381
|
)
|
1435
|
-
|
1436
|
-
|
1382
|
+
_request = _convert_request(_request)
|
1383
|
+
_request.url = self._client.format_url(_request.url)
|
1437
1384
|
|
1438
1385
|
_stream = False
|
1439
1386
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1440
|
-
|
1387
|
+
_request, stream=_stream, **kwargs
|
1441
1388
|
)
|
1442
1389
|
|
1443
1390
|
response = pipeline_response.http_response
|
@@ -1449,13 +1396,9 @@ class BlobContainersOperations:
|
|
1449
1396
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1450
1397
|
|
1451
1398
|
if cls:
|
1452
|
-
return cls(pipeline_response, deserialized, {})
|
1399
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1453
1400
|
|
1454
|
-
return deserialized
|
1455
|
-
|
1456
|
-
clear_legal_hold.metadata = {
|
1457
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1458
|
-
}
|
1401
|
+
return deserialized # type: ignore
|
1459
1402
|
|
1460
1403
|
@overload
|
1461
1404
|
def create_or_update_immutability_policy(
|
@@ -1498,7 +1441,6 @@ class BlobContainersOperations:
|
|
1498
1441
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1499
1442
|
Default value is "application/json".
|
1500
1443
|
:paramtype content_type: str
|
1501
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1502
1444
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1503
1445
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1504
1446
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1512,7 +1454,7 @@ class BlobContainersOperations:
|
|
1512
1454
|
container_name: str,
|
1513
1455
|
immutability_policy_name: Union[str, _models.Enum13],
|
1514
1456
|
if_match: Optional[str] = None,
|
1515
|
-
parameters: Optional[IO] = None,
|
1457
|
+
parameters: Optional[IO[bytes]] = None,
|
1516
1458
|
*,
|
1517
1459
|
content_type: str = "application/json",
|
1518
1460
|
**kwargs: Any
|
@@ -1541,11 +1483,10 @@ class BlobContainersOperations:
|
|
1541
1483
|
:type if_match: str
|
1542
1484
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1543
1485
|
container. Default value is None.
|
1544
|
-
:type parameters: IO
|
1486
|
+
:type parameters: IO[bytes]
|
1545
1487
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1546
1488
|
Default value is "application/json".
|
1547
1489
|
:paramtype content_type: str
|
1548
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1549
1490
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1550
1491
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1551
1492
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1559,7 +1500,7 @@ class BlobContainersOperations:
|
|
1559
1500
|
container_name: str,
|
1560
1501
|
immutability_policy_name: Union[str, _models.Enum13],
|
1561
1502
|
if_match: Optional[str] = None,
|
1562
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1503
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1563
1504
|
**kwargs: Any
|
1564
1505
|
) -> _models.ImmutabilityPolicy:
|
1565
1506
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1585,17 +1526,14 @@ class BlobContainersOperations:
|
|
1585
1526
|
omitted, this operation will always be applied. Default value is None.
|
1586
1527
|
:type if_match: str
|
1587
1528
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1588
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1589
|
-
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
|
1590
|
-
|
1591
|
-
Default value is None.
|
1592
|
-
:paramtype content_type: str
|
1593
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1529
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1530
|
+
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
|
1531
|
+
IO[bytes]
|
1594
1532
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1595
1533
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1596
1534
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1597
1535
|
"""
|
1598
|
-
error_map = {
|
1536
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1599
1537
|
401: ClientAuthenticationError,
|
1600
1538
|
404: ResourceNotFoundError,
|
1601
1539
|
409: ResourceExistsError,
|
@@ -1623,7 +1561,7 @@ class BlobContainersOperations:
|
|
1623
1561
|
else:
|
1624
1562
|
_json = None
|
1625
1563
|
|
1626
|
-
|
1564
|
+
_request = build_create_or_update_immutability_policy_request(
|
1627
1565
|
resource_group_name=resource_group_name,
|
1628
1566
|
account_name=account_name,
|
1629
1567
|
container_name=container_name,
|
@@ -1634,16 +1572,15 @@ class BlobContainersOperations:
|
|
1634
1572
|
content_type=content_type,
|
1635
1573
|
json=_json,
|
1636
1574
|
content=_content,
|
1637
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1638
1575
|
headers=_headers,
|
1639
1576
|
params=_params,
|
1640
1577
|
)
|
1641
|
-
|
1642
|
-
|
1578
|
+
_request = _convert_request(_request)
|
1579
|
+
_request.url = self._client.format_url(_request.url)
|
1643
1580
|
|
1644
1581
|
_stream = False
|
1645
1582
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1646
|
-
|
1583
|
+
_request, stream=_stream, **kwargs
|
1647
1584
|
)
|
1648
1585
|
|
1649
1586
|
response = pipeline_response.http_response
|
@@ -1658,13 +1595,9 @@ class BlobContainersOperations:
|
|
1658
1595
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1659
1596
|
|
1660
1597
|
if cls:
|
1661
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1598
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1662
1599
|
|
1663
|
-
return deserialized
|
1664
|
-
|
1665
|
-
create_or_update_immutability_policy.metadata = {
|
1666
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1667
|
-
}
|
1600
|
+
return deserialized # type: ignore
|
1668
1601
|
|
1669
1602
|
@distributed_trace
|
1670
1603
|
def get_immutability_policy(
|
@@ -1698,12 +1631,11 @@ class BlobContainersOperations:
|
|
1698
1631
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1699
1632
|
omitted, this operation will always be applied. Default value is None.
|
1700
1633
|
:type if_match: str
|
1701
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1702
1634
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1703
1635
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1704
1636
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1705
1637
|
"""
|
1706
|
-
error_map = {
|
1638
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1707
1639
|
401: ClientAuthenticationError,
|
1708
1640
|
404: ResourceNotFoundError,
|
1709
1641
|
409: ResourceExistsError,
|
@@ -1719,7 +1651,7 @@ class BlobContainersOperations:
|
|
1719
1651
|
)
|
1720
1652
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1721
1653
|
|
1722
|
-
|
1654
|
+
_request = build_get_immutability_policy_request(
|
1723
1655
|
resource_group_name=resource_group_name,
|
1724
1656
|
account_name=account_name,
|
1725
1657
|
container_name=container_name,
|
@@ -1727,16 +1659,15 @@ class BlobContainersOperations:
|
|
1727
1659
|
subscription_id=self._config.subscription_id,
|
1728
1660
|
if_match=if_match,
|
1729
1661
|
api_version=api_version,
|
1730
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1731
1662
|
headers=_headers,
|
1732
1663
|
params=_params,
|
1733
1664
|
)
|
1734
|
-
|
1735
|
-
|
1665
|
+
_request = _convert_request(_request)
|
1666
|
+
_request.url = self._client.format_url(_request.url)
|
1736
1667
|
|
1737
1668
|
_stream = False
|
1738
1669
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1739
|
-
|
1670
|
+
_request, stream=_stream, **kwargs
|
1740
1671
|
)
|
1741
1672
|
|
1742
1673
|
response = pipeline_response.http_response
|
@@ -1751,13 +1682,9 @@ class BlobContainersOperations:
|
|
1751
1682
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1752
1683
|
|
1753
1684
|
if cls:
|
1754
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1685
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1755
1686
|
|
1756
|
-
return deserialized
|
1757
|
-
|
1758
|
-
get_immutability_policy.metadata = {
|
1759
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1760
|
-
}
|
1687
|
+
return deserialized # type: ignore
|
1761
1688
|
|
1762
1689
|
@distributed_trace
|
1763
1690
|
def delete_immutability_policy(
|
@@ -1793,12 +1720,11 @@ class BlobContainersOperations:
|
|
1793
1720
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1794
1721
|
omitted, this operation will always be applied. Required.
|
1795
1722
|
:type if_match: str
|
1796
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1797
1723
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1798
1724
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1799
1725
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1800
1726
|
"""
|
1801
|
-
error_map = {
|
1727
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1802
1728
|
401: ClientAuthenticationError,
|
1803
1729
|
404: ResourceNotFoundError,
|
1804
1730
|
409: ResourceExistsError,
|
@@ -1814,7 +1740,7 @@ class BlobContainersOperations:
|
|
1814
1740
|
)
|
1815
1741
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1816
1742
|
|
1817
|
-
|
1743
|
+
_request = build_delete_immutability_policy_request(
|
1818
1744
|
resource_group_name=resource_group_name,
|
1819
1745
|
account_name=account_name,
|
1820
1746
|
container_name=container_name,
|
@@ -1822,16 +1748,15 @@ class BlobContainersOperations:
|
|
1822
1748
|
subscription_id=self._config.subscription_id,
|
1823
1749
|
if_match=if_match,
|
1824
1750
|
api_version=api_version,
|
1825
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1826
1751
|
headers=_headers,
|
1827
1752
|
params=_params,
|
1828
1753
|
)
|
1829
|
-
|
1830
|
-
|
1754
|
+
_request = _convert_request(_request)
|
1755
|
+
_request.url = self._client.format_url(_request.url)
|
1831
1756
|
|
1832
1757
|
_stream = False
|
1833
1758
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1834
|
-
|
1759
|
+
_request, stream=_stream, **kwargs
|
1835
1760
|
)
|
1836
1761
|
|
1837
1762
|
response = pipeline_response.http_response
|
@@ -1846,13 +1771,9 @@ class BlobContainersOperations:
|
|
1846
1771
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1847
1772
|
|
1848
1773
|
if cls:
|
1849
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1774
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1850
1775
|
|
1851
|
-
return deserialized
|
1852
|
-
|
1853
|
-
delete_immutability_policy.metadata = {
|
1854
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1855
|
-
}
|
1776
|
+
return deserialized # type: ignore
|
1856
1777
|
|
1857
1778
|
@distributed_trace
|
1858
1779
|
def lock_immutability_policy(
|
@@ -1877,12 +1798,11 @@ class BlobContainersOperations:
|
|
1877
1798
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1878
1799
|
omitted, this operation will always be applied. Required.
|
1879
1800
|
:type if_match: str
|
1880
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1881
1801
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1882
1802
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1883
1803
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1884
1804
|
"""
|
1885
|
-
error_map = {
|
1805
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1886
1806
|
401: ClientAuthenticationError,
|
1887
1807
|
404: ResourceNotFoundError,
|
1888
1808
|
409: ResourceExistsError,
|
@@ -1898,23 +1818,22 @@ class BlobContainersOperations:
|
|
1898
1818
|
)
|
1899
1819
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1900
1820
|
|
1901
|
-
|
1821
|
+
_request = build_lock_immutability_policy_request(
|
1902
1822
|
resource_group_name=resource_group_name,
|
1903
1823
|
account_name=account_name,
|
1904
1824
|
container_name=container_name,
|
1905
1825
|
subscription_id=self._config.subscription_id,
|
1906
1826
|
if_match=if_match,
|
1907
1827
|
api_version=api_version,
|
1908
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1909
1828
|
headers=_headers,
|
1910
1829
|
params=_params,
|
1911
1830
|
)
|
1912
|
-
|
1913
|
-
|
1831
|
+
_request = _convert_request(_request)
|
1832
|
+
_request.url = self._client.format_url(_request.url)
|
1914
1833
|
|
1915
1834
|
_stream = False
|
1916
1835
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1917
|
-
|
1836
|
+
_request, stream=_stream, **kwargs
|
1918
1837
|
)
|
1919
1838
|
|
1920
1839
|
response = pipeline_response.http_response
|
@@ -1929,13 +1848,9 @@ class BlobContainersOperations:
|
|
1929
1848
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1930
1849
|
|
1931
1850
|
if cls:
|
1932
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1851
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1933
1852
|
|
1934
|
-
return deserialized
|
1935
|
-
|
1936
|
-
lock_immutability_policy.metadata = {
|
1937
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1938
|
-
}
|
1853
|
+
return deserialized # type: ignore
|
1939
1854
|
|
1940
1855
|
@overload
|
1941
1856
|
def extend_immutability_policy(
|
@@ -1975,7 +1890,6 @@ class BlobContainersOperations:
|
|
1975
1890
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1976
1891
|
Default value is "application/json".
|
1977
1892
|
:paramtype content_type: str
|
1978
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1979
1893
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1980
1894
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
1981
1895
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1988,7 +1902,7 @@ class BlobContainersOperations:
|
|
1988
1902
|
account_name: str,
|
1989
1903
|
container_name: str,
|
1990
1904
|
if_match: str,
|
1991
|
-
parameters: Optional[IO] = None,
|
1905
|
+
parameters: Optional[IO[bytes]] = None,
|
1992
1906
|
*,
|
1993
1907
|
content_type: str = "application/json",
|
1994
1908
|
**kwargs: Any
|
@@ -2015,11 +1929,10 @@ class BlobContainersOperations:
|
|
2015
1929
|
:type if_match: str
|
2016
1930
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2017
1931
|
container. Default value is None.
|
2018
|
-
:type parameters: IO
|
1932
|
+
:type parameters: IO[bytes]
|
2019
1933
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2020
1934
|
Default value is "application/json".
|
2021
1935
|
:paramtype content_type: str
|
2022
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2023
1936
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2024
1937
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
2025
1938
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2032,7 +1945,7 @@ class BlobContainersOperations:
|
|
2032
1945
|
account_name: str,
|
2033
1946
|
container_name: str,
|
2034
1947
|
if_match: str,
|
2035
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1948
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
2036
1949
|
**kwargs: Any
|
2037
1950
|
) -> _models.ImmutabilityPolicy:
|
2038
1951
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -2056,17 +1969,14 @@ class BlobContainersOperations:
|
|
2056
1969
|
omitted, this operation will always be applied. Required.
|
2057
1970
|
:type if_match: str
|
2058
1971
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2059
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
2060
|
-
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
|
2061
|
-
|
2062
|
-
Default value is None.
|
2063
|
-
:paramtype content_type: str
|
2064
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1972
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1973
|
+
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
|
1974
|
+
IO[bytes]
|
2065
1975
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2066
1976
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
|
2067
1977
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2068
1978
|
"""
|
2069
|
-
error_map = {
|
1979
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2070
1980
|
401: ClientAuthenticationError,
|
2071
1981
|
404: ResourceNotFoundError,
|
2072
1982
|
409: ResourceExistsError,
|
@@ -2094,7 +2004,7 @@ class BlobContainersOperations:
|
|
2094
2004
|
else:
|
2095
2005
|
_json = None
|
2096
2006
|
|
2097
|
-
|
2007
|
+
_request = build_extend_immutability_policy_request(
|
2098
2008
|
resource_group_name=resource_group_name,
|
2099
2009
|
account_name=account_name,
|
2100
2010
|
container_name=container_name,
|
@@ -2104,16 +2014,15 @@ class BlobContainersOperations:
|
|
2104
2014
|
content_type=content_type,
|
2105
2015
|
json=_json,
|
2106
2016
|
content=_content,
|
2107
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
2108
2017
|
headers=_headers,
|
2109
2018
|
params=_params,
|
2110
2019
|
)
|
2111
|
-
|
2112
|
-
|
2020
|
+
_request = _convert_request(_request)
|
2021
|
+
_request.url = self._client.format_url(_request.url)
|
2113
2022
|
|
2114
2023
|
_stream = False
|
2115
2024
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2116
|
-
|
2025
|
+
_request, stream=_stream, **kwargs
|
2117
2026
|
)
|
2118
2027
|
|
2119
2028
|
response = pipeline_response.http_response
|
@@ -2128,13 +2037,9 @@ class BlobContainersOperations:
|
|
2128
2037
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2129
2038
|
|
2130
2039
|
if cls:
|
2131
|
-
return cls(pipeline_response, deserialized, response_headers)
|
2132
|
-
|
2133
|
-
return deserialized
|
2040
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2134
2041
|
|
2135
|
-
|
2136
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
2137
|
-
}
|
2042
|
+
return deserialized # type: ignore
|
2138
2043
|
|
2139
2044
|
@overload
|
2140
2045
|
def lease(
|
@@ -2167,7 +2072,6 @@ class BlobContainersOperations:
|
|
2167
2072
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2168
2073
|
Default value is "application/json".
|
2169
2074
|
:paramtype content_type: str
|
2170
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2171
2075
|
:return: LeaseContainerResponse or the result of cls(response)
|
2172
2076
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
|
2173
2077
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2179,7 +2083,7 @@ class BlobContainersOperations:
|
|
2179
2083
|
resource_group_name: str,
|
2180
2084
|
account_name: str,
|
2181
2085
|
container_name: str,
|
2182
|
-
parameters: Optional[IO] = None,
|
2086
|
+
parameters: Optional[IO[bytes]] = None,
|
2183
2087
|
*,
|
2184
2088
|
content_type: str = "application/json",
|
2185
2089
|
**kwargs: Any
|
@@ -2200,11 +2104,10 @@ class BlobContainersOperations:
|
|
2200
2104
|
by a letter or number. Required.
|
2201
2105
|
:type container_name: str
|
2202
2106
|
:param parameters: Lease Container request body. Default value is None.
|
2203
|
-
:type parameters: IO
|
2107
|
+
:type parameters: IO[bytes]
|
2204
2108
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2205
2109
|
Default value is "application/json".
|
2206
2110
|
:paramtype content_type: str
|
2207
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2208
2111
|
:return: LeaseContainerResponse or the result of cls(response)
|
2209
2112
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
|
2210
2113
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2216,7 +2119,7 @@ class BlobContainersOperations:
|
|
2216
2119
|
resource_group_name: str,
|
2217
2120
|
account_name: str,
|
2218
2121
|
container_name: str,
|
2219
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
2122
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
2220
2123
|
**kwargs: Any
|
2221
2124
|
) -> _models.LeaseContainerResponse:
|
2222
2125
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -2234,18 +2137,15 @@ class BlobContainersOperations:
|
|
2234
2137
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2235
2138
|
by a letter or number. Required.
|
2236
2139
|
:type container_name: str
|
2237
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2238
|
-
type. Default value is None.
|
2239
|
-
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerRequest or
|
2240
|
-
|
2241
|
-
Default value is None.
|
2242
|
-
:paramtype content_type: str
|
2243
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2140
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2141
|
+
IO[bytes] type. Default value is None.
|
2142
|
+
:type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerRequest or
|
2143
|
+
IO[bytes]
|
2244
2144
|
:return: LeaseContainerResponse or the result of cls(response)
|
2245
2145
|
:rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
|
2246
2146
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2247
2147
|
"""
|
2248
|
-
error_map = {
|
2148
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2249
2149
|
401: ClientAuthenticationError,
|
2250
2150
|
404: ResourceNotFoundError,
|
2251
2151
|
409: ResourceExistsError,
|
@@ -2273,7 +2173,7 @@ class BlobContainersOperations:
|
|
2273
2173
|
else:
|
2274
2174
|
_json = None
|
2275
2175
|
|
2276
|
-
|
2176
|
+
_request = build_lease_request(
|
2277
2177
|
resource_group_name=resource_group_name,
|
2278
2178
|
account_name=account_name,
|
2279
2179
|
container_name=container_name,
|
@@ -2282,16 +2182,15 @@ class BlobContainersOperations:
|
|
2282
2182
|
content_type=content_type,
|
2283
2183
|
json=_json,
|
2284
2184
|
content=_content,
|
2285
|
-
template_url=self.lease.metadata["url"],
|
2286
2185
|
headers=_headers,
|
2287
2186
|
params=_params,
|
2288
2187
|
)
|
2289
|
-
|
2290
|
-
|
2188
|
+
_request = _convert_request(_request)
|
2189
|
+
_request.url = self._client.format_url(_request.url)
|
2291
2190
|
|
2292
2191
|
_stream = False
|
2293
2192
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2294
|
-
|
2193
|
+
_request, stream=_stream, **kwargs
|
2295
2194
|
)
|
2296
2195
|
|
2297
2196
|
response = pipeline_response.http_response
|
@@ -2303,10 +2202,6 @@ class BlobContainersOperations:
|
|
2303
2202
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
2304
2203
|
|
2305
2204
|
if cls:
|
2306
|
-
return cls(pipeline_response, deserialized, {})
|
2205
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2307
2206
|
|
2308
|
-
return deserialized
|
2309
|
-
|
2310
|
-
lease.metadata = {
|
2311
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
2312
|
-
}
|
2207
|
+
return deserialized # type: ignore
|