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,
|
@@ -42,6 +43,10 @@ from ...operations._blob_containers_operations import (
|
|
42
43
|
build_update_request,
|
43
44
|
)
|
44
45
|
|
46
|
+
if sys.version_info >= (3, 9):
|
47
|
+
from collections.abc import MutableMapping
|
48
|
+
else:
|
49
|
+
from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
|
45
50
|
T = TypeVar("T")
|
46
51
|
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
|
47
52
|
|
@@ -78,12 +83,11 @@ class BlobContainersOperations:
|
|
78
83
|
Storage account names must be between 3 and 24 characters in length and use numbers and
|
79
84
|
lower-case letters only. Required.
|
80
85
|
:type account_name: str
|
81
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
82
86
|
:return: ListContainerItems or the result of cls(response)
|
83
87
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ListContainerItems
|
84
88
|
:raises ~azure.core.exceptions.HttpResponseError:
|
85
89
|
"""
|
86
|
-
error_map = {
|
90
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
87
91
|
401: ClientAuthenticationError,
|
88
92
|
404: ResourceNotFoundError,
|
89
93
|
409: ResourceExistsError,
|
@@ -97,21 +101,20 @@ class BlobContainersOperations:
|
|
97
101
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
98
102
|
cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
|
99
103
|
|
100
|
-
|
104
|
+
_request = build_list_request(
|
101
105
|
resource_group_name=resource_group_name,
|
102
106
|
account_name=account_name,
|
103
107
|
subscription_id=self._config.subscription_id,
|
104
108
|
api_version=api_version,
|
105
|
-
template_url=self.list.metadata["url"],
|
106
109
|
headers=_headers,
|
107
110
|
params=_params,
|
108
111
|
)
|
109
|
-
|
110
|
-
|
112
|
+
_request = _convert_request(_request)
|
113
|
+
_request.url = self._client.format_url(_request.url)
|
111
114
|
|
112
115
|
_stream = False
|
113
116
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
114
|
-
|
117
|
+
_request, stream=_stream, **kwargs
|
115
118
|
)
|
116
119
|
|
117
120
|
response = pipeline_response.http_response
|
@@ -123,13 +126,9 @@ class BlobContainersOperations:
|
|
123
126
|
deserialized = self._deserialize("ListContainerItems", pipeline_response)
|
124
127
|
|
125
128
|
if cls:
|
126
|
-
return cls(pipeline_response, deserialized, {})
|
129
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
127
130
|
|
128
|
-
return deserialized
|
129
|
-
|
130
|
-
list.metadata = {
|
131
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
|
132
|
-
}
|
131
|
+
return deserialized # type: ignore
|
133
132
|
|
134
133
|
@overload
|
135
134
|
async def create(
|
@@ -163,7 +162,6 @@ class BlobContainersOperations:
|
|
163
162
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
164
163
|
Default value is "application/json".
|
165
164
|
:paramtype content_type: str
|
166
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
167
165
|
:return: BlobContainer or the result of cls(response)
|
168
166
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer
|
169
167
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -175,7 +173,7 @@ class BlobContainersOperations:
|
|
175
173
|
resource_group_name: str,
|
176
174
|
account_name: str,
|
177
175
|
container_name: str,
|
178
|
-
blob_container: IO,
|
176
|
+
blob_container: IO[bytes],
|
179
177
|
*,
|
180
178
|
content_type: str = "application/json",
|
181
179
|
**kwargs: Any
|
@@ -197,11 +195,10 @@ class BlobContainersOperations:
|
|
197
195
|
by a letter or number. Required.
|
198
196
|
:type container_name: str
|
199
197
|
:param blob_container: Properties of the blob container to create. Required.
|
200
|
-
:type blob_container: IO
|
198
|
+
:type blob_container: IO[bytes]
|
201
199
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
202
200
|
Default value is "application/json".
|
203
201
|
:paramtype content_type: str
|
204
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
205
202
|
:return: BlobContainer or the result of cls(response)
|
206
203
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer
|
207
204
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -213,7 +210,7 @@ class BlobContainersOperations:
|
|
213
210
|
resource_group_name: str,
|
214
211
|
account_name: str,
|
215
212
|
container_name: str,
|
216
|
-
blob_container: Union[_models.BlobContainer, IO],
|
213
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
217
214
|
**kwargs: Any
|
218
215
|
) -> _models.BlobContainer:
|
219
216
|
"""Creates a new container under the specified account as described by request body. The container
|
@@ -233,17 +230,13 @@ class BlobContainersOperations:
|
|
233
230
|
by a letter or number. Required.
|
234
231
|
:type container_name: str
|
235
232
|
:param blob_container: Properties of the blob container to create. Is either a BlobContainer
|
236
|
-
type or a IO type. Required.
|
237
|
-
:type blob_container: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer or IO
|
238
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
239
|
-
Default value is None.
|
240
|
-
:paramtype content_type: str
|
241
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
233
|
+
type or a IO[bytes] type. Required.
|
234
|
+
:type blob_container: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer or IO[bytes]
|
242
235
|
:return: BlobContainer or the result of cls(response)
|
243
236
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer
|
244
237
|
:raises ~azure.core.exceptions.HttpResponseError:
|
245
238
|
"""
|
246
|
-
error_map = {
|
239
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
247
240
|
401: ClientAuthenticationError,
|
248
241
|
404: ResourceNotFoundError,
|
249
242
|
409: ResourceExistsError,
|
@@ -266,7 +259,7 @@ class BlobContainersOperations:
|
|
266
259
|
else:
|
267
260
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
268
261
|
|
269
|
-
|
262
|
+
_request = build_create_request(
|
270
263
|
resource_group_name=resource_group_name,
|
271
264
|
account_name=account_name,
|
272
265
|
container_name=container_name,
|
@@ -275,16 +268,15 @@ class BlobContainersOperations:
|
|
275
268
|
content_type=content_type,
|
276
269
|
json=_json,
|
277
270
|
content=_content,
|
278
|
-
template_url=self.create.metadata["url"],
|
279
271
|
headers=_headers,
|
280
272
|
params=_params,
|
281
273
|
)
|
282
|
-
|
283
|
-
|
274
|
+
_request = _convert_request(_request)
|
275
|
+
_request.url = self._client.format_url(_request.url)
|
284
276
|
|
285
277
|
_stream = False
|
286
278
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
287
|
-
|
279
|
+
_request, stream=_stream, **kwargs
|
288
280
|
)
|
289
281
|
|
290
282
|
response = pipeline_response.http_response
|
@@ -296,13 +288,9 @@ class BlobContainersOperations:
|
|
296
288
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
297
289
|
|
298
290
|
if cls:
|
299
|
-
return cls(pipeline_response, deserialized, {})
|
300
|
-
|
301
|
-
return deserialized
|
291
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
302
292
|
|
303
|
-
|
304
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
305
|
-
}
|
293
|
+
return deserialized # type: ignore
|
306
294
|
|
307
295
|
@overload
|
308
296
|
async def update(
|
@@ -335,7 +323,6 @@ class BlobContainersOperations:
|
|
335
323
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
336
324
|
Default value is "application/json".
|
337
325
|
:paramtype content_type: str
|
338
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
339
326
|
:return: BlobContainer or the result of cls(response)
|
340
327
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer
|
341
328
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -347,7 +334,7 @@ class BlobContainersOperations:
|
|
347
334
|
resource_group_name: str,
|
348
335
|
account_name: str,
|
349
336
|
container_name: str,
|
350
|
-
blob_container: IO,
|
337
|
+
blob_container: IO[bytes],
|
351
338
|
*,
|
352
339
|
content_type: str = "application/json",
|
353
340
|
**kwargs: Any
|
@@ -368,11 +355,10 @@ class BlobContainersOperations:
|
|
368
355
|
by a letter or number. Required.
|
369
356
|
:type container_name: str
|
370
357
|
:param blob_container: Properties to update for the blob container. Required.
|
371
|
-
:type blob_container: IO
|
358
|
+
:type blob_container: IO[bytes]
|
372
359
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
373
360
|
Default value is "application/json".
|
374
361
|
:paramtype content_type: str
|
375
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
376
362
|
:return: BlobContainer or the result of cls(response)
|
377
363
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer
|
378
364
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -384,7 +370,7 @@ class BlobContainersOperations:
|
|
384
370
|
resource_group_name: str,
|
385
371
|
account_name: str,
|
386
372
|
container_name: str,
|
387
|
-
blob_container: Union[_models.BlobContainer, IO],
|
373
|
+
blob_container: Union[_models.BlobContainer, IO[bytes]],
|
388
374
|
**kwargs: Any
|
389
375
|
) -> _models.BlobContainer:
|
390
376
|
"""Updates container properties as specified in request body. Properties not mentioned in the
|
@@ -403,17 +389,13 @@ class BlobContainersOperations:
|
|
403
389
|
by a letter or number. Required.
|
404
390
|
:type container_name: str
|
405
391
|
:param blob_container: Properties to update for the blob container. Is either a BlobContainer
|
406
|
-
type or a IO type. Required.
|
407
|
-
:type blob_container: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer or IO
|
408
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
409
|
-
Default value is None.
|
410
|
-
:paramtype content_type: str
|
411
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
392
|
+
type or a IO[bytes] type. Required.
|
393
|
+
:type blob_container: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer or IO[bytes]
|
412
394
|
:return: BlobContainer or the result of cls(response)
|
413
395
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer
|
414
396
|
:raises ~azure.core.exceptions.HttpResponseError:
|
415
397
|
"""
|
416
|
-
error_map = {
|
398
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
417
399
|
401: ClientAuthenticationError,
|
418
400
|
404: ResourceNotFoundError,
|
419
401
|
409: ResourceExistsError,
|
@@ -436,7 +418,7 @@ class BlobContainersOperations:
|
|
436
418
|
else:
|
437
419
|
_json = self._serialize.body(blob_container, "BlobContainer")
|
438
420
|
|
439
|
-
|
421
|
+
_request = build_update_request(
|
440
422
|
resource_group_name=resource_group_name,
|
441
423
|
account_name=account_name,
|
442
424
|
container_name=container_name,
|
@@ -445,16 +427,15 @@ class BlobContainersOperations:
|
|
445
427
|
content_type=content_type,
|
446
428
|
json=_json,
|
447
429
|
content=_content,
|
448
|
-
template_url=self.update.metadata["url"],
|
449
430
|
headers=_headers,
|
450
431
|
params=_params,
|
451
432
|
)
|
452
|
-
|
453
|
-
|
433
|
+
_request = _convert_request(_request)
|
434
|
+
_request.url = self._client.format_url(_request.url)
|
454
435
|
|
455
436
|
_stream = False
|
456
437
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
457
|
-
|
438
|
+
_request, stream=_stream, **kwargs
|
458
439
|
)
|
459
440
|
|
460
441
|
response = pipeline_response.http_response
|
@@ -466,13 +447,9 @@ class BlobContainersOperations:
|
|
466
447
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
467
448
|
|
468
449
|
if cls:
|
469
|
-
return cls(pipeline_response, deserialized, {})
|
470
|
-
|
471
|
-
return deserialized
|
450
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
472
451
|
|
473
|
-
|
474
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
475
|
-
}
|
452
|
+
return deserialized # type: ignore
|
476
453
|
|
477
454
|
@distributed_trace_async
|
478
455
|
async def get(
|
@@ -492,12 +469,11 @@ class BlobContainersOperations:
|
|
492
469
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
493
470
|
by a letter or number. Required.
|
494
471
|
:type container_name: str
|
495
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
496
472
|
:return: BlobContainer or the result of cls(response)
|
497
473
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.BlobContainer
|
498
474
|
:raises ~azure.core.exceptions.HttpResponseError:
|
499
475
|
"""
|
500
|
-
error_map = {
|
476
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
501
477
|
401: ClientAuthenticationError,
|
502
478
|
404: ResourceNotFoundError,
|
503
479
|
409: ResourceExistsError,
|
@@ -511,22 +487,21 @@ class BlobContainersOperations:
|
|
511
487
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
512
488
|
cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
|
513
489
|
|
514
|
-
|
490
|
+
_request = build_get_request(
|
515
491
|
resource_group_name=resource_group_name,
|
516
492
|
account_name=account_name,
|
517
493
|
container_name=container_name,
|
518
494
|
subscription_id=self._config.subscription_id,
|
519
495
|
api_version=api_version,
|
520
|
-
template_url=self.get.metadata["url"],
|
521
496
|
headers=_headers,
|
522
497
|
params=_params,
|
523
498
|
)
|
524
|
-
|
525
|
-
|
499
|
+
_request = _convert_request(_request)
|
500
|
+
_request.url = self._client.format_url(_request.url)
|
526
501
|
|
527
502
|
_stream = False
|
528
503
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
529
|
-
|
504
|
+
_request, stream=_stream, **kwargs
|
530
505
|
)
|
531
506
|
|
532
507
|
response = pipeline_response.http_response
|
@@ -538,13 +513,9 @@ class BlobContainersOperations:
|
|
538
513
|
deserialized = self._deserialize("BlobContainer", pipeline_response)
|
539
514
|
|
540
515
|
if cls:
|
541
|
-
return cls(pipeline_response, deserialized, {})
|
516
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
542
517
|
|
543
|
-
return deserialized
|
544
|
-
|
545
|
-
get.metadata = {
|
546
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
547
|
-
}
|
518
|
+
return deserialized # type: ignore
|
548
519
|
|
549
520
|
@distributed_trace_async
|
550
521
|
async def delete( # pylint: disable=inconsistent-return-statements
|
@@ -564,12 +535,11 @@ class BlobContainersOperations:
|
|
564
535
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
565
536
|
by a letter or number. Required.
|
566
537
|
:type container_name: str
|
567
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
568
538
|
:return: None or the result of cls(response)
|
569
539
|
:rtype: None
|
570
540
|
:raises ~azure.core.exceptions.HttpResponseError:
|
571
541
|
"""
|
572
|
-
error_map = {
|
542
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
573
543
|
401: ClientAuthenticationError,
|
574
544
|
404: ResourceNotFoundError,
|
575
545
|
409: ResourceExistsError,
|
@@ -583,22 +553,21 @@ class BlobContainersOperations:
|
|
583
553
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
584
554
|
cls: ClsType[None] = kwargs.pop("cls", None)
|
585
555
|
|
586
|
-
|
556
|
+
_request = build_delete_request(
|
587
557
|
resource_group_name=resource_group_name,
|
588
558
|
account_name=account_name,
|
589
559
|
container_name=container_name,
|
590
560
|
subscription_id=self._config.subscription_id,
|
591
561
|
api_version=api_version,
|
592
|
-
template_url=self.delete.metadata["url"],
|
593
562
|
headers=_headers,
|
594
563
|
params=_params,
|
595
564
|
)
|
596
|
-
|
597
|
-
|
565
|
+
_request = _convert_request(_request)
|
566
|
+
_request.url = self._client.format_url(_request.url)
|
598
567
|
|
599
568
|
_stream = False
|
600
569
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
601
|
-
|
570
|
+
_request, stream=_stream, **kwargs
|
602
571
|
)
|
603
572
|
|
604
573
|
response = pipeline_response.http_response
|
@@ -608,11 +577,7 @@ class BlobContainersOperations:
|
|
608
577
|
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
|
609
578
|
|
610
579
|
if cls:
|
611
|
-
return cls(pipeline_response, None, {})
|
612
|
-
|
613
|
-
delete.metadata = {
|
614
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
|
615
|
-
}
|
580
|
+
return cls(pipeline_response, None, {}) # type: ignore
|
616
581
|
|
617
582
|
@overload
|
618
583
|
async def set_legal_hold(
|
@@ -646,7 +611,6 @@ class BlobContainersOperations:
|
|
646
611
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
647
612
|
Default value is "application/json".
|
648
613
|
:paramtype content_type: str
|
649
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
650
614
|
:return: LegalHold or the result of cls(response)
|
651
615
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.LegalHold
|
652
616
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -658,7 +622,7 @@ class BlobContainersOperations:
|
|
658
622
|
resource_group_name: str,
|
659
623
|
account_name: str,
|
660
624
|
container_name: str,
|
661
|
-
legal_hold: IO,
|
625
|
+
legal_hold: IO[bytes],
|
662
626
|
*,
|
663
627
|
content_type: str = "application/json",
|
664
628
|
**kwargs: Any
|
@@ -680,11 +644,10 @@ class BlobContainersOperations:
|
|
680
644
|
by a letter or number. Required.
|
681
645
|
:type container_name: str
|
682
646
|
:param legal_hold: The LegalHold property that will be set to a blob container. Required.
|
683
|
-
:type legal_hold: IO
|
647
|
+
:type legal_hold: IO[bytes]
|
684
648
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
685
649
|
Default value is "application/json".
|
686
650
|
:paramtype content_type: str
|
687
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
688
651
|
:return: LegalHold or the result of cls(response)
|
689
652
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.LegalHold
|
690
653
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -696,7 +659,7 @@ class BlobContainersOperations:
|
|
696
659
|
resource_group_name: str,
|
697
660
|
account_name: str,
|
698
661
|
container_name: str,
|
699
|
-
legal_hold: Union[_models.LegalHold, IO],
|
662
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
700
663
|
**kwargs: Any
|
701
664
|
) -> _models.LegalHold:
|
702
665
|
"""Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
|
@@ -716,17 +679,13 @@ class BlobContainersOperations:
|
|
716
679
|
by a letter or number. Required.
|
717
680
|
:type container_name: str
|
718
681
|
:param legal_hold: The LegalHold property that will be set to a blob container. Is either a
|
719
|
-
LegalHold type or a IO type. Required.
|
720
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_07_01.models.LegalHold or IO
|
721
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
722
|
-
Default value is None.
|
723
|
-
:paramtype content_type: str
|
724
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
682
|
+
LegalHold type or a IO[bytes] type. Required.
|
683
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_07_01.models.LegalHold or IO[bytes]
|
725
684
|
:return: LegalHold or the result of cls(response)
|
726
685
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.LegalHold
|
727
686
|
:raises ~azure.core.exceptions.HttpResponseError:
|
728
687
|
"""
|
729
|
-
error_map = {
|
688
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
730
689
|
401: ClientAuthenticationError,
|
731
690
|
404: ResourceNotFoundError,
|
732
691
|
409: ResourceExistsError,
|
@@ -749,7 +708,7 @@ class BlobContainersOperations:
|
|
749
708
|
else:
|
750
709
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
751
710
|
|
752
|
-
|
711
|
+
_request = build_set_legal_hold_request(
|
753
712
|
resource_group_name=resource_group_name,
|
754
713
|
account_name=account_name,
|
755
714
|
container_name=container_name,
|
@@ -758,16 +717,15 @@ class BlobContainersOperations:
|
|
758
717
|
content_type=content_type,
|
759
718
|
json=_json,
|
760
719
|
content=_content,
|
761
|
-
template_url=self.set_legal_hold.metadata["url"],
|
762
720
|
headers=_headers,
|
763
721
|
params=_params,
|
764
722
|
)
|
765
|
-
|
766
|
-
|
723
|
+
_request = _convert_request(_request)
|
724
|
+
_request.url = self._client.format_url(_request.url)
|
767
725
|
|
768
726
|
_stream = False
|
769
727
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
770
|
-
|
728
|
+
_request, stream=_stream, **kwargs
|
771
729
|
)
|
772
730
|
|
773
731
|
response = pipeline_response.http_response
|
@@ -779,13 +737,9 @@ class BlobContainersOperations:
|
|
779
737
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
780
738
|
|
781
739
|
if cls:
|
782
|
-
return cls(pipeline_response, deserialized, {})
|
740
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
783
741
|
|
784
|
-
return deserialized
|
785
|
-
|
786
|
-
set_legal_hold.metadata = {
|
787
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
|
788
|
-
}
|
742
|
+
return deserialized # type: ignore
|
789
743
|
|
790
744
|
@overload
|
791
745
|
async def clear_legal_hold(
|
@@ -818,7 +772,6 @@ class BlobContainersOperations:
|
|
818
772
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
819
773
|
Default value is "application/json".
|
820
774
|
:paramtype content_type: str
|
821
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
822
775
|
:return: LegalHold or the result of cls(response)
|
823
776
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.LegalHold
|
824
777
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -830,7 +783,7 @@ class BlobContainersOperations:
|
|
830
783
|
resource_group_name: str,
|
831
784
|
account_name: str,
|
832
785
|
container_name: str,
|
833
|
-
legal_hold: IO,
|
786
|
+
legal_hold: IO[bytes],
|
834
787
|
*,
|
835
788
|
content_type: str = "application/json",
|
836
789
|
**kwargs: Any
|
@@ -851,11 +804,10 @@ class BlobContainersOperations:
|
|
851
804
|
by a letter or number. Required.
|
852
805
|
:type container_name: str
|
853
806
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Required.
|
854
|
-
:type legal_hold: IO
|
807
|
+
:type legal_hold: IO[bytes]
|
855
808
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
856
809
|
Default value is "application/json".
|
857
810
|
:paramtype content_type: str
|
858
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
859
811
|
:return: LegalHold or the result of cls(response)
|
860
812
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.LegalHold
|
861
813
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -867,7 +819,7 @@ class BlobContainersOperations:
|
|
867
819
|
resource_group_name: str,
|
868
820
|
account_name: str,
|
869
821
|
container_name: str,
|
870
|
-
legal_hold: Union[_models.LegalHold, IO],
|
822
|
+
legal_hold: Union[_models.LegalHold, IO[bytes]],
|
871
823
|
**kwargs: Any
|
872
824
|
) -> _models.LegalHold:
|
873
825
|
"""Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
|
@@ -886,17 +838,13 @@ class BlobContainersOperations:
|
|
886
838
|
by a letter or number. Required.
|
887
839
|
:type container_name: str
|
888
840
|
:param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
|
889
|
-
LegalHold type or a IO type. Required.
|
890
|
-
:type legal_hold: ~azure.mgmt.storage.v2018_07_01.models.LegalHold or IO
|
891
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
892
|
-
Default value is None.
|
893
|
-
:paramtype content_type: str
|
894
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
841
|
+
LegalHold type or a IO[bytes] type. Required.
|
842
|
+
:type legal_hold: ~azure.mgmt.storage.v2018_07_01.models.LegalHold or IO[bytes]
|
895
843
|
:return: LegalHold or the result of cls(response)
|
896
844
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.LegalHold
|
897
845
|
:raises ~azure.core.exceptions.HttpResponseError:
|
898
846
|
"""
|
899
|
-
error_map = {
|
847
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
900
848
|
401: ClientAuthenticationError,
|
901
849
|
404: ResourceNotFoundError,
|
902
850
|
409: ResourceExistsError,
|
@@ -919,7 +867,7 @@ class BlobContainersOperations:
|
|
919
867
|
else:
|
920
868
|
_json = self._serialize.body(legal_hold, "LegalHold")
|
921
869
|
|
922
|
-
|
870
|
+
_request = build_clear_legal_hold_request(
|
923
871
|
resource_group_name=resource_group_name,
|
924
872
|
account_name=account_name,
|
925
873
|
container_name=container_name,
|
@@ -928,16 +876,15 @@ class BlobContainersOperations:
|
|
928
876
|
content_type=content_type,
|
929
877
|
json=_json,
|
930
878
|
content=_content,
|
931
|
-
template_url=self.clear_legal_hold.metadata["url"],
|
932
879
|
headers=_headers,
|
933
880
|
params=_params,
|
934
881
|
)
|
935
|
-
|
936
|
-
|
882
|
+
_request = _convert_request(_request)
|
883
|
+
_request.url = self._client.format_url(_request.url)
|
937
884
|
|
938
885
|
_stream = False
|
939
886
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
940
|
-
|
887
|
+
_request, stream=_stream, **kwargs
|
941
888
|
)
|
942
889
|
|
943
890
|
response = pipeline_response.http_response
|
@@ -949,13 +896,9 @@ class BlobContainersOperations:
|
|
949
896
|
deserialized = self._deserialize("LegalHold", pipeline_response)
|
950
897
|
|
951
898
|
if cls:
|
952
|
-
return cls(pipeline_response, deserialized, {})
|
899
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
953
900
|
|
954
|
-
return deserialized
|
955
|
-
|
956
|
-
clear_legal_hold.metadata = {
|
957
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
|
958
|
-
}
|
901
|
+
return deserialized # type: ignore
|
959
902
|
|
960
903
|
@overload
|
961
904
|
async def create_or_update_immutability_policy(
|
@@ -998,7 +941,6 @@ class BlobContainersOperations:
|
|
998
941
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
999
942
|
Default value is "application/json".
|
1000
943
|
:paramtype content_type: str
|
1001
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1002
944
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1003
945
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy
|
1004
946
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1012,7 +954,7 @@ class BlobContainersOperations:
|
|
1012
954
|
container_name: str,
|
1013
955
|
immutability_policy_name: Union[str, _models.Enum8],
|
1014
956
|
if_match: Optional[str] = None,
|
1015
|
-
parameters: Optional[IO] = None,
|
957
|
+
parameters: Optional[IO[bytes]] = None,
|
1016
958
|
*,
|
1017
959
|
content_type: str = "application/json",
|
1018
960
|
**kwargs: Any
|
@@ -1041,11 +983,10 @@ class BlobContainersOperations:
|
|
1041
983
|
:type if_match: str
|
1042
984
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1043
985
|
container. Default value is None.
|
1044
|
-
:type parameters: IO
|
986
|
+
:type parameters: IO[bytes]
|
1045
987
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1046
988
|
Default value is "application/json".
|
1047
989
|
:paramtype content_type: str
|
1048
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1049
990
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1050
991
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy
|
1051
992
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1059,7 +1000,7 @@ class BlobContainersOperations:
|
|
1059
1000
|
container_name: str,
|
1060
1001
|
immutability_policy_name: Union[str, _models.Enum8],
|
1061
1002
|
if_match: Optional[str] = None,
|
1062
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1003
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1063
1004
|
**kwargs: Any
|
1064
1005
|
) -> _models.ImmutabilityPolicy:
|
1065
1006
|
"""Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
|
@@ -1085,17 +1026,13 @@ class BlobContainersOperations:
|
|
1085
1026
|
omitted, this operation will always be applied. Default value is None.
|
1086
1027
|
:type if_match: str
|
1087
1028
|
:param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
|
1088
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1089
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy or IO
|
1090
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1091
|
-
Default value is None.
|
1092
|
-
:paramtype content_type: str
|
1093
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1029
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1030
|
+
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy or IO[bytes]
|
1094
1031
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1095
1032
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy
|
1096
1033
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1097
1034
|
"""
|
1098
|
-
error_map = {
|
1035
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1099
1036
|
401: ClientAuthenticationError,
|
1100
1037
|
404: ResourceNotFoundError,
|
1101
1038
|
409: ResourceExistsError,
|
@@ -1121,7 +1058,7 @@ class BlobContainersOperations:
|
|
1121
1058
|
else:
|
1122
1059
|
_json = None
|
1123
1060
|
|
1124
|
-
|
1061
|
+
_request = build_create_or_update_immutability_policy_request(
|
1125
1062
|
resource_group_name=resource_group_name,
|
1126
1063
|
account_name=account_name,
|
1127
1064
|
container_name=container_name,
|
@@ -1132,16 +1069,15 @@ class BlobContainersOperations:
|
|
1132
1069
|
content_type=content_type,
|
1133
1070
|
json=_json,
|
1134
1071
|
content=_content,
|
1135
|
-
template_url=self.create_or_update_immutability_policy.metadata["url"],
|
1136
1072
|
headers=_headers,
|
1137
1073
|
params=_params,
|
1138
1074
|
)
|
1139
|
-
|
1140
|
-
|
1075
|
+
_request = _convert_request(_request)
|
1076
|
+
_request.url = self._client.format_url(_request.url)
|
1141
1077
|
|
1142
1078
|
_stream = False
|
1143
1079
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1144
|
-
|
1080
|
+
_request, stream=_stream, **kwargs
|
1145
1081
|
)
|
1146
1082
|
|
1147
1083
|
response = pipeline_response.http_response
|
@@ -1156,13 +1092,9 @@ class BlobContainersOperations:
|
|
1156
1092
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1157
1093
|
|
1158
1094
|
if cls:
|
1159
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1160
|
-
|
1161
|
-
return deserialized
|
1095
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1162
1096
|
|
1163
|
-
|
1164
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1165
|
-
}
|
1097
|
+
return deserialized # type: ignore
|
1166
1098
|
|
1167
1099
|
@distributed_trace_async
|
1168
1100
|
async def get_immutability_policy(
|
@@ -1196,12 +1128,11 @@ class BlobContainersOperations:
|
|
1196
1128
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1197
1129
|
omitted, this operation will always be applied. Default value is None.
|
1198
1130
|
:type if_match: str
|
1199
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1200
1131
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1201
1132
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy
|
1202
1133
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1203
1134
|
"""
|
1204
|
-
error_map = {
|
1135
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1205
1136
|
401: ClientAuthenticationError,
|
1206
1137
|
404: ResourceNotFoundError,
|
1207
1138
|
409: ResourceExistsError,
|
@@ -1215,7 +1146,7 @@ class BlobContainersOperations:
|
|
1215
1146
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1216
1147
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1217
1148
|
|
1218
|
-
|
1149
|
+
_request = build_get_immutability_policy_request(
|
1219
1150
|
resource_group_name=resource_group_name,
|
1220
1151
|
account_name=account_name,
|
1221
1152
|
container_name=container_name,
|
@@ -1223,16 +1154,15 @@ class BlobContainersOperations:
|
|
1223
1154
|
subscription_id=self._config.subscription_id,
|
1224
1155
|
if_match=if_match,
|
1225
1156
|
api_version=api_version,
|
1226
|
-
template_url=self.get_immutability_policy.metadata["url"],
|
1227
1157
|
headers=_headers,
|
1228
1158
|
params=_params,
|
1229
1159
|
)
|
1230
|
-
|
1231
|
-
|
1160
|
+
_request = _convert_request(_request)
|
1161
|
+
_request.url = self._client.format_url(_request.url)
|
1232
1162
|
|
1233
1163
|
_stream = False
|
1234
1164
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1235
|
-
|
1165
|
+
_request, stream=_stream, **kwargs
|
1236
1166
|
)
|
1237
1167
|
|
1238
1168
|
response = pipeline_response.http_response
|
@@ -1247,13 +1177,9 @@ class BlobContainersOperations:
|
|
1247
1177
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1248
1178
|
|
1249
1179
|
if cls:
|
1250
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1180
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1251
1181
|
|
1252
|
-
return deserialized
|
1253
|
-
|
1254
|
-
get_immutability_policy.metadata = {
|
1255
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1256
|
-
}
|
1182
|
+
return deserialized # type: ignore
|
1257
1183
|
|
1258
1184
|
@distributed_trace_async
|
1259
1185
|
async def delete_immutability_policy(
|
@@ -1289,12 +1215,11 @@ class BlobContainersOperations:
|
|
1289
1215
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1290
1216
|
omitted, this operation will always be applied. Required.
|
1291
1217
|
:type if_match: str
|
1292
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1293
1218
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1294
1219
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy
|
1295
1220
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1296
1221
|
"""
|
1297
|
-
error_map = {
|
1222
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1298
1223
|
401: ClientAuthenticationError,
|
1299
1224
|
404: ResourceNotFoundError,
|
1300
1225
|
409: ResourceExistsError,
|
@@ -1308,7 +1233,7 @@ class BlobContainersOperations:
|
|
1308
1233
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1309
1234
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1310
1235
|
|
1311
|
-
|
1236
|
+
_request = build_delete_immutability_policy_request(
|
1312
1237
|
resource_group_name=resource_group_name,
|
1313
1238
|
account_name=account_name,
|
1314
1239
|
container_name=container_name,
|
@@ -1316,16 +1241,15 @@ class BlobContainersOperations:
|
|
1316
1241
|
subscription_id=self._config.subscription_id,
|
1317
1242
|
if_match=if_match,
|
1318
1243
|
api_version=api_version,
|
1319
|
-
template_url=self.delete_immutability_policy.metadata["url"],
|
1320
1244
|
headers=_headers,
|
1321
1245
|
params=_params,
|
1322
1246
|
)
|
1323
|
-
|
1324
|
-
|
1247
|
+
_request = _convert_request(_request)
|
1248
|
+
_request.url = self._client.format_url(_request.url)
|
1325
1249
|
|
1326
1250
|
_stream = False
|
1327
1251
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1328
|
-
|
1252
|
+
_request, stream=_stream, **kwargs
|
1329
1253
|
)
|
1330
1254
|
|
1331
1255
|
response = pipeline_response.http_response
|
@@ -1340,13 +1264,9 @@ class BlobContainersOperations:
|
|
1340
1264
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1341
1265
|
|
1342
1266
|
if cls:
|
1343
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1344
|
-
|
1345
|
-
return deserialized
|
1267
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1346
1268
|
|
1347
|
-
|
1348
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
|
1349
|
-
}
|
1269
|
+
return deserialized # type: ignore
|
1350
1270
|
|
1351
1271
|
@distributed_trace_async
|
1352
1272
|
async def lock_immutability_policy(
|
@@ -1371,12 +1291,11 @@ class BlobContainersOperations:
|
|
1371
1291
|
of "*" can be used to apply the operation only if the immutability policy already exists. If
|
1372
1292
|
omitted, this operation will always be applied. Required.
|
1373
1293
|
:type if_match: str
|
1374
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1375
1294
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1376
1295
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy
|
1377
1296
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1378
1297
|
"""
|
1379
|
-
error_map = {
|
1298
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1380
1299
|
401: ClientAuthenticationError,
|
1381
1300
|
404: ResourceNotFoundError,
|
1382
1301
|
409: ResourceExistsError,
|
@@ -1390,23 +1309,22 @@ class BlobContainersOperations:
|
|
1390
1309
|
api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-07-01"))
|
1391
1310
|
cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
|
1392
1311
|
|
1393
|
-
|
1312
|
+
_request = build_lock_immutability_policy_request(
|
1394
1313
|
resource_group_name=resource_group_name,
|
1395
1314
|
account_name=account_name,
|
1396
1315
|
container_name=container_name,
|
1397
1316
|
subscription_id=self._config.subscription_id,
|
1398
1317
|
if_match=if_match,
|
1399
1318
|
api_version=api_version,
|
1400
|
-
template_url=self.lock_immutability_policy.metadata["url"],
|
1401
1319
|
headers=_headers,
|
1402
1320
|
params=_params,
|
1403
1321
|
)
|
1404
|
-
|
1405
|
-
|
1322
|
+
_request = _convert_request(_request)
|
1323
|
+
_request.url = self._client.format_url(_request.url)
|
1406
1324
|
|
1407
1325
|
_stream = False
|
1408
1326
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1409
|
-
|
1327
|
+
_request, stream=_stream, **kwargs
|
1410
1328
|
)
|
1411
1329
|
|
1412
1330
|
response = pipeline_response.http_response
|
@@ -1421,13 +1339,9 @@ class BlobContainersOperations:
|
|
1421
1339
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1422
1340
|
|
1423
1341
|
if cls:
|
1424
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1342
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1425
1343
|
|
1426
|
-
return deserialized
|
1427
|
-
|
1428
|
-
lock_immutability_policy.metadata = {
|
1429
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
|
1430
|
-
}
|
1344
|
+
return deserialized # type: ignore
|
1431
1345
|
|
1432
1346
|
@overload
|
1433
1347
|
async def extend_immutability_policy(
|
@@ -1467,7 +1381,6 @@ class BlobContainersOperations:
|
|
1467
1381
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1468
1382
|
Default value is "application/json".
|
1469
1383
|
:paramtype content_type: str
|
1470
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1471
1384
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1472
1385
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy
|
1473
1386
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1480,7 +1393,7 @@ class BlobContainersOperations:
|
|
1480
1393
|
account_name: str,
|
1481
1394
|
container_name: str,
|
1482
1395
|
if_match: str,
|
1483
|
-
parameters: Optional[IO] = None,
|
1396
|
+
parameters: Optional[IO[bytes]] = None,
|
1484
1397
|
*,
|
1485
1398
|
content_type: str = "application/json",
|
1486
1399
|
**kwargs: Any
|
@@ -1507,11 +1420,10 @@ class BlobContainersOperations:
|
|
1507
1420
|
:type if_match: str
|
1508
1421
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1509
1422
|
container. Default value is None.
|
1510
|
-
:type parameters: IO
|
1423
|
+
:type parameters: IO[bytes]
|
1511
1424
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1512
1425
|
Default value is "application/json".
|
1513
1426
|
:paramtype content_type: str
|
1514
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1515
1427
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1516
1428
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy
|
1517
1429
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1524,7 +1436,7 @@ class BlobContainersOperations:
|
|
1524
1436
|
account_name: str,
|
1525
1437
|
container_name: str,
|
1526
1438
|
if_match: str,
|
1527
|
-
parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
|
1439
|
+
parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
|
1528
1440
|
**kwargs: Any
|
1529
1441
|
) -> _models.ImmutabilityPolicy:
|
1530
1442
|
"""Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
|
@@ -1548,17 +1460,13 @@ class BlobContainersOperations:
|
|
1548
1460
|
omitted, this operation will always be applied. Required.
|
1549
1461
|
:type if_match: str
|
1550
1462
|
:param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
|
1551
|
-
container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
|
1552
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy or IO
|
1553
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1554
|
-
Default value is None.
|
1555
|
-
:paramtype content_type: str
|
1556
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1463
|
+
container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
|
1464
|
+
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy or IO[bytes]
|
1557
1465
|
:return: ImmutabilityPolicy or the result of cls(response)
|
1558
1466
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.ImmutabilityPolicy
|
1559
1467
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1560
1468
|
"""
|
1561
|
-
error_map = {
|
1469
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1562
1470
|
401: ClientAuthenticationError,
|
1563
1471
|
404: ResourceNotFoundError,
|
1564
1472
|
409: ResourceExistsError,
|
@@ -1584,7 +1492,7 @@ class BlobContainersOperations:
|
|
1584
1492
|
else:
|
1585
1493
|
_json = None
|
1586
1494
|
|
1587
|
-
|
1495
|
+
_request = build_extend_immutability_policy_request(
|
1588
1496
|
resource_group_name=resource_group_name,
|
1589
1497
|
account_name=account_name,
|
1590
1498
|
container_name=container_name,
|
@@ -1594,16 +1502,15 @@ class BlobContainersOperations:
|
|
1594
1502
|
content_type=content_type,
|
1595
1503
|
json=_json,
|
1596
1504
|
content=_content,
|
1597
|
-
template_url=self.extend_immutability_policy.metadata["url"],
|
1598
1505
|
headers=_headers,
|
1599
1506
|
params=_params,
|
1600
1507
|
)
|
1601
|
-
|
1602
|
-
|
1508
|
+
_request = _convert_request(_request)
|
1509
|
+
_request.url = self._client.format_url(_request.url)
|
1603
1510
|
|
1604
1511
|
_stream = False
|
1605
1512
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1606
|
-
|
1513
|
+
_request, stream=_stream, **kwargs
|
1607
1514
|
)
|
1608
1515
|
|
1609
1516
|
response = pipeline_response.http_response
|
@@ -1618,13 +1525,9 @@ class BlobContainersOperations:
|
|
1618
1525
|
deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
|
1619
1526
|
|
1620
1527
|
if cls:
|
1621
|
-
return cls(pipeline_response, deserialized, response_headers)
|
1622
|
-
|
1623
|
-
return deserialized
|
1528
|
+
return cls(pipeline_response, deserialized, response_headers) # type: ignore
|
1624
1529
|
|
1625
|
-
|
1626
|
-
"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
|
1627
|
-
}
|
1530
|
+
return deserialized # type: ignore
|
1628
1531
|
|
1629
1532
|
@overload
|
1630
1533
|
async def lease(
|
@@ -1657,7 +1560,6 @@ class BlobContainersOperations:
|
|
1657
1560
|
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
|
1658
1561
|
Default value is "application/json".
|
1659
1562
|
:paramtype content_type: str
|
1660
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1661
1563
|
:return: LeaseContainerResponse or the result of cls(response)
|
1662
1564
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.LeaseContainerResponse
|
1663
1565
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1669,7 +1571,7 @@ class BlobContainersOperations:
|
|
1669
1571
|
resource_group_name: str,
|
1670
1572
|
account_name: str,
|
1671
1573
|
container_name: str,
|
1672
|
-
parameters: Optional[IO] = None,
|
1574
|
+
parameters: Optional[IO[bytes]] = None,
|
1673
1575
|
*,
|
1674
1576
|
content_type: str = "application/json",
|
1675
1577
|
**kwargs: Any
|
@@ -1690,11 +1592,10 @@ class BlobContainersOperations:
|
|
1690
1592
|
by a letter or number. Required.
|
1691
1593
|
:type container_name: str
|
1692
1594
|
:param parameters: Lease Container request body. Default value is None.
|
1693
|
-
:type parameters: IO
|
1595
|
+
:type parameters: IO[bytes]
|
1694
1596
|
:keyword content_type: Body Parameter content-type. Content type parameter for binary body.
|
1695
1597
|
Default value is "application/json".
|
1696
1598
|
:paramtype content_type: str
|
1697
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1698
1599
|
:return: LeaseContainerResponse or the result of cls(response)
|
1699
1600
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.LeaseContainerResponse
|
1700
1601
|
:raises ~azure.core.exceptions.HttpResponseError:
|
@@ -1706,7 +1607,7 @@ class BlobContainersOperations:
|
|
1706
1607
|
resource_group_name: str,
|
1707
1608
|
account_name: str,
|
1708
1609
|
container_name: str,
|
1709
|
-
parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
|
1610
|
+
parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
|
1710
1611
|
**kwargs: Any
|
1711
1612
|
) -> _models.LeaseContainerResponse:
|
1712
1613
|
"""The Lease Container operation establishes and manages a lock on a container for delete
|
@@ -1724,18 +1625,14 @@ class BlobContainersOperations:
|
|
1724
1625
|
letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
|
1725
1626
|
by a letter or number. Required.
|
1726
1627
|
:type container_name: str
|
1727
|
-
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1728
|
-
type. Default value is None.
|
1729
|
-
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.LeaseContainerRequest or IO
|
1730
|
-
:keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
|
1731
|
-
Default value is None.
|
1732
|
-
:paramtype content_type: str
|
1733
|
-
:keyword callable cls: A custom type or function that will be passed the direct response
|
1628
|
+
:param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
|
1629
|
+
IO[bytes] type. Default value is None.
|
1630
|
+
:type parameters: ~azure.mgmt.storage.v2018_07_01.models.LeaseContainerRequest or IO[bytes]
|
1734
1631
|
:return: LeaseContainerResponse or the result of cls(response)
|
1735
1632
|
:rtype: ~azure.mgmt.storage.v2018_07_01.models.LeaseContainerResponse
|
1736
1633
|
:raises ~azure.core.exceptions.HttpResponseError:
|
1737
1634
|
"""
|
1738
|
-
error_map = {
|
1635
|
+
error_map: MutableMapping[int, Type[HttpResponseError]] = {
|
1739
1636
|
401: ClientAuthenticationError,
|
1740
1637
|
404: ResourceNotFoundError,
|
1741
1638
|
409: ResourceExistsError,
|
@@ -1761,7 +1658,7 @@ class BlobContainersOperations:
|
|
1761
1658
|
else:
|
1762
1659
|
_json = None
|
1763
1660
|
|
1764
|
-
|
1661
|
+
_request = build_lease_request(
|
1765
1662
|
resource_group_name=resource_group_name,
|
1766
1663
|
account_name=account_name,
|
1767
1664
|
container_name=container_name,
|
@@ -1770,16 +1667,15 @@ class BlobContainersOperations:
|
|
1770
1667
|
content_type=content_type,
|
1771
1668
|
json=_json,
|
1772
1669
|
content=_content,
|
1773
|
-
template_url=self.lease.metadata["url"],
|
1774
1670
|
headers=_headers,
|
1775
1671
|
params=_params,
|
1776
1672
|
)
|
1777
|
-
|
1778
|
-
|
1673
|
+
_request = _convert_request(_request)
|
1674
|
+
_request.url = self._client.format_url(_request.url)
|
1779
1675
|
|
1780
1676
|
_stream = False
|
1781
1677
|
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
|
1782
|
-
|
1678
|
+
_request, stream=_stream, **kwargs
|
1783
1679
|
)
|
1784
1680
|
|
1785
1681
|
response = pipeline_response.http_response
|
@@ -1791,10 +1687,6 @@ class BlobContainersOperations:
|
|
1791
1687
|
deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
|
1792
1688
|
|
1793
1689
|
if cls:
|
1794
|
-
return cls(pipeline_response, deserialized, {})
|
1795
|
-
|
1796
|
-
return deserialized
|
1690
|
+
return cls(pipeline_response, deserialized, {}) # type: ignore
|
1797
1691
|
|
1798
|
-
|
1799
|
-
"url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
|
1800
|
-
}
|
1692
|
+
return deserialized # type: ignore
|