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_02_01.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,
|
@@ -583,21 +587,20 @@ class BlobContainersOperations:
|
|
583
587
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
|
584
588
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
585
589
|
|
586
|
-
|
590
|
+
_request = build_list_request(
|
587
591
|
resource_group_name=resource_group_name,
|
588
592
|
account_name=account_name,
|
589
593
|
subscription_id=self._config.subscription_id,
|
590
594
|
api_version=api_version,
|
591
|
-
template_url=self.list.metadata["url"],
|
592
595
|
headers=_headers,
|
593
596
|
params=_params,
|
594
597
|
)
|
595
|
-
|
596
|
-
|
598
|
+
_request = _convert_request(_request)
|
599
|
+
_request.url = self._client.format_url(_request.url)
|
597
600
|
|
598
601
|
_stream = False
|
599
602
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
600
|
-
|
603
|
+
_request, stream=_stream, **kwargs
|
601
604
|
)
|
602
605
|
|
603
606
|
response = pipeline_response.http_response
|
@@ -609,13 +612,9 @@ class BlobContainersOperations:
|
|
609
612
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
610
613
|
|
611
614
|
if cls:
|
612
|
-
return cls(pipeline_response, deserialized, {})
|
615
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
613
616
|
|
614
|
-
return deserialized
|
615
|
-
|
616
|
-
list.metadata = {
|
617
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
618
|
-
}
|
617
|
+
return deserialized # type: ignore
|
619
618
|
|
620
619
|
@overload
|
621
620
|
def create(
|
@@ -649,7 +648,6 @@ class BlobContainersOperations:
|
|
649
648
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
650
649
|
Default value is "application/json".
|
651
650
|
:paramtype content_type: str
|
652
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
653
651
|
:return: BlobContainer or the result of cls(response)
|
654
652
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
|
655
653
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -661,7 +659,7 @@ class BlobContainersOperations:
|
|
661
659
|
resource_group_name: str,
|
662
660
|
account_name: str,
|
663
661
|
container_name: str,
|
664
|
-
blob_container: IO,
|
662
|
+
blob_container: IO[bytes],
|
665
663
|
*,
|
666
664
|
content_type: str = "application/json",
|
667
665
|
**kwargs: Any
|
@@ -683,11 +681,10 @@ class BlobContainersOperations:
|
|
683
681
|
by a letter or number. Required.
|
684
682
|
:type container_name: str
|
685
683
|
:param blob_container: Properties of the blob container to create. Required.
|
686
|
-
:type blob_container: IO
|
684
|
+
:type blob_container: IO[bytes]
|
687
685
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
688
686
|
Default value is "application/json".
|
689
687
|
:paramtype content_type: str
|
690
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
691
688
|
:return: BlobContainer or the result of cls(response)
|
692
689
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
|
693
690
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -699,7 +696,7 @@ class BlobContainersOperations:
|
|
699
696
|
resource_group_name: str,
|
700
697
|
account_name: str,
|
701
698
|
container_name: str,
|
702
|
-
blob_container: Union[_models.BlobContainer, IO],
|
699
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
703
700
|
**kwargs: Any
|
704
701
|
) -> _models.BlobContainer:
|
705
702
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -719,17 +716,13 @@ class BlobContainersOperations:
|
|
719
716
|
by a letter or number. Required.
|
720
717
|
:type container_name: str
|
721
718
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
722
|
-
type or a IO type. Required.
|
723
|
-
:type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO
|
724
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
725
|
-
Default value is None.
|
726
|
-
:paramtype content_type: str
|
727
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
719
|
+
type or a IO[bytes] type. Required.
|
720
|
+
:type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO[bytes]
|
728
721
|
:return: BlobContainer or the result of cls(response)
|
729
722
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
|
730
723
|
:raises ~azure.core.exceptions.HttpResponseError:
|
731
724
|
"""
|
732
|
-
error_map = {
|
725
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
733
726
|
401: ClientAuthenticationError,
|
734
727
|
404: ResourceNotFoundError,
|
735
728
|
409: ResourceExistsError,
|
@@ -752,7 +745,7 @@ class BlobContainersOperations:
|
|
752
745
|
else:
|
753
746
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
754
747
|
|
755
|
-
|
748
|
+
_request = build_create_request(
|
756
749
|
resource_group_name=resource_group_name,
|
757
750
|
account_name=account_name,
|
758
751
|
container_name=container_name,
|
@@ -761,16 +754,15 @@ class BlobContainersOperations:
|
|
761
754
|
content_type=content_type,
|
762
755
|
json=_json,
|
763
756
|
content=_content,
|
764
|
-
template_url=self.create.metadata["url"],
|
765
757
|
headers=_headers,
|
766
758
|
params=_params,
|
767
759
|
)
|
768
|
-
|
769
|
-
|
760
|
+
_request = _convert_request(_request)
|
761
|
+
_request.url = self._client.format_url(_request.url)
|
770
762
|
|
771
763
|
_stream = False
|
772
764
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
773
|
-
|
765
|
+
_request, stream=_stream, **kwargs
|
774
766
|
)
|
775
767
|
|
776
768
|
response = pipeline_response.http_response
|
@@ -782,13 +774,9 @@ class BlobContainersOperations:
|
|
782
774
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
783
775
|
|
784
776
|
if cls:
|
785
|
-
return cls(pipeline_response, deserialized, {})
|
777
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
786
778
|
|
787
|
-
return deserialized
|
788
|
-
|
789
|
-
create.metadata = {
|
790
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
791
|
-
}
|
779
|
+
return deserialized # type: ignore
|
792
780
|
|
793
781
|
@overload
|
794
782
|
def update(
|
@@ -821,7 +809,6 @@ class BlobContainersOperations:
|
|
821
809
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
822
810
|
Default value is "application/json".
|
823
811
|
:paramtype content_type: str
|
824
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
825
812
|
:return: BlobContainer or the result of cls(response)
|
826
813
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
|
827
814
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -833,7 +820,7 @@ class BlobContainersOperations:
|
|
833
820
|
resource_group_name: str,
|
834
821
|
account_name: str,
|
835
822
|
container_name: str,
|
836
|
-
blob_container: IO,
|
823
|
+
blob_container: IO[bytes],
|
837
824
|
*,
|
838
825
|
content_type: str = "application/json",
|
839
826
|
**kwargs: Any
|
@@ -854,11 +841,10 @@ class BlobContainersOperations:
|
|
854
841
|
by a letter or number. Required.
|
855
842
|
:type container_name: str
|
856
843
|
:param blob_container: Properties to update for the blob container. Required.
|
857
|
-
:type blob_container: IO
|
844
|
+
:type blob_container: IO[bytes]
|
858
845
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
859
846
|
Default value is "application/json".
|
860
847
|
:paramtype content_type: str
|
861
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
862
848
|
:return: BlobContainer or the result of cls(response)
|
863
849
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
|
864
850
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -870,7 +856,7 @@ class BlobContainersOperations:
|
|
870
856
|
resource_group_name: str,
|
871
857
|
account_name: str,
|
872
858
|
container_name: str,
|
873
|
-
blob_container: Union[_models.BlobContainer, IO],
|
859
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
874
860
|
**kwargs: Any
|
875
861
|
) -> _models.BlobContainer:
|
876
862
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -889,17 +875,13 @@ class BlobContainersOperations:
|
|
889
875
|
by a letter or number. Required.
|
890
876
|
:type container_name: str
|
891
877
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
892
|
-
type or a IO type. Required.
|
893
|
-
:type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO
|
894
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
895
|
-
Default value is None.
|
896
|
-
:paramtype content_type: str
|
897
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
878
|
+
type or a IO[bytes] type. Required.
|
879
|
+
:type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO[bytes]
|
898
880
|
:return: BlobContainer or the result of cls(response)
|
899
881
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
|
900
882
|
:raises ~azure.core.exceptions.HttpResponseError:
|
901
883
|
"""
|
902
|
-
error_map = {
|
884
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
903
885
|
401: ClientAuthenticationError,
|
904
886
|
404: ResourceNotFoundError,
|
905
887
|
409: ResourceExistsError,
|
@@ -922,7 +904,7 @@ class BlobContainersOperations:
|
|
922
904
|
else:
|
923
905
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
924
906
|
|
925
|
-
|
907
|
+
_request = build_update_request(
|
926
908
|
resource_group_name=resource_group_name,
|
927
909
|
account_name=account_name,
|
928
910
|
container_name=container_name,
|
@@ -931,16 +913,15 @@ class BlobContainersOperations:
|
|
931
913
|
content_type=content_type,
|
932
914
|
json=_json,
|
933
915
|
content=_content,
|
934
|
-
template_url=self.update.metadata["url"],
|
935
916
|
headers=_headers,
|
936
917
|
params=_params,
|
937
918
|
)
|
938
|
-
|
939
|
-
|
919
|
+
_request = _convert_request(_request)
|
920
|
+
_request.url = self._client.format_url(_request.url)
|
940
921
|
|
941
922
|
_stream = False
|
942
923
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
943
|
-
|
924
|
+
_request, stream=_stream, **kwargs
|
944
925
|
)
|
945
926
|
|
946
927
|
response = pipeline_response.http_response
|
@@ -952,13 +933,9 @@ class BlobContainersOperations:
|
|
952
933
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
953
934
|
|
954
935
|
if cls:
|
955
|
-
return cls(pipeline_response, deserialized, {})
|
956
|
-
|
957
|
-
return deserialized
|
936
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
958
937
|
|
959
|
-
|
960
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
961
|
-
}
|
938
|
+
return deserialized # type: ignore
|
962
939
|
|
963
940
|
@distributed_trace
|
964
941
|
def get(
|
@@ -978,12 +955,11 @@ class BlobContainersOperations:
|
|
978
955
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
979
956
|
by a letter or number. Required.
|
980
957
|
:type container_name: str
|
981
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
982
958
|
:return: BlobContainer or the result of cls(response)
|
983
959
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
|
984
960
|
:raises ~azure.core.exceptions.HttpResponseError:
|
985
961
|
"""
|
986
|
-
error_map = {
|
962
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
987
963
|
401: ClientAuthenticationError,
|
988
964
|
404: ResourceNotFoundError,
|
989
965
|
409: ResourceExistsError,
|
@@ -997,22 +973,21 @@ class BlobContainersOperations:
|
|
997
973
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
|
998
974
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
999
975
|
|
1000
|
-
|
976
|
+
_request = build_get_request(
|
1001
977
|
resource_group_name=resource_group_name,
|
1002
978
|
account_name=account_name,
|
1003
979
|
container_name=container_name,
|
1004
980
|
subscription_id=self._config.subscription_id,
|
1005
981
|
api_version=api_version,
|
1006
|
-
template_url=self.get.metadata["url"],
|
1007
982
|
headers=_headers,
|
1008
983
|
params=_params,
|
1009
984
|
)
|
1010
|
-
|
1011
|
-
|
985
|
+
_request = _convert_request(_request)
|
986
|
+
_request.url = self._client.format_url(_request.url)
|
1012
987
|
|
1013
988
|
_stream = False
|
1014
989
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1015
|
-
|
990
|
+
_request, stream=_stream, **kwargs
|
1016
991
|
)
|
1017
992
|
|
1018
993
|
response = pipeline_response.http_response
|
@@ -1024,13 +999,9 @@ class BlobContainersOperations:
|
|
1024
999
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
1025
1000
|
|
1026
1001
|
if cls:
|
1027
|
-
return cls(pipeline_response, deserialized, {})
|
1002
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1028
1003
|
|
1029
|
-
return deserialized
|
1030
|
-
|
1031
|
-
get.metadata = {
|
1032
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1033
|
-
}
|
1004
|
+
return deserialized # type: ignore
|
1034
1005
|
|
1035
1006
|
@distributed_trace
|
1036
1007
|
def delete( # pylint: disable=inconsistent-return-statements
|
@@ -1050,12 +1021,11 @@ class BlobContainersOperations:
|
|
1050
1021
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1051
1022
|
by a letter or number. Required.
|
1052
1023
|
:type container_name: str
|
1053
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1054
1024
|
:return: None or the result of cls(response)
|
1055
1025
|
:rtype: None
|
1056
1026
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1057
1027
|
"""
|
1058
|
-
error_map = {
|
1028
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1059
1029
|
401: ClientAuthenticationError,
|
1060
1030
|
404: ResourceNotFoundError,
|
1061
1031
|
409: ResourceExistsError,
|
@@ -1069,22 +1039,21 @@ class BlobContainersOperations:
|
|
1069
1039
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
|
1070
1040
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
1071
1041
|
|
1072
|
-
|
1042
|
+
_request = build_delete_request(
|
1073
1043
|
resource_group_name=resource_group_name,
|
1074
1044
|
account_name=account_name,
|
1075
1045
|
container_name=container_name,
|
1076
1046
|
subscription_id=self._config.subscription_id,
|
1077
1047
|
api_version=api_version,
|
1078
|
-
template_url=self.delete.metadata["url"],
|
1079
1048
|
headers=_headers,
|
1080
1049
|
params=_params,
|
1081
1050
|
)
|
1082
|
-
|
1083
|
-
|
1051
|
+
_request = _convert_request(_request)
|
1052
|
+
_request.url = self._client.format_url(_request.url)
|
1084
1053
|
|
1085
1054
|
_stream = False
|
1086
1055
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1087
|
-
|
1056
|
+
_request, stream=_stream, **kwargs
|
1088
1057
|
)
|
1089
1058
|
|
1090
1059
|
response = pipeline_response.http_response
|
@@ -1094,11 +1063,7 @@ class BlobContainersOperations:
|
|
1094
1063
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
1095
1064
|
|
1096
1065
|
if cls:
|
1097
|
-
return cls(pipeline_response, None, {})
|
1098
|
-
|
1099
|
-
delete.metadata = {
|
1100
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
1101
|
-
}
|
1066
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
1102
1067
|
|
1103
1068
|
@overload
|
1104
1069
|
def set_legal_hold(
|
@@ -1132,7 +1097,6 @@ class BlobContainersOperations:
|
|
1132
1097
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1133
1098
|
Default value is "application/json".
|
1134
1099
|
:paramtype content_type: str
|
1135
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1136
1100
|
:return: LegalHold or the result of cls(response)
|
1137
1101
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
|
1138
1102
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1144,7 +1108,7 @@ class BlobContainersOperations:
|
|
1144
1108
|
resource_group_name: str,
|
1145
1109
|
account_name: str,
|
1146
1110
|
container_name: str,
|
1147
|
-
legal_hold: IO,
|
1111
|
+
legal_hold: IO[bytes],
|
1148
1112
|
*,
|
1149
1113
|
content_type: str = "application/json",
|
1150
1114
|
**kwargs: Any
|
@@ -1166,11 +1130,10 @@ class BlobContainersOperations:
|
|
1166
1130
|
by a letter or number. Required.
|
1167
1131
|
:type container_name: str
|
1168
1132
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
1169
|
-
:type legal_hold: IO
|
1133
|
+
:type legal_hold: IO[bytes]
|
1170
1134
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1171
1135
|
Default value is "application/json".
|
1172
1136
|
:paramtype content_type: str
|
1173
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1174
1137
|
:return: LegalHold or the result of cls(response)
|
1175
1138
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
|
1176
1139
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1182,7 +1145,7 @@ class BlobContainersOperations:
|
|
1182
1145
|
resource_group_name: str,
|
1183
1146
|
account_name: str,
|
1184
1147
|
container_name: str,
|
1185
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1148
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1186
1149
|
**kwargs: Any
|
1187
1150
|
) -> _models.LegalHold:
|
1188
1151
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -1202,17 +1165,13 @@ class BlobContainersOperations:
|
|
1202
1165
|
by a letter or number. Required.
|
1203
1166
|
:type container_name: str
|
1204
1167
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
1205
|
-
LegalHold type or a IO type. Required.
|
1206
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO
|
1207
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1208
|
-
Default value is None.
|
1209
|
-
:paramtype content_type: str
|
1210
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1168
|
+
LegalHold type or a IO[bytes] type. Required.
|
1169
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO[bytes]
|
1211
1170
|
:return: LegalHold or the result of cls(response)
|
1212
1171
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
|
1213
1172
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1214
1173
|
"""
|
1215
|
-
error_map = {
|
1174
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1216
1175
|
401: ClientAuthenticationError,
|
1217
1176
|
404: ResourceNotFoundError,
|
1218
1177
|
409: ResourceExistsError,
|
@@ -1235,7 +1194,7 @@ class BlobContainersOperations:
|
|
1235
1194
|
else:
|
1236
1195
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1237
1196
|
|
1238
|
-
|
1197
|
+
_request = build_set_legal_hold_request(
|
1239
1198
|
resource_group_name=resource_group_name,
|
1240
1199
|
account_name=account_name,
|
1241
1200
|
container_name=container_name,
|
@@ -1244,16 +1203,15 @@ class BlobContainersOperations:
|
|
1244
1203
|
content_type=content_type,
|
1245
1204
|
json=_json,
|
1246
1205
|
content=_content,
|
1247
|
-
template_url=self.set_legal_hold.metadata["url"],
|
1248
1206
|
headers=_headers,
|
1249
1207
|
params=_params,
|
1250
1208
|
)
|
1251
|
-
|
1252
|
-
|
1209
|
+
_request = _convert_request(_request)
|
1210
|
+
_request.url = self._client.format_url(_request.url)
|
1253
1211
|
|
1254
1212
|
_stream = False
|
1255
1213
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1256
|
-
|
1214
|
+
_request, stream=_stream, **kwargs
|
1257
1215
|
)
|
1258
1216
|
|
1259
1217
|
response = pipeline_response.http_response
|
@@ -1265,13 +1223,9 @@ class BlobContainersOperations:
|
|
1265
1223
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1266
1224
|
|
1267
1225
|
if cls:
|
1268
|
-
return cls(pipeline_response, deserialized, {})
|
1226
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1269
1227
|
|
1270
|
-
return deserialized
|
1271
|
-
|
1272
|
-
set_legal_hold.metadata = {
|
1273
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
1274
|
-
}
|
1228
|
+
return deserialized # type: ignore
|
1275
1229
|
|
1276
1230
|
@overload
|
1277
1231
|
def clear_legal_hold(
|
@@ -1304,7 +1258,6 @@ class BlobContainersOperations:
|
|
1304
1258
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1305
1259
|
Default value is "application/json".
|
1306
1260
|
:paramtype content_type: str
|
1307
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1308
1261
|
:return: LegalHold or the result of cls(response)
|
1309
1262
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
|
1310
1263
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1316,7 +1269,7 @@ class BlobContainersOperations:
|
|
1316
1269
|
resource_group_name: str,
|
1317
1270
|
account_name: str,
|
1318
1271
|
container_name: str,
|
1319
|
-
legal_hold: IO,
|
1272
|
+
legal_hold: IO[bytes],
|
1320
1273
|
*,
|
1321
1274
|
content_type: str = "application/json",
|
1322
1275
|
**kwargs: Any
|
@@ -1337,11 +1290,10 @@ class BlobContainersOperations:
|
|
1337
1290
|
by a letter or number. Required.
|
1338
1291
|
:type container_name: str
|
1339
1292
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
1340
|
-
:type legal_hold: IO
|
1293
|
+
:type legal_hold: IO[bytes]
|
1341
1294
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1342
1295
|
Default value is "application/json".
|
1343
1296
|
:paramtype content_type: str
|
1344
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1345
1297
|
:return: LegalHold or the result of cls(response)
|
1346
1298
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
|
1347
1299
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1353,7 +1305,7 @@ class BlobContainersOperations:
|
|
1353
1305
|
resource_group_name: str,
|
1354
1306
|
account_name: str,
|
1355
1307
|
container_name: str,
|
1356
|
-
legal_hold: Union[_models.LegalHold, IO],
|
1308
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
1357
1309
|
**kwargs: Any
|
1358
1310
|
) -> _models.LegalHold:
|
1359
1311
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -1372,17 +1324,13 @@ class BlobContainersOperations:
|
|
1372
1324
|
by a letter or number. Required.
|
1373
1325
|
:type container_name: str
|
1374
1326
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
1375
|
-
LegalHold type or a IO type. Required.
|
1376
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO
|
1377
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1378
|
-
Default value is None.
|
1379
|
-
:paramtype content_type: str
|
1380
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1327
|
+
LegalHold type or a IO[bytes] type. Required.
|
1328
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO[bytes]
|
1381
1329
|
:return: LegalHold or the result of cls(response)
|
1382
1330
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
|
1383
1331
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1384
1332
|
"""
|
1385
|
-
error_map = {
|
1333
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1386
1334
|
401: ClientAuthenticationError,
|
1387
1335
|
404: ResourceNotFoundError,
|
1388
1336
|
409: ResourceExistsError,
|
@@ -1405,7 +1353,7 @@ class BlobContainersOperations:
|
|
1405
1353
|
else:
|
1406
1354
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
1407
1355
|
|
1408
|
-
|
1356
|
+
_request = build_clear_legal_hold_request(
|
1409
1357
|
resource_group_name=resource_group_name,
|
1410
1358
|
account_name=account_name,
|
1411
1359
|
container_name=container_name,
|
@@ -1414,16 +1362,15 @@ class BlobContainersOperations:
|
|
1414
1362
|
content_type=content_type,
|
1415
1363
|
json=_json,
|
1416
1364
|
content=_content,
|
1417
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
1418
1365
|
headers=_headers,
|
1419
1366
|
params=_params,
|
1420
1367
|
)
|
1421
|
-
|
1422
|
-
|
1368
|
+
_request = _convert_request(_request)
|
1369
|
+
_request.url = self._client.format_url(_request.url)
|
1423
1370
|
|
1424
1371
|
_stream = False
|
1425
1372
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1426
|
-
|
1373
|
+
_request, stream=_stream, **kwargs
|
1427
1374
|
)
|
1428
1375
|
|
1429
1376
|
response = pipeline_response.http_response
|
@@ -1435,13 +1382,9 @@ class BlobContainersOperations:
|
|
1435
1382
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
1436
1383
|
|
1437
1384
|
if cls:
|
1438
|
-
return cls(pipeline_response, deserialized, {})
|
1385
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1439
1386
|
|
1440
|
-
return deserialized
|
1441
|
-
|
1442
|
-
clear_legal_hold.metadata = {
|
1443
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
1444
|
-
}
|
1387
|
+
return deserialized # type: ignore
|
1445
1388
|
|
1446
1389
|
@overload
|
1447
1390
|
def create_or_update_immutability_policy(
|
@@ -1484,7 +1427,6 @@ class BlobContainersOperations:
|
|
1484
1427
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1485
1428
|
Default value is "application/json".
|
1486
1429
|
:paramtype content_type: str
|
1487
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1488
1430
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1489
1431
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
|
1490
1432
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1498,7 +1440,7 @@ class BlobContainersOperations:
|
|
1498
1440
|
container_name: str,
|
1499
1441
|
immutability_policy_name: Union[str, _models.Enum12],
|
1500
1442
|
if_match: Optional[str] = None,
|
1501
|
-
parameters: Optional[IO] = None,
|
1443
|
+
parameters: Optional[IO[bytes]] = None,
|
1502
1444
|
*,
|
1503
1445
|
content_type: str = "application/json",
|
1504
1446
|
**kwargs: Any
|
@@ -1527,11 +1469,10 @@ class BlobContainersOperations:
|
|
1527
1469
|
:type if_match: str
|
1528
1470
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1529
1471
|
container. Default value is None.
|
1530
|
-
:type parameters: IO
|
1472
|
+
:type parameters: IO[bytes]
|
1531
1473
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1532
1474
|
Default value is "application/json".
|
1533
1475
|
:paramtype content_type: str
|
1534
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1535
1476
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1536
1477
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
|
1537
1478
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1545,7 +1486,7 @@ class BlobContainersOperations:
|
|
1545
1486
|
container_name: str,
|
1546
1487
|
immutability_policy_name: Union[str, _models.Enum12],
|
1547
1488
|
if_match: Optional[str] = None,
|
1548
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1489
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1549
1490
|
**kwargs: Any
|
1550
1491
|
) -> _models.ImmutabilityPolicy:
|
1551
1492
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1571,17 +1512,13 @@ class BlobContainersOperations:
|
|
1571
1512
|
omitted, this operation will always be applied. Default value is None.
|
1572
1513
|
:type if_match: str
|
1573
1514
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1574
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1575
|
-
:type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO
|
1576
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1577
|
-
Default value is None.
|
1578
|
-
:paramtype content_type: str
|
1579
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1515
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1516
|
+
:type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO[bytes]
|
1580
1517
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1581
1518
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
|
1582
1519
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1583
1520
|
"""
|
1584
|
-
error_map = {
|
1521
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1585
1522
|
401: ClientAuthenticationError,
|
1586
1523
|
404: ResourceNotFoundError,
|
1587
1524
|
409: ResourceExistsError,
|
@@ -1607,7 +1544,7 @@ class BlobContainersOperations:
|
|
1607
1544
|
else:
|
1608
1545
|
_json = None
|
1609
1546
|
|
1610
|
-
|
1547
|
+
_request = build_create_or_update_immutability_policy_request(
|
1611
1548
|
resource_group_name=resource_group_name,
|
1612
1549
|
account_name=account_name,
|
1613
1550
|
container_name=container_name,
|
@@ -1618,16 +1555,15 @@ class BlobContainersOperations:
|
|
1618
1555
|
content_type=content_type,
|
1619
1556
|
json=_json,
|
1620
1557
|
content=_content,
|
1621
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1622
1558
|
headers=_headers,
|
1623
1559
|
params=_params,
|
1624
1560
|
)
|
1625
|
-
|
1626
|
-
|
1561
|
+
_request = _convert_request(_request)
|
1562
|
+
_request.url = self._client.format_url(_request.url)
|
1627
1563
|
|
1628
1564
|
_stream = False
|
1629
1565
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1630
|
-
|
1566
|
+
_request, stream=_stream, **kwargs
|
1631
1567
|
)
|
1632
1568
|
|
1633
1569
|
response = pipeline_response.http_response
|
@@ -1642,13 +1578,9 @@ class BlobContainersOperations:
|
|
1642
1578
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1643
1579
|
|
1644
1580
|
if cls:
|
1645
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1581
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1646
1582
|
|
1647
|
-
return deserialized
|
1648
|
-
|
1649
|
-
create_or_update_immutability_policy.metadata = {
|
1650
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1651
|
-
}
|
1583
|
+
return deserialized # type: ignore
|
1652
1584
|
|
1653
1585
|
@distributed_trace
|
1654
1586
|
def get_immutability_policy(
|
@@ -1682,12 +1614,11 @@ class BlobContainersOperations:
|
|
1682
1614
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1683
1615
|
omitted, this operation will always be applied. Default value is None.
|
1684
1616
|
:type if_match: str
|
1685
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1686
1617
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1687
1618
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
|
1688
1619
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1689
1620
|
"""
|
1690
|
-
error_map = {
|
1621
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1691
1622
|
401: ClientAuthenticationError,
|
1692
1623
|
404: ResourceNotFoundError,
|
1693
1624
|
409: ResourceExistsError,
|
@@ -1701,7 +1632,7 @@ class BlobContainersOperations:
|
|
1701
1632
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
|
1702
1633
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1703
1634
|
|
1704
|
-
|
1635
|
+
_request = build_get_immutability_policy_request(
|
1705
1636
|
resource_group_name=resource_group_name,
|
1706
1637
|
account_name=account_name,
|
1707
1638
|
container_name=container_name,
|
@@ -1709,16 +1640,15 @@ class BlobContainersOperations:
|
|
1709
1640
|
subscription_id=self._config.subscription_id,
|
1710
1641
|
if_match=if_match,
|
1711
1642
|
api_version=api_version,
|
1712
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1713
1643
|
headers=_headers,
|
1714
1644
|
params=_params,
|
1715
1645
|
)
|
1716
|
-
|
1717
|
-
|
1646
|
+
_request = _convert_request(_request)
|
1647
|
+
_request.url = self._client.format_url(_request.url)
|
1718
1648
|
|
1719
1649
|
_stream = False
|
1720
1650
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1721
|
-
|
1651
|
+
_request, stream=_stream, **kwargs
|
1722
1652
|
)
|
1723
1653
|
|
1724
1654
|
response = pipeline_response.http_response
|
@@ -1733,13 +1663,9 @@ class BlobContainersOperations:
|
|
1733
1663
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1734
1664
|
|
1735
1665
|
if cls:
|
1736
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1666
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1737
1667
|
|
1738
|
-
return deserialized
|
1739
|
-
|
1740
|
-
get_immutability_policy.metadata = {
|
1741
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1742
|
-
}
|
1668
|
+
return deserialized # type: ignore
|
1743
1669
|
|
1744
1670
|
@distributed_trace
|
1745
1671
|
def delete_immutability_policy(
|
@@ -1775,12 +1701,11 @@ class BlobContainersOperations:
|
|
1775
1701
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1776
1702
|
omitted, this operation will always be applied. Required.
|
1777
1703
|
:type if_match: str
|
1778
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1779
1704
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1780
1705
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
|
1781
1706
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1782
1707
|
"""
|
1783
|
-
error_map = {
|
1708
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1784
1709
|
401: ClientAuthenticationError,
|
1785
1710
|
404: ResourceNotFoundError,
|
1786
1711
|
409: ResourceExistsError,
|
@@ -1794,7 +1719,7 @@ class BlobContainersOperations:
|
|
1794
1719
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
|
1795
1720
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1796
1721
|
|
1797
|
-
|
1722
|
+
_request = build_delete_immutability_policy_request(
|
1798
1723
|
resource_group_name=resource_group_name,
|
1799
1724
|
account_name=account_name,
|
1800
1725
|
container_name=container_name,
|
@@ -1802,16 +1727,15 @@ class BlobContainersOperations:
|
|
1802
1727
|
subscription_id=self._config.subscription_id,
|
1803
1728
|
if_match=if_match,
|
1804
1729
|
api_version=api_version,
|
1805
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1806
1730
|
headers=_headers,
|
1807
1731
|
params=_params,
|
1808
1732
|
)
|
1809
|
-
|
1810
|
-
|
1733
|
+
_request = _convert_request(_request)
|
1734
|
+
_request.url = self._client.format_url(_request.url)
|
1811
1735
|
|
1812
1736
|
_stream = False
|
1813
1737
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1814
|
-
|
1738
|
+
_request, stream=_stream, **kwargs
|
1815
1739
|
)
|
1816
1740
|
|
1817
1741
|
response = pipeline_response.http_response
|
@@ -1826,13 +1750,9 @@ class BlobContainersOperations:
|
|
1826
1750
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1827
1751
|
|
1828
1752
|
if cls:
|
1829
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1753
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1830
1754
|
|
1831
|
-
return deserialized
|
1832
|
-
|
1833
|
-
delete_immutability_policy.metadata = {
|
1834
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1835
|
-
}
|
1755
|
+
return deserialized # type: ignore
|
1836
1756
|
|
1837
1757
|
@distributed_trace
|
1838
1758
|
def lock_immutability_policy(
|
@@ -1857,12 +1777,11 @@ class BlobContainersOperations:
|
|
1857
1777
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1858
1778
|
omitted, this operation will always be applied. Required.
|
1859
1779
|
:type if_match: str
|
1860
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1861
1780
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1862
1781
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
|
1863
1782
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1864
1783
|
"""
|
1865
|
-
error_map = {
|
1784
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1866
1785
|
401: ClientAuthenticationError,
|
1867
1786
|
404: ResourceNotFoundError,
|
1868
1787
|
409: ResourceExistsError,
|
@@ -1876,23 +1795,22 @@ class BlobContainersOperations:
|
|
1876
1795
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
|
1877
1796
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1878
1797
|
|
1879
|
-
|
1798
|
+
_request = build_lock_immutability_policy_request(
|
1880
1799
|
resource_group_name=resource_group_name,
|
1881
1800
|
account_name=account_name,
|
1882
1801
|
container_name=container_name,
|
1883
1802
|
subscription_id=self._config.subscription_id,
|
1884
1803
|
if_match=if_match,
|
1885
1804
|
api_version=api_version,
|
1886
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1887
1805
|
headers=_headers,
|
1888
1806
|
params=_params,
|
1889
1807
|
)
|
1890
|
-
|
1891
|
-
|
1808
|
+
_request = _convert_request(_request)
|
1809
|
+
_request.url = self._client.format_url(_request.url)
|
1892
1810
|
|
1893
1811
|
_stream = False
|
1894
1812
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
1895
|
-
|
1813
|
+
_request, stream=_stream, **kwargs
|
1896
1814
|
)
|
1897
1815
|
|
1898
1816
|
response = pipeline_response.http_response
|
@@ -1907,13 +1825,9 @@ class BlobContainersOperations:
|
|
1907
1825
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1908
1826
|
|
1909
1827
|
if cls:
|
1910
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1828
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1911
1829
|
|
1912
|
-
return deserialized
|
1913
|
-
|
1914
|
-
lock_immutability_policy.metadata = {
|
1915
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1916
|
-
}
|
1830
|
+
return deserialized # type: ignore
|
1917
1831
|
|
1918
1832
|
@overload
|
1919
1833
|
def extend_immutability_policy(
|
@@ -1953,7 +1867,6 @@ class BlobContainersOperations:
|
|
1953
1867
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1954
1868
|
Default value is "application/json".
|
1955
1869
|
:paramtype content_type: str
|
1956
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1957
1870
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1958
1871
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
|
1959
1872
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1966,7 +1879,7 @@ class BlobContainersOperations:
|
|
1966
1879
|
account_name: str,
|
1967
1880
|
container_name: str,
|
1968
1881
|
if_match: str,
|
1969
|
-
parameters: Optional[IO] = None,
|
1882
|
+
parameters: Optional[IO[bytes]] = None,
|
1970
1883
|
*,
|
1971
1884
|
content_type: str = "application/json",
|
1972
1885
|
**kwargs: Any
|
@@ -1993,11 +1906,10 @@ class BlobContainersOperations:
|
|
1993
1906
|
:type if_match: str
|
1994
1907
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1995
1908
|
container. Default value is None.
|
1996
|
-
:type parameters: IO
|
1909
|
+
:type parameters: IO[bytes]
|
1997
1910
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1998
1911
|
Default value is "application/json".
|
1999
1912
|
:paramtype content_type: str
|
2000
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2001
1913
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2002
1914
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
|
2003
1915
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2010,7 +1922,7 @@ class BlobContainersOperations:
|
|
2010
1922
|
account_name: str,
|
2011
1923
|
container_name: str,
|
2012
1924
|
if_match: str,
|
2013
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1925
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
2014
1926
|
**kwargs: Any
|
2015
1927
|
) -> _models.ImmutabilityPolicy:
|
2016
1928
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -2034,17 +1946,13 @@ class BlobContainersOperations:
|
|
2034
1946
|
omitted, this operation will always be applied. Required.
|
2035
1947
|
:type if_match: str
|
2036
1948
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
2037
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
2038
|
-
:type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO
|
2039
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2040
|
-
Default value is None.
|
2041
|
-
:paramtype content_type: str
|
2042
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1949
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1950
|
+
:type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO[bytes]
|
2043
1951
|
:return: ImmutabilityPolicy or the result of cls(response)
|
2044
1952
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
|
2045
1953
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2046
1954
|
"""
|
2047
|
-
error_map = {
|
1955
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2048
1956
|
401: ClientAuthenticationError,
|
2049
1957
|
404: ResourceNotFoundError,
|
2050
1958
|
409: ResourceExistsError,
|
@@ -2070,7 +1978,7 @@ class BlobContainersOperations:
|
|
2070
1978
|
else:
|
2071
1979
|
_json = None
|
2072
1980
|
|
2073
|
-
|
1981
|
+
_request = build_extend_immutability_policy_request(
|
2074
1982
|
resource_group_name=resource_group_name,
|
2075
1983
|
account_name=account_name,
|
2076
1984
|
container_name=container_name,
|
@@ -2080,16 +1988,15 @@ class BlobContainersOperations:
|
|
2080
1988
|
content_type=content_type,
|
2081
1989
|
json=_json,
|
2082
1990
|
content=_content,
|
2083
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
2084
1991
|
headers=_headers,
|
2085
1992
|
params=_params,
|
2086
1993
|
)
|
2087
|
-
|
2088
|
-
|
1994
|
+
_request = _convert_request(_request)
|
1995
|
+
_request.url = self._client.format_url(_request.url)
|
2089
1996
|
|
2090
1997
|
_stream = False
|
2091
1998
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2092
|
-
|
1999
|
+
_request, stream=_stream, **kwargs
|
2093
2000
|
)
|
2094
2001
|
|
2095
2002
|
response = pipeline_response.http_response
|
@@ -2104,13 +2011,9 @@ class BlobContainersOperations:
|
|
2104
2011
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
2105
2012
|
|
2106
2013
|
if cls:
|
2107
|
-
return cls(pipeline_response, deserialized, response_headers)
|
2108
|
-
|
2109
|
-
return deserialized
|
2014
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
2110
2015
|
|
2111
|
-
|
2112
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
2113
|
-
}
|
2016
|
+
return deserialized # type: ignore
|
2114
2017
|
|
2115
2018
|
@overload
|
2116
2019
|
def lease(
|
@@ -2143,7 +2046,6 @@ class BlobContainersOperations:
|
|
2143
2046
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
2144
2047
|
Default value is "application/json".
|
2145
2048
|
:paramtype content_type: str
|
2146
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2147
2049
|
:return: LeaseContainerResponse or the result of cls(response)
|
2148
2050
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerResponse
|
2149
2051
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2155,7 +2057,7 @@ class BlobContainersOperations:
|
|
2155
2057
|
resource_group_name: str,
|
2156
2058
|
account_name: str,
|
2157
2059
|
container_name: str,
|
2158
|
-
parameters: Optional[IO] = None,
|
2060
|
+
parameters: Optional[IO[bytes]] = None,
|
2159
2061
|
*,
|
2160
2062
|
content_type: str = "application/json",
|
2161
2063
|
**kwargs: Any
|
@@ -2176,11 +2078,10 @@ class BlobContainersOperations:
|
|
2176
2078
|
by a letter or number. Required.
|
2177
2079
|
:type container_name: str
|
2178
2080
|
:param parameters: Lease Container request body. Default value is None.
|
2179
|
-
:type parameters: IO
|
2081
|
+
:type parameters: IO[bytes]
|
2180
2082
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
2181
2083
|
Default value is "application/json".
|
2182
2084
|
:paramtype content_type: str
|
2183
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2184
2085
|
:return: LeaseContainerResponse or the result of cls(response)
|
2185
2086
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerResponse
|
2186
2087
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -2192,7 +2093,7 @@ class BlobContainersOperations:
|
|
2192
2093
|
resource_group_name: str,
|
2193
2094
|
account_name: str,
|
2194
2095
|
container_name: str,
|
2195
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
2096
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
2196
2097
|
**kwargs: Any
|
2197
2098
|
) -> _models.LeaseContainerResponse:
|
2198
2099
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -2210,18 +2111,14 @@ class BlobContainersOperations:
|
|
2210
2111
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
2211
2112
|
by a letter or number. Required.
|
2212
2113
|
:type container_name: str
|
2213
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2214
|
-
type. Default value is None.
|
2215
|
-
:type parameters: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerRequest or IO
|
2216
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
2217
|
-
Default value is None.
|
2218
|
-
:paramtype content_type: str
|
2219
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
2114
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
2115
|
+
IO[bytes] type. Default value is None.
|
2116
|
+
:type parameters: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerRequest or IO[bytes]
|
2220
2117
|
:return: LeaseContainerResponse or the result of cls(response)
|
2221
2118
|
:rtype: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerResponse
|
2222
2119
|
:raises ~azure.core.exceptions.HttpResponseError:
|
2223
2120
|
"""
|
2224
|
-
error_map = {
|
2121
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
2225
2122
|
401: ClientAuthenticationError,
|
2226
2123
|
404: ResourceNotFoundError,
|
2227
2124
|
409: ResourceExistsError,
|
@@ -2247,7 +2144,7 @@ class BlobContainersOperations:
|
|
2247
2144
|
else:
|
2248
2145
|
_json = None
|
2249
2146
|
|
2250
|
-
|
2147
|
+
_request = build_lease_request(
|
2251
2148
|
resource_group_name=resource_group_name,
|
2252
2149
|
account_name=account_name,
|
2253
2150
|
container_name=container_name,
|
@@ -2256,16 +2153,15 @@ class BlobContainersOperations:
|
|
2256
2153
|
content_type=content_type,
|
2257
2154
|
json=_json,
|
2258
2155
|
content=_content,
|
2259
|
-
template_url=self.lease.metadata["url"],
|
2260
2156
|
headers=_headers,
|
2261
2157
|
params=_params,
|
2262
2158
|
)
|
2263
|
-
|
2264
|
-
|
2159
|
+
_request = _convert_request(_request)
|
2160
|
+
_request.url = self._client.format_url(_request.url)
|
2265
2161
|
|
2266
2162
|
_stream = False
|
2267
2163
|
pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
|
2268
|
-
|
2164
|
+
_request, stream=_stream, **kwargs
|
2269
2165
|
)
|
2270
2166
|
|
2271
2167
|
response = pipeline_response.http_response
|
@@ -2277,10 +2173,6 @@ class BlobContainersOperations:
|
|
2277
2173
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
2278
2174
|
|
2279
2175
|
if cls:
|
2280
|
-
return cls(pipeline_response, deserialized, {})
|
2176
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
2281
2177
|
|
2282
|
-
return deserialized
|
2283
|
-
|
2284
|
-
lease.metadata = {
|
2285
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
2286
|
-
}
|
2178
|
+
return deserialized # type: ignore
|